Algorithms for Gradual Polyline Simplification

Authors Nick Krumbholz, Stefan Funke, Peter Schäfer, Sabine Storandt



PDF
Thumbnail PDF

File

LIPIcs.SEA.2024.19.pdf
  • Filesize: 5.31 MB
  • 18 pages

Document Identifiers

Author Details

Nick Krumbholz
  • University of Konstanz, Germany
Stefan Funke
  • University of Stuttgart, Germany
Peter Schäfer
  • University of Konstanz, Germany
Sabine Storandt
  • University of Konstanz, Germany

Cite AsGet BibTex

Nick Krumbholz, Stefan Funke, Peter Schäfer, and Sabine Storandt. Algorithms for Gradual Polyline Simplification. In 22nd International Symposium on Experimental Algorithms (SEA 2024). Leibniz International Proceedings in Informatics (LIPIcs), Volume 301, pp. 19:1-19:18, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2024)
https://doi.org/10.4230/LIPIcs.SEA.2024.19

Abstract

Displaying line data is important in many visualization applications, and especially in the context of interactive geographical and cartographic visualization. When rendering linear features as roads, rivers or movement data on zoomable maps, the challenge is to display the data in an appropriate level of detail. A too detailed representation results in slow rendering and cluttered maps, while a too coarse representation might miss important data aspects. In this paper, we propose the gradual line simplification (GLS) problem, which aims to compute a fine-grained succession of consistent simplifications of a given input polyline with certain quality guarantees. The core concept of gradual simplification is to iteratively remove points from the polyline to obtain increasingly coarser representations. We devise two objective functions to guide this simplification process and present dynamic programs that compute the optimal solutions in 𝒪(n³) for an input line with n points. For practical application to large inputs, we also devise significantly faster greedy algorithms that provide constant factor guarantees for both problem variants at once. In an extensive experimental study on real-world data, we demonstrate that our algorithms are capable of producing simplification sequences of high quality within milliseconds on polylines consisting of over half a million points.

Subject Classification

ACM Subject Classification
  • Theory of computation → Computational geometry
  • Theory of computation → Design and analysis of algorithms
