SlideShare a Scribd company logo
1 of 18
Download to read offline
Geodesic algorithms: an experimental study
Vissarion Fisikopoulos
Models of the Earth and coordinate systems
Flat (local approximation)
Sphere (Widely used e.g. google.maps)
Ellipsoid of revolution (geographic GIS state-of-the-art)
Geoid (Special applications, geophysics etc)
Geodesics
Definition: Geodesic = shortest path between a pair of points
flat: geodesic = straight line
sphere: geodesic = great circle
ellipsoid: geodesic = not closed curve (except meridians and
equator)
Note: loxodrome or rhump line is an arc crossing all meridians at
the same angle (=azimuth). These are straight lines in Mercator
projection and not shortest paths.
Geodesic problems
Direct given point, azimuth, distance compute new point
Inverse given two points compute distance, azimuth
(shortest) Distance between points
or inverse geodesic problem
flat: s = (x1 − x2)2 + (y1 − y2)2 (Pythagoras)
sphere: s = hav(ϕ2 − ϕ1) + cos(ϕ1) cos(ϕ2)hav(λ2 − λ1), where
hav(θ) = sin2
(θ
2) (Haversine formula)
ellipsoid:
s
b
=
σ
0
1 + k2 sin2
σ dσ , (1)
λ = ω − f sin α0
σ
0
2 − f
1 + (1 − f) 1 + k2 sin2
σ
dσ . (2)
λ, φ, s: longitude, latitude, distance
ω, σ: longitude, distance on auxiliary sphere
α0: azimuth at the equatorial
k = e cos α0 and f, e , b constants
Algorithms for geodesic problems
1. Higher series approximation (up-to order 8) + iterative
methods [Bessel’1865, Karney’12]
2. Numerical integration [Sjoberg’12, Panou et al.’13]
3. Iterative methods [Vincenty’75] (widely used)
4. Series approximation of order 2 [Thomas’70]
5. Series approximation of order 1 [Andoyer’65,Thomas’65]
6. Spherical (trigonometric approximation)
7. inverse elliptic arc length formulas [Thomas’65]
8. Projection + cartesian methods (local approximation)
(1) GeographicLib (PR in Boost Geometry)
(2) not considered here
(3-8) supported by Boost Geometry
Example: distance between points on ellipsoid
Athens (23.725750, 37.971536) — Brussels(4.3826169, 50.8119483)
higher series 2088384.366
vincenty 2088384.366
thomas 2088384.364
andoyer 2088389.079
elliptic-0 2087512.071
elliptic-1 2088385.162
elliptic-2 2088384.422
elliptic-3 2088384.422
spherical 2085992.801
flat approx 2213471.759
Algorithms using geodesic problems
distance between geometries
use distance computation, inverse problem
area
use azimuth computation, inverse problem
line interpolate point, densify
use direct and inverse problems
curve similarity: Hausdorff and Fr´echet distance
use distance computation, inverse problem
Example: distance between point and segment
L := LINESTRING(-16.42203 -7.52882,4.89998 -6.15568)
P := POINT(3.32696 -6.29345)
Boost.Geometry (version 1.71.0)
spherical: 508.0731159
andoyer: 480.3460262
thomas: 481.7457616
vincenty: 481.7390876
POSTGIS (version 2.5)
spherical: 508.073115931
geographic: 505.320928239
Homework: find the most accurate result!
Benchmarks
Dataset:
https://zenodo.org/record/32156#.WOyaMrUmv7C
WGS84 ellipsoid
1. 100000 geodesics uniform distributed in the ellipsoid and
2. 50000 short geodesics (of length less than 10 km).
https://github.com/vissarion/geometry/wiki/
Accuracy-and-performance-of-geographic-algorithms
Performance
method distance time azimuth time
flat* 7 35
spherical* 15 27
andoyer* 117 260
thomas* 270 371
vincenty* 485 463
GeographicLib 1224 1228
Table : Average timings for 150000 geodesics in nsec (100 runs for each
geodesic).
* as implemented in Boost Geomerty
Distance accuracy
long geodesics (> 1000km): the faster the method is the
lower the accuracy obtained
geodesics with endpoints far from antipodal (geodesics of
length less than 19500km):
spherical, andoyer, thomas, vincenty, high series have accuracy
21km, 811m, 48m, 78µm, 7nm respectively
flat approximation: very low accuracy, only useful for very
short distance e.g. distance between point(10, 10) and
point(10.1, 10.002) w. cm accuracy
The only method that is accurate (nm accuracy) for geodesics
that has endpoints nearly antipodal is high series method
Accuracy
distance
The maximum absolute distance error as a function of distance.
Area and azimuth accuracy
lower accuracy of short geodesics (< 10km)
For area we also test projection methods followed by cartesian area
computation
aea Albers Equal Area
https://proj4.org/operations/projections/
aea.html)
cea Equal Area Cylindrical
https://proj4.org/operations/projections/
cea.html
leac Lambert Equal Area Conic
https://proj4.org/operations/projections/
leac.html
laea Lambert Azimuthal Equal Area
https://proj4.org/operations/projections/
laea.html
Accuracy
azimuth
The maximum absolute azimuth error as a function of distance.
Accuracy
area
The maximum absolute area error as a function of distance
Thank you! Questions?
Solution: distance between point and segment
L := LINESTRING(-16.42203 -7.52882,4.89998 -6.15568)
P1 := POINT(3.32696 -6.29345)
P2 := POINT(3.3262, -6.28451)
Boost.Geometry (version 1.71.0)
P1 spherical: 508.0731159
P1 vincenty: 481.7390876
P2 spherical 489.553212
P2 vincenty 510.4827314
P1
P2
POSTGIS (version 2.5)
P1 spherical: 508.073115931
P1 geographic: 505.320928239
P2 spherical: 489.553211954
P2 geographic: 486.901261892

