GeographicLib 2.3
Loading...
Searching...
No Matches
GeographicLib library
Author
Charles F. F. Karney (karne.nosp@m.y@al.nosp@m.um.mi.nosp@m.t.ed.nosp@m.u)
Version
2.3
Date
2023-07-25

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.