Add X, Y, Z Coordinates Batch
Adds X, Y, Z coordinates in a batch mode to the attribute table of multipoint, polyline or polygon layers.
Parameter |
Comments |
Input features <Input_Features;Input_Features...> |
The point, polyline or polygon layers for which X, Y, and Z coordinates will be added to the attribute tables. |
Source point type for multipoints <CENTER_POINT | NEAREST_TO_CENTER> |
Specifies, coordinates of what source point will be added to attribute tables of multipoint layers:
• CENTER - coordinates of the central point will be added • NEAREST_TO_CENTER - coordinates of the real point nearest to center will be added
|
Source point type for polylines <CENTER | FROM | TO>
|
Specifies, coordinates of what source point will be added to attribute tables of polyline layers: • CENTER - coordinates of the central point will be added • FROM - coordinates of the first polyline point will be added • TO - coordinates of the last polyline point will be added
|
Source point type for polygons <CENTER | LABEL>
|
Specifies, coordinates of what source point will be added to attribute tables of polygon layers:
• CENTER - coordinates of the central point will be added • LABEL - coordinates of the label point will be added
|
X/Longitude Field Name {X_Field_Name} |
X coordinate output field name. |
Y/Latitude Field Name {Y_Field_Name} |
Y coordinate output field name. |
Z Field Name {Z_Field_Name} |
Z coordinate output field name. |
Output Spatial Reference {Output_Spatial_Reference} |
Specifies if coordinates will be projected using the selected output spatial reference. |
Angular Units Format {DDM | DMS} |
Specified if coordinates in decimal degrees (DD) will be converted into DMS (D° M' S.SS") or DDM (D° M.MM') format. |
Note:
This XTools Pro geoprocessing script is similar to the XTools Pro Add X,Y,Z Coordinates geoprocessing tool but allows for batch processing.