More Related Content

What's hot

Image compression standards
Image compression standardsImage compression standards
Image compression standardskirupasuchi1996
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Kalyan Acharjya
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image ProcessingPallavi Agarwal
 
Image enhancement
Image enhancementImage enhancement
Image enhancementAyaelshiwi
 
Smoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainSmoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainMadhu Bala
 
Hill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligenceHill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligencesandeep54552
 
Support vector machines (svm)
Support vector machines (svm)Support vector machines (svm)
Support vector machines (svm)Sharayu Patil
 
Image enhancement ppt nal2
Image enhancement ppt nal2Image enhancement ppt nal2
Image enhancement ppt nal2Surabhi Ks
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformationMdFazleRabbi18
 
Arithmetic coding
Arithmetic codingArithmetic coding
Arithmetic codingVikas Goyal
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processingkiruthiammu
 

What's hot (20)

Image compression standards
Image compression standardsImage compression standards
Image compression standards
 
Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)Image Restoration (Digital Image Processing)
Image Restoration (Digital Image Processing)
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
 
go back n protocol
go back n protocolgo back n protocol
go back n protocol
 
NOISE FILTERS IN IMAGE PROCESSING
NOISE FILTERS IN IMAGE PROCESSINGNOISE FILTERS IN IMAGE PROCESSING
NOISE FILTERS IN IMAGE PROCESSING
 
Smoothing in Digital Image Processing
Smoothing in Digital Image ProcessingSmoothing in Digital Image Processing
Smoothing in Digital Image Processing
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Smoothing Filters in Spatial Domain
Smoothing Filters in Spatial DomainSmoothing Filters in Spatial Domain
Smoothing Filters in Spatial Domain
 
Hill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligenceHill climbing algorithm in artificial intelligence
Hill climbing algorithm in artificial intelligence
 
Support vector machines (svm)
Support vector machines (svm)Support vector machines (svm)
Support vector machines (svm)
 
Image enhancement ppt nal2
Image enhancement ppt nal2Image enhancement ppt nal2
Image enhancement ppt nal2
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformation
 
Noise
NoiseNoise
Noise
 
Multiple access techniques for wireless communications
Multiple access techniques for wireless communicationsMultiple access techniques for wireless communications
Multiple access techniques for wireless communications
 
Greedymethod
GreedymethodGreedymethod
Greedymethod
 
