Namespaces
TransverseMercator.cpp File Reference

Implementation for GeographicLib::TransverseMercator class. More...

#include "GeographicLib/TransverseMercator.hpp"
#include "GeographicLib/Constants.hpp"
#include <limits>

Go to the source code of this file.

Namespaces

namespace  GeographicLib

Detailed Description

Implementation for GeographicLib::TransverseMercator class.

Copyright (c) Charles Karney (2008) <charles@karney.com> and licensed under the LGPL.

This implementation follows closely JHS 154, ETRS89 - järjestelmään liittyvät karttaprojektiot, tasokoordinaatistot ja karttalehtijako (Map projections, plane coordinates, and map sheet index for ETRS89), published by JUHTA, Finnish Geodetic Institute, and the National Land Survey of Finland (2006).

The relevant section is available as the 2008 PDF file http://docs.jhs-suositukset.fi/jhs-suositukset/JHS154/JHS154_liite1.pdf

This is a straight transcription of the formulas in this paper with the following exceptions:

If the preprocessor variable TM_TX_MAXPOW is set to an integer between 4 and 8, then this specifies the order of the series used for the forward and reverse transformations. The default value is 6. (The series accurate to 12th order is given in Series approximation for transverse Mercator.)

Other equivalent implementations are given in

Definition in file TransverseMercator.cpp.