GeographicLib 2.1.2
GeographicLib library
Author
Charles F. F. Karney (charl.nosp@m.es@k.nosp@m.arney.nosp@m..com)
Version
2.1.2
Date
2022-12-13

Abstract

GeographicLib is a small C++ library for

  • 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.

The emphasis is on returning accurate results with errors close to round-off (about 5–15 nanometers). 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 or from the Utility programs provided.

It is licensed under the MIT License; see LICENSE.txt.

This library is not a general purpose projection library nor does it perform datum conversions; instead use PROJ.

NOTE: Starting with version 2.0, this library only includes the C++ implementation. If you're interested in the C, Fortran, Python, Octave/MATLAB, Java, or JavaScript implementations, go here on the main GeographicLib web page.

Links

Citing GeographicLib

When citing GeographicLib, use (adjust the version number and date as appropriate)

Contents

Forward to Introduction.