GeographicLib.jl
GeographicLib.jl is a Julia port of the geodesic (great circle) calculations provided as part of Charles F. F. Karney’s GeographicLib. It is a literal transcription of the Python version, and distributed under the same licence.
It allows for the computation of great circles (or ‘geodesics’) on a uniaxial ellipsoid, including finding distances and azimuths between two points, calculating the area of a geodesic polygon, and determing the end point when travelling from a starting point a certain distance and along a certain direction.
Most users should use the Julia interface functions to interact with the package, but this also implements an interface as close as possible to the Python interface.
Examples of usage are available.
Contents
- Examples
- Ellipsoids
- Distance between two points
- Moving a set distance from one point
- Computing waypoints
- Measuring areas
- GeographicLib.jl
- Julia interface functions
- Traditional GeographicLib interface
Index
GeographicLib.WGS84
GeographicLib.GeodesicLines.GeodesicLine
GeographicLib.GeodesicLines.GeodesicLine
GeographicLib.Geodesics.Geodesic
GeographicLib.Polygons.Polygon
GeographicLib.Result
GeographicLib.ArcDirect
GeographicLib.Direct
GeographicLib.GeodesicLines.Position
GeographicLib.GeodesicLines.SetArc
GeographicLib.GeodesicLines.SetDistance
GeographicLib.Geodesics.Inverse
GeographicLib.add_edge!
GeographicLib.add_point!
GeographicLib.forward
GeographicLib.forward_deg
GeographicLib.inverse
GeographicLib.properties
GeographicLib.waypoints
References
Some of the algorithms used in this package can be found in Charles Karney’s papers:
- C. F. F. Karney, Transverse Mercator with an accuracy of a few nanometers, J. Geodesy 85(8), 475–485 (Aug. 2011). doi:10.1007/s00190-011-0445-3
- C. F. F. Karney, Algorithms for geodesics, J. Geodesy 87(1), 43–55 (Jan. 2013). doi:10.1007/s00190-012-0578-z
A fuller reference list for the methods can be found here.