DOTSSA: Directed Acyclic Graph-Based Online Trajectory Simplification with Stay Areas
Abstract
1. Introduction
- We propose DOTSSA, a semantics-aware online trajectory simplification framework that integrates online stay area detection with DOTS and reliably preserves stay areas by applying DOTS to the sub-trajectories segmented at detected stay regions.
- We conduct experiments on a large-scale real-world dataset, demonstrating that DOTSSA substantially reduces compression time compared with DOTS while achieving competitive compression ratios and error metrics against multiple baselines.
2. Definitions
2.1. Trajectory
2.2. Error-Based Quality Metrics
2.2.1. Perpendicular Distance Error (PED)
2.2.2. Synchronized Euclidean Distance (SED)
2.2.3. Direction-Aware Distance (DAD)
2.2.4. Speed-Aware Distance (SAD)
2.2.5. Integral Squared Synchronized Euclidean Distance (ISSED)
3. Proposed Method
3.1. SA
| Algorithm 1 SA ( denotes the Euclidean distance). |
|
3.2. DOTS
| Algorithm 2 DOTS. |
|
3.3. DOTSSA
| Algorithm 3 DOTSSA. |
|
3.4. Time Complexity
4. Evaluation
- An evaluation under fixed error thresholds , focusing on a comparison with DOTS.
- A comparison under controlled compression rates, in which the parameters of each method were tuned to achieve predefined rates and compared with multiple baseline methods.
4.1. Evaluation Conditions
4.2. Comparison Result Under Fixed
4.2.1. Compression Time
4.2.2. Compression Rate
4.2.3. Error Metrics
4.3. Comparison Under Fixed Compression Rates
4.3.1. Compression Rate
4.3.2. Error Metrics
5. Conclusions
Funding
Data Availability Statement
Conflicts of Interest
References
- Meratnia, N.; de By, R.A. Spatiotemporal Compression Techniques for Moving Point Objects. In Proceedings of the Advances in Database Technology, Heraklion, Greece, 14–18 March 2004; Springer: Berlin/Heidelberg, Germany, 2004; pp. 765–782. [Google Scholar]
- U.S. Department of Transportation. Highway Statistics Series. 2014. Available online: https://www.fhwa.dot.gov/policyinformation/statistics/2011/vm2.cfm (accessed on 19 January 2026).
- Han, Y.; Sun, W.; Zheng, B. COMPRESS: A Comprehensive Framework of Trajectory Compression in Road Networks. ACM Trans. Database Syst. 2017, 42, 11. [Google Scholar] [CrossRef]
- Hu, Z.; Huang, Z.; Yang, J.; Yang, T.; Jin, Y.; Xu, Y. TrajGEOS: Trajectory Graph Enhanced Orientation-based Sequential Network for Mobility Prediction. arXiv 2024, arXiv:2412.19092. [Google Scholar] [CrossRef]
- Deng, B.; Ji, L.; Chen, C.; Jing, X.; Ding, L.; Qu, B.; Wang, P.; Yang, D. STRelay: A Universal Spatio-Temporal Relaying Framework for Location Prediction with Future Spatiotemporal Contexts. arXiv 2025, arXiv:2508.16620. [Google Scholar]
- Wu, X.; Zhang, Z.; Wan, W. Travel route recommendation with a trajectory learning model. Complex Intell. Syst. 2024, 11, 12. [Google Scholar] [CrossRef]
- Jain, J.; Bagadia, V.; Manchanda, S.; Ranu, S. NeuroMLR: Robust & Reliable Route Recommendation on Road Networks. In Proceedings of the Advances in Neural Information Processing Systems, Virtual, 6–14 December 2021; Ranzato, M., Beygelzimer, A., Dauphin, Y., Liang, P., Vaughan, J.W., Eds.; Curran Associates, Inc.: Red Hook, NY, USA, 2021; Volume 34, pp. 22070–22082. [Google Scholar]
- Koh, Z.; Zhou, Y.; Lau, B.P.L.; Liu, R.; Chong, K.H.; Yuen, C. Clustering and Analysis of GPS Trajectory Data Using Distance-Based Features. IEEE Access 2022, 10, 125387–125399. [Google Scholar] [CrossRef]
- Guo, Y.; Yeung, C.Y.; Chan, G.C.H.; Chang, Q.; Tsang, H.W.H.; Yip, P.S.F. Mobility Based on GPS Trajectory Data and Interviews: A Pilot Study to Understand the Differences between Lower- and Higher-Income Older Adults in Hong Kong. Int. J. Environ. Res. Public Health 2022, 19, 5536. [Google Scholar] [CrossRef] [PubMed]
- Douglas, D.H.; Peucker, T.K. Algorithms for the reduction of the number of points required to represent a digitized line or its caricature. Cartogr. Int. J. Geogr. Inf. Geovisualization 1973, 10, 112–122. [Google Scholar] [CrossRef]
- Chen, M.; Xu, M.; Franti, P. A Fast O(N) Multiresolution Polygonal Approximation Algorithm for GPS Trajectory Simplification. IEEE Trans. Image Process. 2012, 21, 2770–2785. [Google Scholar] [CrossRef] [PubMed]
- Keogh, E.J.; Chu, S.; Hart, D.; Pazzani, M.J. An Online Algorithm for Segmenting Time Series. In Proceedings of the 2001 IEEE International Conference on Data Mining, San Jose, CA, USA, 29 November–2 December 2001; IEEE Computer Society: Washington, DC, USA, 2001; pp. 289–296. [Google Scholar]
- Trajcevski, G.; Cao, H.; Scheuermanny, P.; Wolfsonz, O.; Vaccaro, D. On-line data reduction and the quality of history in moving objects databases. In Proceedings of the 5th ACM International Workshop on Data Engineering for Wireless and Mobile Access, Chicago, IL, USA, 25 June 2006; Association for Computing Machinery: New York, NY, USA, 2006; pp. 19–26. [Google Scholar] [CrossRef]
- Muckell, J.; Hwang, J.H.; Patil, V.; Lawson, C.T.; Ping, F.; Ravi, S.S. SQUISH: An Online Approach for GPS Trajectory Compression. In Proceedings of the 2nd International Conference on Computing for Geospatial Research & Applications, Washington, DC, USA, 23–25 May 2011; Association for Computing Machinery: New York, NY, USA, 2011. [Google Scholar] [CrossRef]
- Muckell, J.; Olsen, P.W.; Hwang, J.H.; Lawson, C.T.; Ravi, S.S. Compression of trajectory data: A comprehensive evaluation and new approach. GeoInformatica 2014, 18, 435–460. [Google Scholar] [CrossRef]
- Cao, W.; Li, Y. DOTS: An online and near-optimal trajectory simplification algorithm. J. Syst. Softw. 2017, 126, 34–44. [Google Scholar] [CrossRef]
- Yu, Q.; Luo, Y.; Chen, C.; Zheng, X. Road Congestion Detection Based on Trajectory Stay-Place Clustering. ISPRS Int. J.-Geo-Inf. 2019, 8, 264. [Google Scholar] [CrossRef]
- Rouky, N.; Bousouf, A.; Benmoussa, O.; Fri, M. A spatiotemporal analysis of traffic congestion patterns using clustering algorithms: A case study of Casablanca. Decis. Anal. J. 2024, 10, 100404. [Google Scholar] [CrossRef]
- Liu, Y.; Kuai, C.; Liao, X.; Ma, H.; He, B.Y.; Ma, J. Semantic Trajectory Data Mining with LLM-Informed POI Classification. In Proceedings of the 2024 IEEE 27th International Conference on Intelligent Transportation Systems (ITSC), Edmonton, AB, Canada, 24–27 September 2024; pp. 207–213. [Google Scholar] [CrossRef]
- Ma, H.; Liao, X.; Liu, Y.; Jiang, Q.; Stanford, C.; Cao, S.; Ma, J. Learning universal human mobility patterns with a foundation model for cross-domain data fusion. Transp. Res. Part C Emerg. Technol. 2025, 180, 105311. [Google Scholar] [CrossRef]
- Iiyama, S.; Oda, T.; Hirota, M. SESA: Fast Trajectory Compression Method Using Sub-trajectories Segmented by Stay Areas. In Proceedings of the Advanced Data Mining and Applications, Brisbane, QLD, Australia, 28–30 November 2022; pp. 187–198. [Google Scholar]
- Zhang, D.; Ding, M.; Yang, D.; Liu, Y.; Fan, J.; Shen, H.T. Trajectory simplification: An experimental study and quality analysis. Proc. VLDB Endow. 2018, 11, 934–946. [Google Scholar] [CrossRef]
- Zheng, Y.; Li, Q.; Chen, Y.; Xie, X.; Ma, W.Y. Understanding mobility based on GPS data. In Proceedings of the 10th International Conference on Ubiquitous Computing, Seoul, Republic of Korea, 21–24 September 2008; Association for Computing Machinery: New York, NY, USA, 2008; pp. 312–321. [Google Scholar] [CrossRef]
- Zheng, Y.; Xie, X.; Ma, W. GeoLife: A Collaborative Social Networking Service among User, Location and Trajectory. IEEE Data Eng. Bull. 2010, 33, 32–39. [Google Scholar]
- Zheng, Y.; Zhang, L.; Xie, X.; Ma, W.Y. Mining interesting locations and travel sequences from GPS trajectories. In Proceedings of the 18th International Conference on World Wide Web, Madrid, Spain, 20–24 April 2009; Association for Computing Machinery: New York, NY, USA, 2009; pp. 791–800. [Google Scholar] [CrossRef]









