GEOREFConvertGEOREFtoLatLong(String, String, String, String, EagerLoad) Method

Converts GEOREF to Lat/Long Coordinate.

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 2.21.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
public static Coordinate ConvertGEOREFtoLatLong(
	string quad_15,
	string quad_1,
	string easting,
	string northing,
	EagerLoad el
)

Parameters

quad_15  String
15 Degree Quadrangle
quad_1  String
1 Degree Quadrangle
easting  String
Easting
northing  String
1Northing
el  EagerLoad
EagerLoad

Return Value

Coordinate
Coordinate

Example

The following example creates (converts to) a geodetic Coordinate object based on a GEOREF object. Performance is maximized by turning off EagerLoading.
C#
EagerLoad el = new EagerLoad(false);
c = GEOREF.ConvertGEOREFtoLatLong("SK", "FB", 145200, 367200, el);
Console.WriteLine(c); //N 46º 36' 43.2" E 65º 14' 31.2"

See Also