GEOREFConvertGEOREFtoLatLong(GEOREF, EagerLoad) Method
Converts GEOREF to Lat/Long Coordinate.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public static Coordinate ConvertGEOREFtoLatLong(
GEOREF georef,
EagerLoad el
)
- georef GEOREF
- GEOREF
- el EagerLoad
- EagerLoad
CoordinateCoordinate
The following example creates (converts to) a geodetic Coordinate object based on a GEOREF object.
Performance is maximized by turning off EagerLoading.
EagerLoad el = new EagerLoad(false);
GEOREF geo = new GEOREF("SK", "FB", 145200, 367200);
c = GEOREF.ConvertGEOREFtoLatLong(geo, el);
Console.WriteLine(c); //N 46º 36' 43.2" E 65º 14' 31.2"