UniversalTransverseMercatorConvertUTMtoLatLong(UniversalTransverseMercator, EagerLoad) Method

Converts UTM coordinate to Lat/Long

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
public static Coordinate ConvertUTMtoLatLong(
	UniversalTransverseMercator utm,
	EagerLoad eagerLoad
)

Parameters

utm  UniversalTransverseMercator
utm
eagerLoad  EagerLoad
EagerLoad

Return Value

Coordinate
Coordinate

Example

The following example creates (converts to) a geodetic Coordinate object based on a UTM object. Performance is maximized by turning off EagerLoading.
C#
EagerLoad el = new EagerLoad(false);
UniversalTransverseMercator utm = new UniversalTransverseMercator("T", 32, 233434, 234234);
Coordinate c = UniversalTransverseMercator.ConvertUTMtoLatLong(utm, el);
Console.WriteLine(c); //N 2º 7' 2.332" E 6º 36' 12.653"

See Also