SlideShare a Scribd company logo
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

4.file service architecture
4.file service architecture4.file service architecture
4.file service architecture
AbDul ThaYyal
 
Ip addressing classless
Ip addressing classlessIp addressing classless
Ip addressing classless
Abhishek Kesharwani
 
Secure Socket Layer (SSL)
Secure Socket Layer (SSL)Secure Socket Layer (SSL)
Secure Socket Layer (SSL)
amanchaurasia
 
transfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imaptransfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imap
AKSHIT KOHLI
 
Ch11 Basic Cryptography
Ch11 Basic CryptographyCh11 Basic Cryptography
Ch11 Basic Cryptography
Information Technology
 
Homophonic Substitution Cipher
Homophonic Substitution CipherHomophonic Substitution Cipher
Homophonic Substitution Cipher
SHUBHA CHATURVEDI
 
The TLS Upgrade
The TLS UpgradeThe TLS Upgrade
The TLS Upgrade
AppViewX
 
2. Stream Ciphers
2. Stream Ciphers2. Stream Ciphers
2. Stream Ciphers
Sam Bowne
 
CRYPTOGRAPHY AND NETWORK SECURITY
CRYPTOGRAPHY AND NETWORK SECURITYCRYPTOGRAPHY AND NETWORK SECURITY
CRYPTOGRAPHY AND NETWORK SECURITY
Kathirvel Ayyaswamy
 
Ch 26
Ch 26Ch 26
TCP congestion control
TCP congestion controlTCP congestion control
TCP congestion control
Shubham Jain
 
X.509 Certificates
X.509 CertificatesX.509 Certificates
X.509 Certificates
Sou Jana
 
9 multiple access
9 multiple access9 multiple access
9 multiple access
ampas03
 
Kerberos Authentication Protocol
Kerberos Authentication ProtocolKerberos Authentication Protocol
Kerberos Authentication Protocol
Bibek Subedi
 
HIGH SPEED NETWORKS
HIGH SPEED NETWORKSHIGH SPEED NETWORKS
HIGH SPEED NETWORKS
Kathirvel Ayyaswamy
 
5 Cryptography Part1
5 Cryptography Part15 Cryptography Part1
5 Cryptography Part1
Alfred Ouyang
 
indexing and hashing
indexing and hashingindexing and hashing
indexing and hashing
University of Potsdam
 
Elliptic curve cryptography
Elliptic curve cryptographyElliptic curve cryptography
Elliptic curve cryptography
Cysinfo Cyber Security Community
 
Chapter 3-Processes.ppt
Chapter 3-Processes.pptChapter 3-Processes.ppt
Chapter 3-Processes.ppt
sirajmohammed35
 
ssl-tls-ipsec-vpn.pptx
ssl-tls-ipsec-vpn.pptxssl-tls-ipsec-vpn.pptx
ssl-tls-ipsec-vpn.pptx
jithu26327
 

What's hot (20)

4.file service architecture
4.file service architecture4.file service architecture
4.file service architecture
 
Ip addressing classless
Ip addressing classlessIp addressing classless
Ip addressing classless
 
Secure Socket Layer (SSL)
Secure Socket Layer (SSL)Secure Socket Layer (SSL)
Secure Socket Layer (SSL)
 
transfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imaptransfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imap
 
Ch11 Basic Cryptography
Ch11 Basic CryptographyCh11 Basic Cryptography
Ch11 Basic Cryptography
 
Homophonic Substitution Cipher
Homophonic Substitution CipherHomophonic Substitution Cipher
Homophonic Substitution Cipher
 
The TLS Upgrade
The TLS UpgradeThe TLS Upgrade
The TLS Upgrade
 
2. Stream Ciphers
2. Stream Ciphers2. Stream Ciphers
2. Stream Ciphers
 
CRYPTOGRAPHY AND NETWORK SECURITY
CRYPTOGRAPHY AND NETWORK SECURITYCRYPTOGRAPHY AND NETWORK SECURITY
CRYPTOGRAPHY AND NETWORK SECURITY
 
