Summary
Converts a coordinate system notation string to a PointGeometry object in WGS84 coordinates.
Discussion
To create a coordinate system notation string, use the PointGeometry object's toCoordString method.
Syntax
FromCoordString (string, notation)
Parameter | Explanation | Data Type |
string | The input coordinates. | String |
notation | The coordinate system notation of the input string.
| String |
Data Type | Explanation |
PointGeometry | A PointGeometry object with a coordinate system of WGS84 (wkid=4326). |
Code sample
Create a PointGeometry object from a United States National Grid string.
import arcpy
coord_string = '14S PB 59361 43195'
point_geometry = arcpy.FromCoordString(coord_string, 'USNG')