Mobile computing unit 1
Mobile computing unit 1Mobile computing unit 1
Mobile computing unit 1
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Congestion control in TCP
Congestion control in TCPCongestion control in TCP
Congestion control in TCP
 
Arithmetic coding
Arithmetic codingArithmetic coding
Arithmetic coding
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 

Similar to Geodesic algorithms: an experimental study

The Earth is not flat; but it's not round either (Geography on Boost.Geometry)
The Earth is not flat; but it's not round either (Geography on Boost.Geometry)The Earth is not flat; but it's not round either (Geography on Boost.Geometry)
The Earth is not flat; but it's not round either (Geography on Boost.Geometry)Vissarion Fisikopoulos
 
Traversing Notes |surveying II | Sudip khadka
Traversing Notes |surveying II | Sudip khadka Traversing Notes |surveying II | Sudip khadka
Traversing Notes |surveying II | Sudip khadka Sudip khadka
 
Digital Distance Geometry
Digital Distance GeometryDigital Distance Geometry
Digital Distance Geometryppd1961
 
Planetary Science Assignment Help
Planetary Science Assignment HelpPlanetary Science Assignment Help
Planetary Science Assignment HelpEdu Assignment Help
 
Heuristic Function Influence to the Global Optimum Value in Shortest Path Pro...
Heuristic Function Influence to the Global Optimum Value in Shortest Path Pro...Heuristic Function Influence to the Global Optimum Value in Shortest Path Pro...
Heuristic Function Influence to the Global Optimum Value in Shortest Path Pro...Universitas Pembangunan Panca Budi
 
Practical 2 Chain and Compass Surveying - Computation of areas.ppt
Practical 2 Chain and Compass Surveying - Computation of areas.pptPractical 2 Chain and Compass Surveying - Computation of areas.ppt
Practical 2 Chain and Compass Surveying - Computation of areas.pptGopalSubash
 
Presto Summit 2018 - 06 - Facebook Geospatial
Presto Summit 2018 - 06 - Facebook GeospatialPresto Summit 2018 - 06 - Facebook Geospatial
Presto Summit 2018 - 06 - Facebook Geospatialkbajda
 
ICMS2012 MAHERnew with tables
ICMS2012 MAHERnew with tablesICMS2012 MAHERnew with tables
ICMS2012 MAHERnew with tablesMaher Aldaher
 
SOLAR IMPULSE - LAB WORK - MODELS (ENG)
SOLAR IMPULSE - LAB WORK - MODELS (ENG)SOLAR IMPULSE - LAB WORK - MODELS (ENG)
SOLAR IMPULSE - LAB WORK - MODELS (ENG)Solar Impulse
 
Edge linking hough transform
Edge linking hough transformEdge linking hough transform
Edge linking hough transformaruna811496
 
Measurement Of The Speed Of Light
Measurement Of The  Speed Of LightMeasurement Of The  Speed Of Light
Measurement Of The Speed Of Lightnilbert
 
Radiacion poligonal abierta
Radiacion   poligonal abiertaRadiacion   poligonal abierta
Radiacion poligonal abiertaJeanCordova7
 
FR4.T05.4.ppt
FR4.T05.4.pptFR4.T05.4.ppt
FR4.T05.4.pptgrssieee
 
Application of particle swarm optimization in 3 dimensional travelling salesm...
Application of particle swarm optimization in 3 dimensional travelling salesm...Application of particle swarm optimization in 3 dimensional travelling salesm...
Application of particle swarm optimization in 3 dimensional travelling salesm...Maad M. Mijwil
 

Similar to Geodesic algorithms: an experimental study (20)

The Earth is not flat; but it's not round either (Geography on Boost.Geometry)
The Earth is not flat; but it's not round either (Geography on Boost.Geometry)The Earth is not flat; but it's not round either (Geography on Boost.Geometry)
The Earth is not flat; but it's not round either (Geography on Boost.Geometry)
 
Traversing Notes |surveying II | Sudip khadka
Traversing Notes |surveying II | Sudip khadka Traversing Notes |surveying II | Sudip khadka
Traversing Notes |surveying II | Sudip khadka
 
