Open Table of Contents

ET GeoWizards Toolbox

Calculate Area

Calculates the area of polygons. Please see the explanations below

Command line syntax 

ET_GPCalculateArea <input_dataset> {calc_spatial_reference} { | Square Meters | Square Kilometers | Acres | Square Miles | Hectares | Square Yards | Square Feet} {Area_field}

Parameters

Expression Explanation
<input_dataset> A Polygon feature class or feature layer.
{calc_spatial_reference} The spatial reference in which the calculations will be performed. If not specified the spatial reference of the input dataset will be used.
NOTE: The spatial reference of the input dataset and the Calculations spatial reference must have the same Geographic Coordinate System
{ | Square Meters | Square Kilometers | Acres | Square Miles | Hectares | Square Yards | Square Feet} Output Units. A String that defines the units in which the area will be calculated.
NOTE: If the the Calculations spatial reference is a Geographic Coordinate System, this parameter will be ignored and the results will be calculated in decimal degrees!!!
{Area_field} Area Field. A String indicating an existing field in which the results for the area will be stored. If not specified a new field "ET_Area" will be created

Scripting syntax

ET_GPCalculateArea (input_dataset, calc_spatial_reference, output_units, Area_field)

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