MilitaryGridReferenceSystemParse(String, Earth_Ellipsoid_Spec) Method

Parses a string into an MGRS 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 MilitaryGridReferenceSystem Parse(
	string value,
	Earth_Ellipsoid_Spec spec
)

Parameters

value  String
string
spec  Earth_Ellipsoid_Spec
Earth_Ellipsoid_Spec

Return Value

MilitaryGridReferenceSystem
MilitaryGridReferenceSystem

Example

The following example parses an MGRS coordinate set with a GRS80 system ellipsoid.
C#
MilitaryGridReferenceSystem mgrs = MilitaryGridReferenceSystem.Parse("16U EA 00872 05009", Earth_Ellipsoid_Spec.GRS80_1979);

See Also