Digital Distance Geometry
Digital Distance GeometryDigital Distance Geometry
Digital Distance Geometry
 
LINEAR SURVEY
LINEAR SURVEYLINEAR SURVEY
LINEAR SURVEY
 
Planetary Science Assignment Help
Planetary Science Assignment HelpPlanetary Science Assignment Help
Planetary Science Assignment Help
 
Basics of surveying
Basics of surveyingBasics of surveying
Basics of surveying
 
inroduction to geodesy
inroduction to geodesyinroduction to geodesy
inroduction to geodesy
 
Gis Concepts 3/5
Gis Concepts 3/5Gis Concepts 3/5
Gis Concepts 3/5
 
Heuristic Function Influence to the Global Optimum Value in Shortest Path Pro...
Heuristic Function Influence to the Global Optimum Value in Shortest Path Pro...Heuristic Function Influence to the Global Optimum Value in Shortest Path Pro...
Heuristic Function Influence to the Global Optimum Value in Shortest Path Pro...
 
Practical 2 Chain and Compass Surveying - Computation of areas.ppt
Practical 2 Chain and Compass Surveying - Computation of areas.pptPractical 2 Chain and Compass Surveying - Computation of areas.ppt
Practical 2 Chain and Compass Surveying - Computation of areas.ppt
 
Presto Summit 2018 - 06 - Facebook Geospatial
Presto Summit 2018 - 06 - Facebook GeospatialPresto Summit 2018 - 06 - Facebook Geospatial
Presto Summit 2018 - 06 - Facebook Geospatial
 
ICMS2012 MAHERnew with tables
ICMS2012 MAHERnew with tablesICMS2012 MAHERnew with tables
ICMS2012 MAHERnew with tables
 
SOLAR IMPULSE - LAB WORK - MODELS (ENG)
SOLAR IMPULSE - LAB WORK - MODELS (ENG)SOLAR IMPULSE - LAB WORK - MODELS (ENG)
SOLAR IMPULSE - LAB WORK - MODELS (ENG)
 
Edge linking hough transform
Edge linking hough transformEdge linking hough transform
Edge linking hough transform
 
Measurement Of The Speed Of Light
Measurement Of The  Speed Of LightMeasurement Of The  Speed Of Light
Measurement Of The Speed Of Light
 
Radiacion poligonal abierta
Radiacion   poligonal abiertaRadiacion   poligonal abierta
Radiacion poligonal abierta
 
361
361361
361
 
Application of lasers
Application of lasersApplication of lasers
Application of lasers
 
FR4.T05.4.ppt
FR4.T05.4.pptFR4.T05.4.ppt
FR4.T05.4.ppt
 
Application of particle swarm optimization in 3 dimensional travelling salesm...
Application of particle swarm optimization in 3 dimensional travelling salesm...Application of particle swarm optimization in 3 dimensional travelling salesm...
Application of particle swarm optimization in 3 dimensional travelling salesm...
 

More from Vissarion Fisikopoulos

"Mesh of Periodic Minimal Surfaces in CGAL."
"Mesh of Periodic Minimal Surfaces in CGAL.""Mesh of Periodic Minimal Surfaces in CGAL."
"Mesh of Periodic Minimal Surfaces in CGAL."Vissarion Fisikopoulos
 
"Regular triangularions and resultant polytopes."
"Regular triangularions and resultant polytopes." "Regular triangularions and resultant polytopes."
"Regular triangularions and resultant polytopes." Vissarion Fisikopoulos
 
"Exact and approximate algorithms for resultant polytopes."
"Exact and approximate algorithms for resultant polytopes." "Exact and approximate algorithms for resultant polytopes."
"Exact and approximate algorithms for resultant polytopes." Vissarion Fisikopoulos
 
"An output-sensitive algorithm for computing projections of resultant polytop...
"An output-sensitive algorithm for computing projections of resultant polytop..."An output-sensitive algorithm for computing projections of resultant polytop...
"An output-sensitive algorithm for computing projections of resultant polytop...Vissarion Fisikopoulos
 
