GEOREFConvertGEOREFtoSignedDegree Method
Converts GEOREF to Signed Degree Lat/Long double array.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public static double[] ConvertGEOREFtoSignedDegree(
GEOREF georef
)
- georef GEOREF
- GEOREF
Doubledouble[lat, lng]
The following example creates (converts to) a geodetic lat / long double array object based on a GEOREF object.
GEOREF geo = new GEOREF("SK", "FB", 145200, 367200);
double[] signed = GEOREF.ConvertGEOREFtoSignedDegree(geo);
Coordinate c = new Coordinate(signed[0], signed[1], new EagerLoad(false));
Console.WriteLine(c); //N 46º 36' 43.2" E 65º 14' 31.2"