GeographicLib

GeographicLib is collection of libraries descended from an original C++ library by Charles Karney which started in 2008. That C++ library now offers:

  • geodesic and rhumb line calculations;

  • conversions between geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates;

  • gravity (e.g., EGM2008) and geomagnetic field (e.g., WMM2020) calculations.

Portions of the library (particularly the geodesic routines) have also been implemented in a few other languages. Prior to version 2.0, all the implementations were bundled together in the same repository. Now they have been separated into a family of repositories on github.

Indices and tables