"Faster Geometric Algorithms via Dynamic Determinant Computation."
"Faster Geometric Algorithms via Dynamic Determinant Computation." "Faster Geometric Algorithms via Dynamic Determinant Computation."
"Faster Geometric Algorithms via Dynamic Determinant Computation." Vissarion Fisikopoulos
 
Oracle-based algorithms for high-dimensional polytopes.
Oracle-based algorithms for high-dimensional polytopes.Oracle-based algorithms for high-dimensional polytopes.
Oracle-based algorithms for high-dimensional polytopes.Vissarion Fisikopoulos
 
Efficient Volume and Edge-Skeleton Computation for Polytopes Given by Oracles
Efficient Volume and Edge-Skeleton Computation for Polytopes Given by OraclesEfficient Volume and Edge-Skeleton Computation for Polytopes Given by Oracles
Efficient Volume and Edge-Skeleton Computation for Polytopes Given by OraclesVissarion Fisikopoulos
 
"Combinatorics of 4-dimensional resultant polytopes"
"Combinatorics of 4-dimensional resultant polytopes""Combinatorics of 4-dimensional resultant polytopes"
"Combinatorics of 4-dimensional resultant polytopes"Vissarion Fisikopoulos
 
Efficient Edge-Skeleton Computation for Polytopes Defined by Oracles
Efficient Edge-Skeleton Computation for Polytopes Defined by OraclesEfficient Edge-Skeleton Computation for Polytopes Defined by Oracles
Efficient Edge-Skeleton Computation for Polytopes Defined by OraclesVissarion Fisikopoulos
 
High-dimensional polytopes defined by oracles: algorithms, computations and a...
High-dimensional polytopes defined by oracles: algorithms, computations and a...High-dimensional polytopes defined by oracles: algorithms, computations and a...
High-dimensional polytopes defined by oracles: algorithms, computations and a...Vissarion Fisikopoulos
 
Working with spatial trajectories in Boost Geometry
Working with spatial trajectories in Boost GeometryWorking with spatial trajectories in Boost Geometry
Working with spatial trajectories in Boost GeometryVissarion Fisikopoulos
 
High-dimensional sampling and volume computation
High-dimensional sampling and volume computationHigh-dimensional sampling and volume computation
High-dimensional sampling and volume computationVissarion Fisikopoulos
 
Conctructing Polytopes via a Vertex Oracle
Conctructing Polytopes via a Vertex OracleConctructing Polytopes via a Vertex Oracle
Conctructing Polytopes via a Vertex OracleVissarion Fisikopoulos
 
High-dimensional polytopes defined by oracles: algorithms, computations and a...
High-dimensional polytopes defined by oracles: algorithms, computations and a...High-dimensional polytopes defined by oracles: algorithms, computations and a...
High-dimensional polytopes defined by oracles: algorithms, computations and a...Vissarion Fisikopoulos
 
Polyhedral computations in computational algebraic geometry and optimization
Polyhedral computations in computational algebraic geometry and optimizationPolyhedral computations in computational algebraic geometry and optimization
Polyhedral computations in computational algebraic geometry and optimizationVissarion Fisikopoulos
 
The Newton polytope of the sparse resultant
The Newton polytope of the sparse resultantThe Newton polytope of the sparse resultant
The Newton polytope of the sparse resultantVissarion Fisikopoulos
 
Volume and edge skeleton computation in high dimensions
Volume and edge skeleton computation in high dimensionsVolume and edge skeleton computation in high dimensions
Volume and edge skeleton computation in high dimensionsVissarion Fisikopoulos
 
Efficient Random-Walk Methods forApproximating Polytope Volume
Efficient Random-Walk Methods forApproximating Polytope VolumeEfficient Random-Walk Methods forApproximating Polytope Volume
Efficient Random-Walk Methods forApproximating Polytope VolumeVissarion Fisikopoulos
 
A new practical algorithm for volume estimation using annealing of convex bodies
A new practical algorithm for volume estimation using annealing of convex bodiesA new practical algorithm for volume estimation using annealing of convex bodies
A new practical algorithm for volume estimation using annealing of convex bodiesVissarion Fisikopoulos
 

More from Vissarion Fisikopoulos (20)