Ch 26
Ch 26Ch 26
Ch 26
 
TCP congestion control
TCP congestion controlTCP congestion control
TCP congestion control
 
X.509 Certificates
X.509 CertificatesX.509 Certificates
X.509 Certificates
 
9 multiple access
9 multiple access9 multiple access
9 multiple access
 
Kerberos Authentication Protocol
Kerberos Authentication ProtocolKerberos Authentication Protocol
Kerberos Authentication Protocol
 
HIGH SPEED NETWORKS
HIGH SPEED NETWORKSHIGH SPEED NETWORKS
HIGH SPEED NETWORKS
 
5 Cryptography Part1
5 Cryptography Part15 Cryptography Part1
5 Cryptography Part1
 
indexing and hashing
indexing and hashingindexing and hashing
indexing and hashing
 
Elliptic curve cryptography
Elliptic curve cryptographyElliptic curve cryptography
Elliptic curve cryptography
 
Chapter 3-Processes.ppt
Chapter 3-Processes.pptChapter 3-Processes.ppt
Chapter 3-Processes.ppt
 
ssl-tls-ipsec-vpn.pptx
ssl-tls-ipsec-vpn.pptxssl-tls-ipsec-vpn.pptx
ssl-tls-ipsec-vpn.pptx
 

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 Geometry
ppd1961
 
LINEAR SURVEY
LINEAR SURVEYLINEAR SURVEY
LINEAR SURVEY
khanarzaan
 
Planetary Science Assignment Help
Planetary Science Assignment HelpPlanetary Science Assignment Help
Planetary Science Assignment Help
Edu Assignment Help
 
Basics of surveying
Basics of surveyingBasics of surveying
Basics of surveying
Nasir Ahmad Aryanfar
 
inroduction to geodesy
inroduction to geodesyinroduction to geodesy
inroduction to geodesy
Dr.oday Zakariya Jasim
 
Gis Concepts 3/5
Gis Concepts 3/5Gis Concepts 3/5
Gis Concepts 3/5
CIER Facultad de Agronomía
 
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.ppt
GopalSubash
 
Presto Summit 2018 - 06 - Facebook Geospatial
Presto Summit 2018 - 06 - Facebook GeospatialPresto Summit 2018 - 06 - Facebook Geospatial
Presto Summit 2018 - 06 - Facebook Geospatial
kbajda
 
ICMS2012 MAHERnew with tables
ICMS2012 MAHERnew with tablesICMS2012 MAHERnew with tables
ICMS2012 MAHERnew with tables
Maher 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 transform
aruna811496
 
Measurement Of The Speed Of Light
Measurement Of The  Speed Of LightMeasurement Of The  Speed Of Light
Measurement Of The Speed Of Light
nilbert
 
Radiacion poligonal abierta
Radiacion   poligonal abiertaRadiacion   poligonal abierta
Radiacion poligonal abierta
JeanCordova7
 
361
361361
Application of lasers
Application of lasersApplication of lasers
Application of lasers
Alexander Decker
 
FR4.T05.4.ppt
FR4.T05.4.pptFR4.T05.4.ppt
FR4.T05.4.ppt
grssieee
 
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 Oracles
Vissarion 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 Oracles
Vissarion 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 Geometry
Vissarion Fisikopoulos
 
High-dimensional sampling and volume computation
High-dimensional sampling and volume computationHigh-dimensional sampling and volume computation
High-dimensional sampling and volume computation
Vissarion Fisikopoulos
 
Conctructing Polytopes via a Vertex Oracle
Conctructing Polytopes via a Vertex OracleConctructing Polytopes via a Vertex Oracle
Conctructing Polytopes via a Vertex Oracle
Vissarion 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
 
Enumeration of 2-level polytopes
Enumeration of 2-level polytopesEnumeration of 2-level polytopes
Enumeration of 2-level polytopes
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 optimization
Vissarion 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 resultant
Vissarion 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 dimensions
Vissarion 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 Volume
Vissarion 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 bodies
Vissarion 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

Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
University of Maribor
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
IshaGoswami9
 
NuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyerNuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyer
pablovgd
 
molar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptxmolar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptx
Anagha Prasad
 
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
Abdul Wali Khan University Mardan,kP,Pakistan
 
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptxThe use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
MAGOTI ERNEST
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
Nistarini College, Purulia (W.B) India
 
Equivariant neural networks and representation theory
Equivariant neural networks and representation theoryEquivariant neural networks and representation theory
Equivariant neural networks and representation theory
Daniel Tubbenhauer
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
by6843629
 
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero WaterSharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Texas Alliance of Groundwater Districts
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
David Osipyan
 
Topic: SICKLE CELL DISEASE IN CHILDREN-3.pdf
Topic: SICKLE CELL DISEASE IN CHILDREN-3.pdfTopic: SICKLE CELL DISEASE IN CHILDREN-3.pdf
Topic: SICKLE CELL DISEASE IN CHILDREN-3.pdf
TinyAnderson
 
Chapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisisChapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisis
tonzsalvador2222
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
KrushnaDarade1
 
Nucleophilic Addition of carbonyl compounds.pptx
Nucleophilic Addition of carbonyl  compounds.pptxNucleophilic Addition of carbonyl  compounds.pptx
Nucleophilic Addition of carbonyl compounds.pptx
SSR02
 
Oedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptxOedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptx
muralinath2
 
The debris of the ‘last major merger’ is dynamically young
The debris of the ‘last major merger’ is dynamically youngThe debris of the ‘last major merger’ is dynamically young
The debris of the ‘last major merger’ is dynamically young
Sérgio Sacani
 
Cytokines and their role in immune regulation.pptx
Cytokines and their role in immune regulation.pptxCytokines and their role in immune regulation.pptx
Cytokines and their role in immune regulation.pptx
Hitesh Sikarwar
 
ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
PRIYANKA PATEL
 
aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
İsa Badur
 

Recently uploaded (20)

Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
 
Phenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvementPhenomics assisted breeding in crop improvement
Phenomics assisted breeding in crop improvement
 
NuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyerNuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyer
 
molar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptxmolar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptx
 
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
 
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptxThe use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
 
Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.Nucleic Acid-its structural and functional complexity.
Nucleic Acid-its structural and functional complexity.
 
Equivariant neural networks and representation theory
Equivariant neural networks and representation theoryEquivariant neural networks and representation theory
Equivariant neural networks and representation theory
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
 
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero WaterSharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
 
Topic: SICKLE CELL DISEASE IN CHILDREN-3.pdf
Topic: SICKLE CELL DISEASE IN CHILDREN-3.pdfTopic: SICKLE CELL DISEASE IN CHILDREN-3.pdf
Topic: SICKLE CELL DISEASE IN CHILDREN-3.pdf
 
Chapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisisChapter 12 - climate change and the energy crisis
Chapter 12 - climate change and the energy crisis
 
SAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdfSAR of Medicinal Chemistry 1st by dk.pdf
SAR of Medicinal Chemistry 1st by dk.pdf
 
Nucleophilic Addition of carbonyl compounds.pptx
Nucleophilic Addition of carbonyl  compounds.pptxNucleophilic Addition of carbonyl  compounds.pptx
Nucleophilic Addition of carbonyl compounds.pptx
 
Oedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptxOedema_types_causes_pathophysiology.pptx
Oedema_types_causes_pathophysiology.pptx
 
The debris of the ‘last major merger’ is dynamically young
The debris of the ‘last major merger’ is dynamically youngThe debris of the ‘last major merger’ is dynamically young
The debris of the ‘last major merger’ is dynamically young
 
Cytokines and their role in immune regulation.pptx
Cytokines and their role in immune regulation.pptxCytokines and their role in immune regulation.pptx
Cytokines and their role in immune regulation.pptx
 
ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
 
aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
 

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