Resumen
Converts a coordinate system notation string to a PointGeometry object in WGS84 coordinates.
Debate
To create a coordinate system notation string, use the PointGeometry object's toCoordString method.
Sintaxis
FromCoordString (string, notation)
Parámetro | Explicación | Tipo de datos |
string | The input coordinates. | String |
notation | The coordinate system notation of the input string.
| String |
Tipo de datos | Explicación |
PointGeometry | A PointGeometry object with a coordinate system of WGS84 (wkid=4326). |
Muestra de código
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')