Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-06T23:22:09.378Z Has data issue: false hasContentIssue false

Research on ship trajectory compression based on a Dynamic Programming algorithm

Published online by Cambridge University Press:  13 January 2025

Yinjie Hu
Affiliation:
State Key Laboratory of Maritime Technology and Safety, Wuhan 430063, China School of Navigation, Wuhan University of Technology, Wuhan 430063, China
Le Qi*
Affiliation:
State Key Laboratory of Maritime Technology and Safety, Wuhan 430063, China School of Navigation, Wuhan University of Technology, Wuhan 430063, China
Yuanyuan Ji
Affiliation:
School of Geographical Sciences and Urban Planning, Arizona State University, Tempe 85287, USA Environmental Systems Research Institute, Redlands 92373, USA
Robert Balling
Affiliation:
School of Geographical Sciences and Urban Planning, Arizona State University, Tempe 85287, USA
Dexiang Shen
Affiliation:
State Key Laboratory of Maritime Technology and Safety, Wuhan 430063, China School of Navigation, Wuhan University of Technology, Wuhan 430063, China
*
*Corresponding author: Le Qi; Email: leqiem@hotmail.com
Rights & Permissions [Opens in a new window]

Abstract

The Automatic Identification System (AIS) is extensively used in monitoring vessel traffic, and ship navigation related information can be obtained from the AIS data. However, AIS data contain extensive redundant information, which leads to the general need to compress the data when applying it in practice or conducting research. In this paper, a three-dimensional compression of ship trajectories using the Dynamic Programming algorithm has been proposed. The AIS data near the ports of Long Beach and San Francisco in the United States were used to test and compare the Dynamic Programming algorithm with the Top-down Time-ratio algorithms. The experimental results show that the proposed algorithm can better retain the position and time information at low compression ratio such as 1%, 20% and 40%. Moreover, the algorithm is applicable to ship trajectories with different motion modes such as steering, mooring and straight ahead. The results show that the proposed algorithm can reasonably solve the problem of AIS data redundancy and ensure the quality of data, which is of practical significance for water transport, transport planning and other related research.

Information

Type
Research Article
Copyright
Copyright © The Author(s), 2025. Published by Cambridge University Press on behalf of The Royal Institute of Navigation
Figure 0

Figure 1. Vertical synchronisation distance

Figure 1

Figure 2. State space $\omega$ with the introduction of boundary conditions

Figure 2

Figure 3. Optimal path to reach the goal state in the state space $\omega$

Figure 3

Algorithm 1: Trajectory compression based on Dynamic Programming algorithm.

Figure 4

Figure 4. Original trajectories points graph of ships in the ports of Long Beach and San Francisco

Figure 5

Figure 5. Original trajectories lines graph of ships in the ports of Long Beach and San Francisco

Figure 6

Figure 6. Compression results: (a) Dynamic Programming compression; (b) TD-TR compression; (c) Douglas–Peucker compression; (d) Sliding Window compression

Figure 7

Figure 7. Results of single-ship trajectory compression: (a) 3D graph of the original trajectory; (b) single-ship trajectory graph after compression by Dynamic Programming algorithm; (c) single-ship trajectory graph after compression by TD-TR algorithm; (d) single-ship trajectory graph after compression by Douglas–Peucker algorithm; (e) single-ship trajectory graph after compression by Sliding Window algorithm

Figure 8

Figure 8. Compression error graphs: (a) 40% overall compression; (b) 20% overall compression; (c) 10% overall compression

Figure 9

Figure 9. Vertical synchronisation distance comparison graphs: (a) 40% overall compression; (b) 20% overall compression; (c) 10% overall compression

Figure 10

Table 1. Evaluation of the average error for different compression ratios

Figure 11

Table 2. Evaluation of temporal information retention for different compression ratios

Figure 12

Figure 10. Average compression error graph

Figure 13

Figure 11. Average vertical synchronisation distance graph