"Mesh of Periodic Minimal Surfaces in CGAL."
"Mesh of Periodic Minimal Surfaces in CGAL.""Mesh of Periodic Minimal Surfaces in CGAL."
"Mesh of Periodic Minimal Surfaces in CGAL."
 
"Regular triangularions and resultant polytopes."
"Regular triangularions and resultant polytopes." "Regular triangularions and resultant polytopes."
"Regular triangularions and resultant polytopes."
 
"Exact and approximate algorithms for resultant polytopes."
"Exact and approximate algorithms for resultant polytopes." "Exact and approximate algorithms for resultant polytopes."
"Exact and approximate algorithms for resultant polytopes."
 
"An output-sensitive algorithm for computing projections of resultant polytop...
"An output-sensitive algorithm for computing projections of resultant polytop..."An output-sensitive algorithm for computing projections of resultant polytop...
"An output-sensitive algorithm for computing projections of resultant polytop...
 
"Faster Geometric Algorithms via Dynamic Determinant Computation."
"Faster Geometric Algorithms via Dynamic Determinant Computation." "Faster Geometric Algorithms via Dynamic Determinant Computation."
"Faster Geometric Algorithms via Dynamic Determinant Computation."
 
Oracle-based algorithms for high-dimensional polytopes.
Oracle-based algorithms for high-dimensional polytopes.Oracle-based algorithms for high-dimensional polytopes.
Oracle-based algorithms for high-dimensional polytopes.
 
Efficient Volume and Edge-Skeleton Computation for Polytopes Given by Oracles
Efficient Volume and Edge-Skeleton Computation for Polytopes Given by OraclesEfficient Volume and Edge-Skeleton Computation for Polytopes Given by Oracles
Efficient Volume and Edge-Skeleton Computation for Polytopes Given by Oracles
 
"Combinatorics of 4-dimensional resultant polytopes"
"Combinatorics of 4-dimensional resultant polytopes""Combinatorics of 4-dimensional resultant polytopes"
"Combinatorics of 4-dimensional resultant polytopes"
 
Efficient Edge-Skeleton Computation for Polytopes Defined by Oracles
Efficient Edge-Skeleton Computation for Polytopes Defined by OraclesEfficient Edge-Skeleton Computation for Polytopes Defined by Oracles
Efficient Edge-Skeleton Computation for Polytopes Defined by Oracles
 
High-dimensional polytopes defined by oracles: algorithms, computations and a...
High-dimensional polytopes defined by oracles: algorithms, computations and a...High-dimensional polytopes defined by oracles: algorithms, computations and a...
High-dimensional polytopes defined by oracles: algorithms, computations and a...
 
Working with spatial trajectories in Boost Geometry
Working with spatial trajectories in Boost GeometryWorking with spatial trajectories in Boost Geometry
Working with spatial trajectories in Boost Geometry
 
High-dimensional sampling and volume computation
High-dimensional sampling and volume computationHigh-dimensional sampling and volume computation
High-dimensional sampling and volume computation
 
Conctructing Polytopes via a Vertex Oracle
Conctructing Polytopes via a Vertex OracleConctructing Polytopes via a Vertex Oracle
Conctructing Polytopes via a Vertex Oracle
 
High-dimensional polytopes defined by oracles: algorithms, computations and a...
High-dimensional polytopes defined by oracles: algorithms, computations and a...High-dimensional polytopes defined by oracles: algorithms, computations and a...
High-dimensional polytopes defined by oracles: algorithms, computations and a...
 
Enumeration of 2-level polytopes
Enumeration of 2-level polytopesEnumeration of 2-level polytopes
Enumeration of 2-level polytopes
 
Polyhedral computations in computational algebraic geometry and optimization
Polyhedral computations in computational algebraic geometry and optimizationPolyhedral computations in computational algebraic geometry and optimization
Polyhedral computations in computational algebraic geometry and optimization
 
The Newton polytope of the sparse resultant
The Newton polytope of the sparse resultantThe Newton polytope of the sparse resultant
The Newton polytope of the sparse resultant
 
