Click or drag to resize

UniversalTransverseMercatorConvertUTMtoLatLong Method (UniversalTransverseMercator, EagerLoad)

Converts UTM coordinate to Lat/Long

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.5.1.1
Syntax
C#
public static Coordinate ConvertUTMtoLatLong(
	UniversalTransverseMercator utm,
	EagerLoad eagerLoad
)

Parameters

utm
Type: CoordinateSharpUniversalTransverseMercator
utm
eagerLoad
Type: CoordinateSharpEagerLoad
EagerLoad

Return Value

Type: Coordinate
Coordinate
Examples
The following example creates (converts to) a geodetic Coordinate object based on a UTM object. Performance is maximized by turning off EagerLoading.
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