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 : CoordinateConversionRemarks
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
CoordinateConversionTransverseMercatorConversion
Constructors
| Name | Description |
|---|---|
| TransverseMercatorConversion() |
TransverseMercatorConversion()
TransverseMercatorConversion.cspublic TransverseMercatorConversion()No documentation is available.
Properties
| Name | Description |
|---|---|
| ScaleFactor | Gets the scale factor on the central meridian, such as 0.9996 for UTM. The default is 1. |
ScaleFactor
TransverseMercatorConversion.csMethods
| Name | Description |
|---|---|
| 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.csProjects a longitude and a latitude.
public override (double Easting, double Northing) Project(double lambda, double phi, Ellipsoid ellipsoid)Parameters
lambdadouble- The longitude from the prime meridian, in radians.
phidouble- The latitude, in radians.
ellipsoidEllipsoid- 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.csConverts 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
eastingdouble- The easting, in meters.
northingdouble- The northing, in meters.
ellipsoidEllipsoid- The ellipsoid of the longitudes and the latitudes.
Returns
(double Lambda, double Phi) The longitude from the prime meridian and the latitude, in radians.