Volume and edge skeleton computation in high dimensions
Volume and edge skeleton computation in high dimensionsVolume and edge skeleton computation in high dimensions
Volume and edge skeleton computation in high dimensions
 
Efficient Random-Walk Methods forApproximating Polytope Volume
Efficient Random-Walk Methods forApproximating Polytope VolumeEfficient Random-Walk Methods forApproximating Polytope Volume
Efficient Random-Walk Methods forApproximating Polytope Volume
 
A new practical algorithm for volume estimation using annealing of convex bodies
A new practical algorithm for volume estimation using annealing of convex bodiesA new practical algorithm for volume estimation using annealing of convex bodies
A new practical algorithm for volume estimation using annealing of convex bodies
 

Recently uploaded

Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physicsvishikhakeshava1
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSarthak Sekhar Mondal
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfmuntazimhurra
 
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |aasikanpl
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.aasikanpl
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxkessiyaTpeter
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxUmerFayaz5
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Patrick Diehl
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 
Types of different blotting techniques.pptx
Types of different blotting techniques.pptxTypes of different blotting techniques.pptx
Types of different blotting techniques.pptxkhadijarafiq2012
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxAArockiyaNisha
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhousejana861314
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Caco-2 cell permeability assay for drug absorption
Caco-2 cell permeability assay for drug absorptionCaco-2 cell permeability assay for drug absorption
Caco-2 cell permeability assay for drug absorptionPriyansha Singh
 

Recently uploaded (20)

Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Work, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE PhysicsWork, Energy and Power for class 10 ICSE Physics
Work, Energy and Power for class 10 ICSE Physics
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
 
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
Call Us ≽ 9953322196 ≼ Call Girls In Mukherjee Nagar(Delhi) |
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
Call Girls in Mayapuri Delhi 💯Call Us 🔝9953322196🔝 💯Escort.
 
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptxSOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
SOLUBLE PATTERN RECOGNITION RECEPTORS.pptx
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
Types of different blotting techniques.pptx
Types of different blotting techniques.pptxTypes of different blotting techniques.pptx
Types of different blotting techniques.pptx
 
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptxPhysiochemical properties of nanomaterials and its nanotoxicity.pptx
Physiochemical properties of nanomaterials and its nanotoxicity.pptx
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhouse
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Caco-2 cell permeability assay for drug absorption
Caco-2 cell permeability assay for drug absorptionCaco-2 cell permeability assay for drug absorption
Caco-2 cell permeability assay for drug absorption
 

