Introduction

Forward to Code organization. Up to Contents.

GeographicLib offers a C++ interfaces to a small (but important!) set of geographic transformations. It grew out of a desire to improve on the geotrans package for transforming between geographic and MGRS coordinates. At present, GeographicLib provides UTM, UPS, MGRS, geocentric, and local cartesian projections, geoid heights, and classes for geodesic calculations.

The goals of GeographicLib are:

Various Utility Programs are provided with the library. These illustrate the use of the library and are useful in their own right. This library and the utilities have been tested with g++ 4.4 under Linux, with g++ 4.2 under Mac OS X, and with MS Visual Studio 2008.

The section Transverse Mercator Projection documents various properties of this projection.

The section Geodesics on the Ellipsoid documents (still rather incompletely) the method of solving the geodesic problem.

Undoubtedly, bugs lurk in this code and in the documentation. Please report any you find to <charles@karney.com>.

Forward to Getting Started. Up to Contents.