Accurate Algorithms for Spatial Operations on the Spheroid in a Spatial Database Management System
Source abstract
Abstract
Some of the most powerful spatial analysis software solutions (Oracle, Google Earth Engine, PostgreSQL + PostGIS, etc.) are currently performing geometric calculations directly on the ellipsoid (a quadratic surface that models the earth shape), with a double purpose: to attain a high degree of accuracy and to allow the full management of large areas of territory (countries or even continents). It is well known that both objectives are impossible to achieve by means of the traditional approach using local mathematical projections and Cartesian coordinates. This paper demonstrates in a quantitative methodological way that most of the spatial analysis software products make important deviations in calculations regarding to geodesics, being the users unaware of the magnitude of these inaccuracies, which can easily reach meters depending on the distance. This is due to the use of ellipsoid calculations in an approximate way (e.g., using a sphere instead of an ellipsoid). This paper presents the implementation of two algorithms that solve with high accuracy (less than 100 nm) and efficiently (few iterations) two basic geometric calculations on the ellipsoid that are essential to build more complex spatial operators: the intersection of two geodesics and the minimum distance from a point to a geodesic.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Historical Geography and Cartography · 3D Modeling in Geospatial Applications · Geographic Information Systems Studies
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Instituto ITACA, Universitat Politècnica de València, Camino de Vera s/n, 46022 València, Spain
Cartographic Engineering, Geodesy and Photogrammetry Department, Universitat Politècnica de València, Camino de Vera s/n, 46022 València, Spain
References (36)
Show source-provided references
1. The 2012 free and open source GIS software map-A guide to facilitate research, development, and adoption10.1016/j.compenvurbsys.2012.10.003 ↗
2. Meyer, T.H. (2010). Introduction to Geometrical and Physical Geodesy: Foundations of Geomatics, ESRI Press.
3. Torge, W. (2001). Geodesy, Walter de Gruyter.10.1515/9783110879957 ↗
4. (1983). DMA Geodesy for the Layman, Defense Mapping Agency.
5. (2000). NIMA Department of Defense World Geodetic System 1984, National Imagery and Mapping Agency. National Imagery and Mapping Agency Technical Report TR 8350.2, 3. ed.
6. Petit, G., and Luzum, B. (2010). IERS Conventions (2010). IERS Technical Note 36, Verlag des Bundesamts für Kartographie und Geodäsie.
7. ITRF2014: A new release of the International Terrestrial Reference Frame modeling non-linear station motions10.1002/2016JB013098 ↗
8. ISO (2020). Geographic Information-Geodetic References-Part 1: International Terrestrial Reference System (ITRS), ISO. 19161-1.
9. Burch, T. (2021, May 27). Data Collection of WGS 84 Information–Or Is It? GPS World. Available online: https://www.gpsworld.com/data-collection-of-wgs-84-information-or-is-it/.
10. Malys, S., Wong, R., and True, S. (2016, January 6–11). The WGS 84 Terrestrial Reference Frame in 2016. Proceedings of the Eleventh Meeting of the International Committee on GNSS, ICG-11, UNOOSA, Sochi, Russia.
11. Quality Positioning Services, B.V. (2021, May 27). International Terrestrial Reference Frame 2014 (ITRF2014). Available online: https://confluence.qps.nl/qinsy/latest/en/international-terrestrial-reference-frame-2014-itrf2014-182618383.html.
12. Lapaine, M., and Usery, E. (2017). A Guide to Selecting Map Projections for World and Hemisphere Maps. Choosing a Map Projection. Lecture Notes in Geoinformation and Cartography, Springer.10.1007/978-3-319-51835-0 ↗
13. Karney, C.F.F. (2021, January 16). GeographicLib 1.51. Available online: https://geographiclib.sourceforge.io/html/.
14. Algorithms for geodesics10.1007/s00190-012-0578-z ↗
15. (2021, February 28). PostGIS Geography Support Functions. Available online: https://postgis.net/docs/manual-3.1/PostGIS_Special_Functions_Index.html#PostGIS_GeographyFunctions.
16. Kothuri, R., Godfrind, A., and Beinat, E. (2007). Pro Oracle Spatial for Oracle Database 11 g, Apress.10.1007/978-1-4302-0446-6 ↗
17. (2021, February 27). PostGIS ST_Area with GeographicLib. Available online: https://postgis.net/docs/ST_Area.html.
18. Intersection and point-to-line solutions for geodesics on the ellipsoid10.1007/s11200-017-1020-z ↗
19. ESRI (2021, February 27). ArcGIS Desktop. Available online: https://www.esri.com/.
20. (2021, February 27). PostGIS. Available online: https://postgis.net/.
21. Oracle (2021, February 27). Oracle Spatial. Available online: https://docs.oracle.com/en/database/oracle/oracle-database/21/spatl.
22. Google (2021, February 27). Google Earth Engine. Available online: https://earthengine.google.com/.
23. Van Brummelen, G. (2013). Heavenly Mathematics: The Forgotten art of Spherical Trigonometry, Princeton University Press.10.1515/9781400844807 ↗
24. Jayapalan, J. (2021, March 11). Coordinate System. Oracle Spatial Spatial Developer’s Guide, 21c. Available online: https://docs.oracle.com/en/database/oracle/oracle-database/21/spatl/spatial-concepts.html.
25. Martinez-Llario, J.C., and Baselga, S. (2021, March 11). Geodesy Spatial Geometry Operators. it will be uploaded into GitHub for public use after approval of the manuscript.10.3390/app11115129 ↗
26. Google (2021, February 28). Geodesic vs. Planar Geometries, Google Earth Engine. Available online: https://developers.google.com/earth-engine/geometries_planar_geodesic.
27. Google (2021, February 28). Geometric Operations, Google Earth Engine. Available online: https://developers.google.com/earth-engine/geometric_operations.
28. ArcGIS Desktop (2021, February 28). Creating Geodetic Features. Available online: https://desktop.arcgis.com/en/arcmap/latest/manage-data/creating-new-features/creating-geodetic-features.htm.
29. ArcGIS Desktop (2021, February 28). Spatial Reference and Geoprocessing. Available online: https://desktop.arcgis.com/en/arcmap/latest/tools/supplement/spatial-reference-and-geoprocessing.htm.
30. PostGIS (2021, February 28). ST_Intersection Best Fit Projection. Available online: https://postgis.net/docs/ST_Intersection.html/.
31. Sideris, M.G. (2009). New Solutions to Classical Geodetic Problems on the Ellipsoid. Observing our Changing Earth, Springer.10.1007/978-3-540-85426-5 ↗
32. Geodetic intersection on the ellipsoid10.1007/s00190-007-0204-7 ↗
33. Sjöberg, L.E. (2002). Intersections on the sphere and ellipsoid. J. Geod.10.1007/s00190-001-0230-9 ↗
34. What Every Computer Scientist Should Know About Floating-Point Arithmetic10.1145/103162.103163 ↗
35. Passmark Software (2021, March 17). CPU Benchmarks. Available online: https://www.cpubenchmark.net/.
36. Transverse Mercator with an accuracy of a few nanometers10.1007/s00190-011-0445-3 ↗