TransverseMercatorConversion Class

The transverse Mercator projection (EPSG method 9807), also known as Gauss–Krüger: the projection of UTM and of many national grids, such as the British National Grid. It is conformal and true to scale (times TransverseMercatorConversion.ScaleFactor) along its central meridian.

public sealed class TransverseMercatorConversion : CoordinateConversion

Remarks

The formulas are the series of Krüger to the sixth order in the third flattening, as given by Karney (2011) and used by PROJ: they are accurate to a few nanometers within 3,000 km of the central meridian.

Inheritance
CoordinateConversion TransverseMercatorConversion

Constructors

NameDescription
TransverseMercatorConversion()

TransverseMercatorConversion()

TransverseMercatorConversion.cs
public TransverseMercatorConversion()

No documentation is available.

Properties

NameDescription
ScaleFactorGets the scale factor on the central meridian, such as 0.9996 for UTM. The default is 1.

Gets the scale factor on the central meridian, such as 0.9996 for UTM. The default is 1.

public double ScaleFactor { get; init; }

Property value

double

Methods

NameDescription
Project(double, double, Ellipsoid)Projects a longitude and a latitude.
Unproject(double, double, Ellipsoid)Converts an easting and a northing back to a longitude and a latitude: the inverse of CoordinateConversion.Project.

Project(double, double, Ellipsoid)

TransverseMercatorConversion.cs

Projects a longitude and a latitude.

public override (double Easting, double Northing) Project(double lambda, double phi, Ellipsoid ellipsoid)

Parameters

lambda double
The longitude from the prime meridian, in radians.
phi double
The latitude, in radians.
ellipsoid Ellipsoid
The ellipsoid of the longitudes and the latitudes.

Returns

(double Easting, double Northing) The easting and the northing, in meters.

Unproject(double, double, Ellipsoid)

TransverseMercatorConversion.cs

Converts an easting and a northing back to a longitude and a latitude: the inverse of CoordinateConversion.Project.

public override (double Lambda, double Phi) Unproject(double easting, double northing, Ellipsoid ellipsoid)

Parameters

easting double
The easting, in meters.
northing double
The northing, in meters.
ellipsoid Ellipsoid
The ellipsoid of the longitudes and the latitudes.

Returns

(double Lambda, double Phi) The longitude from the prime meridian and the latitude, in radians.