Zusammenfassung
Converts a coordinate system notation string to a PointGeometry object in WGS84 coordinates.
Diskussion
To create a coordinate system notation string, use the PointGeometry object's toCoordString method.
Syntax
FromCoordString (string, notation)
Parameter | Erläuterung | Datentyp |
string | The input coordinates. | String |
notation | The coordinate system notation of the input string.
| String |
Datentyp | Erläuterung |
PointGeometry | A PointGeometry object with a coordinate system of WGS84 (wkid=4326). |
Codebeispiel
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')