UniversalTransverseMercatorConvertUTMtoSignedDegree Method

Converts UTM coordinate to Signed Degree 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 double[] ConvertUTMtoSignedDegree(
	UniversalTransverseMercator utm
)

Parameters

utm  UniversalTransverseMercator
utm

Return Value

Double
double[]

Example

The following example creates (converts to) a signed degree lat long based on a UTM object.
C#
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