Skip To Content

Perform geometry calculations

You can use this action to perform different geometry service calculations. With this action, you can either calculate the areas and perimeters of polygons or you can return buffer polygons. This action can also return an array of polygons at the specified distances for the input geometry. For more information, see the Esri Developer documentation about the geometry service.

Available connectors

  • ArcGIS Online (ArcGIS)
  • ArcGIS Enterprise
  • ArcGIS PaaS

Parameters

NameKeyRequiredTypeDescription

Geometric operation

operation

Yes

string

Select an operation to perform.

Additional parameters: Areas and lengths

These parameters appear when Areas and lengths on a batch (array) of polygons is selected.

NameKeyRequiredTypeDescription

Polygons

polygons

Yes

array of string

Enter the array of polygons whose areas and lengths are to be computed.

Spatial reference

sr

Yes

string

Enter the well-known ID (WKID) of the spatial reference or a spatial reference JSON object.

Length unit

lengthUnit

No

string

Select the units for calculating lengths. If not specified, the units of the spatial reference is used.

Area unit

areaUnit

No

string

Select the units for calculating areas. If not specified, the units of the spatial reference is used.

Additional parameters: Buffers

These parameters appear when Buffer geometry is selected.

NameKeyRequiredTypeDescription

Geometries

geometries

Yes

array of string

Enter the array of geometries to be buffered.

Distance

distances

Yes

array of number

Enter the distances by which each of the input geometries is buffered.

Unit

unit

Yes

string

Select the units for calculating each buffer distance.

Input spatial reference

inSR

Yes

string

Enter the spatial reference of the input geometry. This can either be a well-known ID or well-known text representation of the spatial reference.

Output spatial reference

outSR

No

string

Enter the spatial reference of the output geometry. This parameter appears when Advanced parameters is expanded. This can either be a well-known ID or well-known text representation of the spatial reference. If not specified, the spatial reference of the input geometry is used.