Add Lat/Long Coordinates Batch
Adds latitude and longitude coordinates in a batch mode to the attribute tables of multiple point, polyline or polygon layers.
Parameter |
Comments |
Input features <Input_Features;Input_Features...> |
The point, polyline or polygon layers for which Lat/Long coordinates will be added to the attribute tables. |
Source point type for multipoints <Source_Point_Type_For_Multipoints> <CENTER_POINT> |
Specifies, coordinates of what source point will be added to attribute tables of multipoint layers:
• CENTER_POINT - coordinates of the central point will be added
|
Source point type for polylines <Source_Point_Type_For_Polygons> <CENTER_POINT | FROM_POINT | TO_POINT>
|
Specifies, coordinates of what source point will be added to attribute tables of polyline layers: • CENTER_POINT - coordinates of the central point will be added • FROM_POINT - coordinates of the first polyline point will be added • TO_POINT - coordinates of the last polyline point will be added
|
Source point type for polygons <Source_Point_Type_For_Polygons> <CENTER_POINT | LABEL_POINT >
|
Specifies, coordinates of what source point will be added to attribute tables of polygon layers:
• CENTER_POINT - coordinates of the central point will be added • LABEL_POINT - coordinates of the label point will be added
|
Longitude field {Longitude_Field} |
Longitude output field name. |
Latitude field {Latitude_Field} |
Latitude output field name. |
Project data {Project_Data} |
Specifies if coordinates will be projected. |
Spatial reference {Spatial_Reference} |
Determines the output coordinates spatial reference. |
Note:
This XTools Pro geoprocessing script is similar to the XTools Pro Add Lat/Long Coordinates geoprocessing tool but allows for batch processing.