Click or drag to resize

UniversalTransverseMercatorConvertUTMtoSignedDegree Method

Converts UTM coordinate to Signed Degree Lat/Long

Namespace:  CoordinateSharp
Assembly:  CoordinateSharp (in CoordinateSharp.dll) Version: 2.5.1.1
Syntax
C#
public static double[] ConvertUTMtoSignedDegree(
	UniversalTransverseMercator utm
)

Parameters

utm
Type: CoordinateSharpUniversalTransverseMercator
utm

Return Value

Type: Double
Coordinate
Examples
The following example creates (converts to) a signed degree lat long based on a UTM object.
UniversalTransverseMercator utm = new UniversalTransverseMercator("T", 32, 233434, 234234);
double[] signed = UniversalTransverseMercator.ConvertUTMtoSignedDegree(utm);
Coordinate c = new Coordinate(signed[0], signed[1], new EagerLoad(false));
Console.WriteLine(c); //N 2º 7' 2.332" E 6º 36' 12.653"
See Also