Open Table of Contents

Point Coordinates

This function is not available via the GUI of ET GeoWizards.

Calculates the coordinates of the points from a point dataset in the units of the spatial reference of the dataset, Decimal Degrees or Degrees Minutes Seconds. Two new fields are added to the attribute table. The names depending on the output units are:

If the input dataset is projected and the selected output units are Decimal Degrees or Degrees Minutes Seconds, the shapes are projected on the fly to the Geographic Coordinate System of the projection of the input dataset before calculating the coordinates.

Command line syntax 

ET_GPPointCoordinates <input_dataset> < | Dataset Units | Decimal Degrees | Degrees Minutes Seconds> {precision} {use_direction}


Expression Explanation
<input_dataset> A Point feature class or feature layer.
< | Dataset Units | Decimal Degrees | Degrees Minutes Seconds> Output Units. The units to be used for the calculations.
{precision} An Integer between 0 and 8 representing the number of places after the decimal point to be used.
{use_direction} A Boolean. If True - a direction for coordinates in Degrees Minutes Seconds (3525'34.23"W), If False - (-3525'34.23")

Scripting syntax

ET_GPPointCoordinates (input_dataset, output_units, precision, use_direction)

See the explanations above:
<> - required parameter
{} - optional parameter

Copyright Ianko Tchoukanski