GeographicLib is a small set of C++ classes for performing conversions
between geographic, UTM, UPS, MGRS, geocentric, and local Cartesian
coordinates, for gravity (e.g., EGM2008), geoid height and geomagnetic
field (e.g., WMM2010) calculations, and for solving geodesic problems.
The emphasis is on returning accurate results with errors close to round-off
(about 5–15 nanometers). New accurate algorithms for Geodesics on an
ellipsoid of revolution and Transverse Mercator projection have been
developed for this library. The functionality of the library can be accessed
from user code, from the Utility programs provided, or via the
Implementations in other languages.
CartConvert Convert geodetic coordinates to either geocentric or local cartesian coordinates. Geocentric coordinates have the origin at the center of the earth, with the z... ConicProj Perform one of two conic projections geodesics. Convert geodetic coordinates to either Lambert conformal conic or Albers equal area coordinates. The standard... GeoConvert GeoConvert reads from standard input interpreting each line as a geographic coordinate and prints the coordinate in the format specified by the options on... GeodesicProj Perform projections based on geodesics. Convert geodetic coordinates to either azimuthal equidistant, Cassini-Soldner, or gnomonic coordinates. The center of... GeodSolve The shortest path between two points on the ellipsoid at (lat1, lon1) and (lat2, lon2) is called the geodesic. Its length is s12 and the geodesic from point 1... GeoidEval GeoidEval reads in positions on standard input and prints out the corresponding heights of the geoid above the WGS84 ellipsoid on standard output. Positions are... Gravity Gravity reads in positions on standard input and prints out the gravitational field on standard output. The input line is of the form lat lon h. lat and lon are... MagneticField MagneticField reads in times and positions on standard input and prints out the geomagnetic field on standard output and, optionally, its rate of change. The... Planimeter Measure the area of a geodesic polygon. Reads polygon vertices from standard input, one per line. Vertices may be given as latitude and longitude, UTM/UPS, or... RhumbSolve The path with constant heading between two points on the ellipsoid at (lat1, lon1) and (lat2, lon2) is called the rhumb line or loxodrome. Its length is s12 and... TransverseMercatorProj Perform the transverse Mercator projections. Convert geodetic coordinates to transverse Mercator coordinates. The central meridian is given by lon0. The... geographiclib-get-geoids geographiclib-get-geoids downloads and installs the geoids datasets used by GeographicLib, <http://geographiclib.sf.net>. For documentation, supply the -h... geographiclib-get-gravity geographiclib-get-gravity downloads and installs the gravity datasets used by GeographicLib, <http://geographiclib.sf.net>. For documentation, supply the -h... geographiclib-get-magnetic geographiclib-get-magnetic downloads and installs the magnetic datasets used by GeographicLib, <http://geographiclib.sf.net>. For documentation, supply the -h...