Geodesic algorithms: an experimental study

  • 1. Geodesic algorithms: an experimental study Vissarion Fisikopoulos
  • 2. Models of the Earth and coordinate systems Flat (local approximation) Sphere (Widely used e.g. google.maps) Ellipsoid of revolution (geographic GIS state-of-the-art) Geoid (Special applications, geophysics etc)
  • 3. Geodesics Definition: Geodesic = shortest path between a pair of points flat: geodesic = straight line sphere: geodesic = great circle ellipsoid: geodesic = not closed curve (except meridians and equator) Note: loxodrome or rhump line is an arc crossing all meridians at the same angle (=azimuth). These are straight lines in Mercator projection and not shortest paths.
  • 4. Geodesic problems Direct given point, azimuth, distance compute new point Inverse given two points compute distance, azimuth
  • 5. (shortest) Distance between points or inverse geodesic problem flat: s = (x1 − x2)2 + (y1 − y2)2 (Pythagoras) sphere: s = hav(ϕ2 − ϕ1) + cos(ϕ1) cos(ϕ2)hav(λ2 − λ1), where hav(θ) = sin2 (θ 2) (Haversine formula) ellipsoid: s b = σ 0 1 + k2 sin2 σ dσ , (1) λ = ω − f sin α0 σ 0 2 − f 1 + (1 − f) 1 + k2 sin2 σ dσ . (2) λ, φ, s: longitude, latitude, distance ω, σ: longitude, distance on auxiliary sphere α0: azimuth at the equatorial k = e cos α0 and f, e , b constants
  • 6. Algorithms for geodesic problems 1. Higher series approximation (up-to order 8) + iterative methods [Bessel’1865, Karney’12] 2. Numerical integration [Sjoberg’12, Panou et al.’13] 3. Iterative methods [Vincenty’75] (widely used) 4. Series approximation of order 2 [Thomas’70] 5. Series approximation of order 1 [Andoyer’65,Thomas’65] 6. Spherical (trigonometric approximation) 7. inverse elliptic arc length formulas [Thomas’65] 8. Projection + cartesian methods (local approximation) (1) GeographicLib (PR in Boost Geometry) (2) not considered here (3-8) supported by Boost Geometry
  • 7. Example: distance between points on ellipsoid Athens (23.725750, 37.971536) — Brussels(4.3826169, 50.8119483) higher series 2088384.366 vincenty 2088384.366 thomas 2088384.364 andoyer 2088389.079 elliptic-0 2087512.071 elliptic-1 2088385.162 elliptic-2 2088384.422 elliptic-3 2088384.422 spherical 2085992.801 flat approx 2213471.759
  • 8. Algorithms using geodesic problems distance between geometries use distance computation, inverse problem area use azimuth computation, inverse problem line interpolate point, densify use direct and inverse problems curve similarity: Hausdorff and Fr´echet distance use distance computation, inverse problem
  • 9. Example: distance between point and segment L := LINESTRING(-16.42203 -7.52882,4.89998 -6.15568) P := POINT(3.32696 -6.29345) Boost.Geometry (version 1.71.0) spherical: 508.0731159 andoyer: 480.3460262 thomas: 481.7457616 vincenty: 481.7390876 POSTGIS (version 2.5) spherical: 508.073115931 geographic: 505.320928239 Homework: find the most accurate result!
  • 10. Benchmarks Dataset: https://zenodo.org/record/32156#.WOyaMrUmv7C WGS84 ellipsoid 1. 100000 geodesics uniform distributed in the ellipsoid and 2. 50000 short geodesics (of length less than 10 km). https://github.com/vissarion/geometry/wiki/ Accuracy-and-performance-of-geographic-algorithms
  • 11. Performance method distance time azimuth time flat* 7 35 spherical* 15 27 andoyer* 117 260 thomas* 270 371 vincenty* 485 463 GeographicLib 1224 1228 Table : Average timings for 150000 geodesics in nsec (100 runs for each geodesic). * as implemented in Boost Geomerty
  • 12. Distance accuracy long geodesics (> 1000km): the faster the method is the lower the accuracy obtained geodesics with endpoints far from antipodal (geodesics of length less than 19500km): spherical, andoyer, thomas, vincenty, high series have accuracy 21km, 811m, 48m, 78µm, 7nm respectively flat approximation: very low accuracy, only useful for very short distance e.g. distance between point(10, 10) and point(10.1, 10.002) w. cm accuracy The only method that is accurate (nm accuracy) for geodesics that has endpoints nearly antipodal is high series method
  • 13. Accuracy distance The maximum absolute distance error as a function of distance.
  • 14. Area and azimuth accuracy lower accuracy of short geodesics (< 10km) For area we also test projection methods followed by cartesian area computation aea Albers Equal Area https://proj4.org/operations/projections/ aea.html) cea Equal Area Cylindrical https://proj4.org/operations/projections/ cea.html leac Lambert Equal Area Conic https://proj4.org/operations/projections/ leac.html laea Lambert Azimuthal Equal Area https://proj4.org/operations/projections/ laea.html
  • 15. Accuracy azimuth The maximum absolute azimuth error as a function of distance.
  • 16. Accuracy area The maximum absolute area error as a function of distance
  • 18. Solution: distance between point and segment L := LINESTRING(-16.42203 -7.52882,4.89998 -6.15568) P1 := POINT(3.32696 -6.29345) P2 := POINT(3.3262, -6.28451) Boost.Geometry (version 1.71.0) P1 spherical: 508.0731159 P1 vincenty: 481.7390876 P2 spherical 489.553212 P2 vincenty 510.4827314 P1 P2 POSTGIS (version 2.5) P1 spherical: 508.073115931 P1 geographic: 505.320928239 P2 spherical: 489.553211954 P2 geographic: 486.901261892