Keywords
  • Polyline simplification
  • Progressive simplification
  • Fréchet distance

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Pankaj K Agarwal, Sariel Har-Peled, Nabil H Mustafa, and Yusu Wang. Near-linear time approximation algorithms for curve simplification. Algorithmica, 42(3), 2005. Google Scholar
  2. Helmut Alt and Michael Godau. Computing the fréchet distance between two polygonal curves. International Journal of Computational Geometry & Applications, 1995. Google Scholar
  3. Lukas Baur, Stefan Funke, Tobias Rupp, and Sabine Storandt. Gradual road network simplification with shape and topology preservation. In Proceedings of the 30th International Conference on Advances in Geographic Information Systems, pages 1-4, 2022. Google Scholar
  4. Pia Bereuter and Robert Weibel. Algorithms for on-the-fly generalization of point data using quadtrees, 2012. Google Scholar
  5. Kevin Buchin, Maximilian Konzack, and Wim Reddingius. Progressive simplification of polygonal curves. Computational Geometry, 2020. Google Scholar
  6. Maike Buchin, Ivor van der Hoog, Tim Ophelders, Lena Schlipf, Rodrigo I. Silveira, and Frank Staals. Efficient Fréchet Distance Queries for Segments. In 30th Annual European Symposium on Algorithms (ESA 2022), 2022. URL: https://doi.org/10.4230/LIPIcs.ESA.2022.29.
  7. Hu Cao, Ouri Wolfson, and Goce Trajcevski. Spatio-temporal data reduction with deterministic error bounds. In Proceedings of the 2003 joint workshop on Foundations of mobile computing, pages 33-42, 2003. Google Scholar
  8. Wing Shiu Chan and Francis Chin. Approximation of polygonal curves with minimum number of line segments or minimum error. International Journal of Computational Geometry & Applications, 1996. Google Scholar
  9. David H Douglas and Thomas K Peucker. Algorithms for the reduction of the number of points required to represent a digitized line or its caricature. Cartographica: the international journal for geographic information and geovisualization, 10(2):112-122, 1973. Google Scholar
  10. Peter F Fisher, Sheng Zhou, and Christopher B Jones. Shape-aware line generalisation with weighted effective area. In Developments in Spatial Data Handling: 11 th International Symposium on Spatial Data Handling, pages 369-380. Springer, 2005. Google Scholar
  11. Stefan Funke, Thomas Mendel, Alexander Miller, Sabine Storandt, and Maria Wiebe. Map simplification with topology constraints: Exactly and in practice. In 2017 Proceedings of the Ninteenth Workshop on Algorithm Engineering and Experiments (ALENEX), pages 185-196. SIAM, 2017. Google Scholar
  12. Harold N Gabow, Jon Louis Bentley, and Robert E Tarjan. Scaling and related techniques for geometry problems. In Proceedings of the sixteenth annual ACM symposium on Theory of computing, pages 135-143, 1984. Google Scholar
  13. John Hershberger and Jack Snoeyink. An o (n log n) implementation of the douglas-peucker algorithm for line simplification. In Proceedings of the tenth annual symposium on Computational geometry, pages 383-384, 1994. Google Scholar
  14. Georgios Kellaris, Nikos Pelekis, and Yannis Theodoridis. Map-matched trajectory compression. Journal of Systems and Software, 86(6):1566-1579, 2013. Google Scholar
  15. Hengfeng Li, Lars Kulik, and Kotagiri Ramamohanarao. Spatio-temporal trajectory simplification for inferring travel paths. In Proceedings of the 22nd ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems, pages 63-72, 2014. Google Scholar
  16. Kunhui Lin, Zhentuan Xu, Ming Qiu, Xiaoli Wang, and Tianxiong Han. Noise filtering, trajectory compression and trajectory segmentation on gps data. In 2016 11th International Conference on Computer Science & Education (ICCSE), pages 490-495. IEEE, 2016. Google Scholar
  17. Xuelian Lin, Shuai Ma, Jiahao Jiang, Yanchen Hou, and Tianyu Wo. Error bounded line simplification algorithms for trajectory compression: An experimental evaluation. ACM Transactions on Database Systems (TODS), 46(3):1-44, 2021. Google Scholar
  18. Tyler Morgan-Wall. rayshader: Create Maps and Visualize Data in 2D and 3D, 2023. https://www.rayshader.com, https://github.com/tylermorganwall/rayshader. Google Scholar
  19. Nabil Mustafa, Shankar Krishnan, Gokul Varadhan, and Suresh Venkatasubramanian. Dynamic simplification and visualization of large maps. International Journal of Geographical Information Science, 20(3):273-302, 2006. Google Scholar
  20. Martin Nöllenburg, Damian Merrick, Alexander Wolff, and Marc Benkert. Morphing polylines: A step towards continuous generalization. Computers, Environment and Urban Systems, 32(4):248-260, 2008. Google Scholar
  21. Guo Qingsheng, Christoph Brandenberger, and Lorenz Hurni. A progressive line simplification algorithm. Geo-spatial Information Science, 5(3):41-45, 2002. Google Scholar
  22. Sabine Storandt and Johannes Zink. Optimal polyline simplification under the local fréchet distance in near-quadratic time. In 35th Canadian Conference on Computational Geometry, 2023. Google Scholar
  23. Marc Van Kreveld. Smooth generalization for continuous zooming. In Proc. 20th Intl. Geographic Conference, pages 2180-2185, 2001. Google Scholar
  24. Mahes Visvalingam and J. Duncan Whyatt. Line generalisation by repeated elimination of points. Cartographic Journal, 30:46-51, 1993. URL: https://doi.org/10.1179/000870493786962263.
  25. Katerina Vrotsou, Halldor Janetzko, Carlo Navarra, Georg Fuchs, David Spretke, Florian Mansmann, Natalia Andrienko, and Gennady Andrienko. Simplifly: A methodology for simplification and thematic enhancement of trajectories. IEEE Transactions on Visualization and Computer Graphics, 21(1):107-121, 2014. Google Scholar
  26. Zeshen Wang and Jean-Claude Müller. Line generalization based on analysis of shape characteristics. Cartography and Geographic Information Systems, 25(1):3-15, 1998. Google Scholar