| Method | Time [s] | PED [m] | SED [m] | SAD [km/h] | DAD [deg] | |
|---|---|---|---|---|---|---|
| DOTS | 0.010 | 3.224 | 5.963 | 2.875 | 0.132 | |
| DOTSSA | 0.007 | 3.184 | 5.986 | 2.835 | 0.139 | |
| DOTS | 0.015 | 6.862 | 13.118 | 4.259 | 0.159 | |
| DOTSSA | 0.008 | 6.794 | 13.164 | 4.186 | 0.167 | |
| DOTS | 0.021 | 14.395 | 28.780 | 5.924 | 0.194 | |
| DOTSSA | 0.009 | 14.257 | 28.856 | 5.764 | 0.205 | |
| DOTS | 0.023 | 31.978 | 66.045 | 7.683 | 0.245 | |
| DOTSSA | 0.006 | 30.547 | 62.678 | 7.286 | 0.257 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Hirota, M. DOTSSA: Directed Acyclic Graph-Based Online Trajectory Simplification with Stay Areas. Network 2026, 6, 8. https://doi.org/10.3390/network6010008
Hirota M. DOTSSA: Directed Acyclic Graph-Based Online Trajectory Simplification with Stay Areas. Network. 2026; 6(1):8. https://doi.org/10.3390/network6010008
Chicago/Turabian StyleHirota, Masaharu. 2026. "DOTSSA: Directed Acyclic Graph-Based Online Trajectory Simplification with Stay Areas" Network 6, no. 1: 8. https://doi.org/10.3390/network6010008
APA StyleHirota, M. (2026). DOTSSA: Directed Acyclic Graph-Based Online Trajectory Simplification with Stay Areas. Network, 6(1), 8. https://doi.org/10.3390/network6010008

