Open Table of Contents
ET GeoWizards Toolbox
Calculate
Calculates some spatial characteristics of the
shapes. The results are added in new fields in the attribute table of the
original dataset.
Note: For more flexible Area or Length
calculations see Calculate Area and Calculate Length tools
Command line syntax
ET_GPCalculate <input_dataset>
<Area | Length | XYStart | XYEnd | XYMiddle | XYCenter | XYLabel | XY | Z |
M>
Parameters
| Expression |
Explanation |
| <input_dataset> |
A feature class or feature layer. |
| <Area
| Length | XYStart | XYEnd | XYMiddle | XYCenter | XYLabel | XY | Z |
M> |
Calculate
Task. A
String - defines the calculation to be performed
- Area - the area of polygons in the
units of the spatial reference of the dataset - Polygon datasets
- Length - the length of polylines or
the perimeter of polygons in the units of the spatial reference of
the dataset - Polygon or Polyline datasets/
- XYStart - the coordinates of the start
point of polylines or polygons - Polygon or Polyline datasets.
- XYStart - the coordinates of the end
point of polylines or polygons - Polygon or Polyline datasets.
- XYMiddle - the coordinates of the
middle point of polylines - Polyline datasets.
- XYCentre - the coordinates of
the centroid of polygons - Polygon datasets.
- XYLabel - the coordinates of the
label points of polygons - Polygon datasets.
- XY - the coordinates of points - Point
dataset
- Z - the Z value of points - PointZ
dataset
- M - the M value of points - PointZ
dataset
|
Scripting syntax
ET_GPCalculate (input_dataset, calc_task)
See the explanations above:
<> - required parameter
{} - optional parameter