Hostname: page-component-74656f9884-6grmk Total loading time: 0 Render date: 2026-11-06T00:30:43.441Z Has data issue: false hasContentIssue false

A dynamic adaptive grating algorithm for AIS-based ship trajectory compression

Published online by Cambridge University Press:  18 October 2021

Yuanyuan Ji
Affiliation:
School of Geographical Sciences and Urban Planning, Arizona State University, Tempe, AZ 85281, USA.
Le Qi*
Affiliation:
School of Navigation, Wuhan University of Technology, Wuhan 430063, China. Hubei Key Laboratory of Inland Shipping Technology, Wuhan 430063, China
Robert Balling
Affiliation:
School of Geographical Sciences and Urban Planning, Arizona State University, Tempe, AZ 85281, USA.
*
*Corresponding author. E-mail: leqiem@hotmail.com
Rights & Permissions [Opens in a new window]

Abstract

Automatic identification system (AIS)-based ship trajectory data are important for analysing maritime activities. As the data accumulate over time, trajectory compression is needed to alleviate the pressure of data storage, migration and usage. The grating algorithm, as a vector data compression algorithm with high compression performance and low computation complexity, has been considered as a very promising approach for ship trajectory compression. This algorithm needs the threshold to be set for each trajectory which limits the applicability over a large number of different trajectories. To solve this problem, a dynamic adaptive threshold grating compression algorithm is developed. In this algorithm, the threshold for each trajectory is dynamically generated using an effective approaching strategy. The developed algorithm is tested with a complex trajectory dataset from the Qiongzhou Strait, China. In comparison with the traditional grating method, our algorithm has improved advantages in the ease of use, the applicability to different trajectories and compression performance, all of which can better support relevant applications, such as ship trajectory data storage and rapid cartographic display.

Information

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

Figure 1. Schematic diagram of the grating algorithm principle: (a) the trajectory; (b) compress $P_1$, $P_2$, $P_3$; (c) compress $P_1$, $P_3$, $P_4$; (d) compress $P_1$, $P_4$, $P_5$; (e) compress $P_4$, $P_5$, $P_6$; (f) compression result

Figure 1

Figure 2. Schematic diagram of the sector pattern

Figure 2

Figure 3. Schematic diagram of threshold approximation

Figure 3

Figure 4. The uncompressed ships’ trajectories points in the Qiongzhou Strait

Figure 4

Figure 5. The uncompressed trajectories of ships in the Qiongzhou Strait

Figure 5

Figure 6. The compression results: (a) traditional grating compression; (b) DAG compression

Figure 6

Figure 7. The compression results: (a) curve trajectories compressed by the traditional compression algorithm; (b) straight trajectories compressed by the traditional compression algorithm; (c) curve trajectories compressed by the DAG algorithm; (d) straight trajectories compressed by DAG algorithm

Figure 7

Figure 8. Compression ratio–error curves: (a) average error; (b) maximum error

Figure 8

Figure 9. The distribution of adaptive thresholds: (a) overall compression ratio = 10; (b) overall compression ratio = 20; (c) overall compression ratio = 40

Figure 9

Figure 10. Compression errors graphs: (a) overall compression ratio = 10; (b) overall compression ratio = 20; (c) overall compression ratio = 40

Figure 10

Figure 11. ‘Compression ratio–error’ scatter diagrams: (a) overall compression ratio = 10; (b) overall compression ratio = 20; (c) overall compression ratio = 40