MilitaryGridReferenceSystemParse(String, Earth_Ellipsoid_Spec) Method
Parses a string into an MGRS coordinate.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 2.21.1.1
XMLNS for XAML: Not mapped to an xmlns.
public static MilitaryGridReferenceSystem Parse(
string value,
Earth_Ellipsoid_Spec spec
)
- value String
- string
- spec Earth_Ellipsoid_Spec
- Earth_Ellipsoid_Spec
MilitaryGridReferenceSystemMilitaryGridReferenceSystem
The following example parses an MGRS coordinate set with a GRS80 system ellipsoid.
MilitaryGridReferenceSystem mgrs = MilitaryGridReferenceSystem.Parse("16U EA 00872 05009", Earth_Ellipsoid_Spec.GRS80_1979);