UniversalTransverseMercatorTryParse(String, UniversalTransverseMercator) Method
Attempts to parse a string into an UTM coordinate.
Namespace: CoordinateSharpAssembly: CoordinateSharp (in CoordinateSharp.dll) Version: 3.1.1.1
XMLNS for XAML: Not mapped to an xmlns.
public static bool TryParse(
string value,
out UniversalTransverseMercator utm
)
- value String
- string
- utm UniversalTransverseMercator
- UniversalTransverseMercator
BooleanUniversalTransverseMercator
The following example attempts to parse a UTM coordinate set with the default WGS84 ellipsoid.
UniversalTransverseMercator utm;
if(!UniversalTransverseMercator.TryParse("16U 500872mE 5505009mN", out utm))
{
Console.WriteLine(utm);//16U 500872mE 5505009mN
}