GeoConvert.ParsePointText

GeoConvert.ParsePointText method

Converts the string that contains сoordinates to IPoint object.

public static IPoint ParsePointText(string text)
ParameterTypeDescription
textStringA string that contains coordinates to convert. The string should contain both coordinate latitude and longitude. Coordinates should be separated by whitespace, by comma or by semicolon.

Return Value

IPoint object with coordinates that are equivalent to the input string.

Exceptions

exceptioncondition
GisException

Remarks

Examples: “80° 151°”, “74°50.82’, 172°08.21’”, “80°;151°”, “2CMB”, “2CMB6682893142”, “2C MB 66828 93142”, “WMAQ12405535”.

See Also