Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Calculate Area Activity

Prev Top Next More

Description

Calculates the area of the input geometry.

Usage

You may need to calculate the area of a geometry. You could perform a query using the Query Layer activity then calculate the area of one of the resulting features

Inputs

Geometry

Required

Type: esri.Polygon (3.x, 4.x)*

The polygon whose area is being calculated.

Geodesic

Optional

Type: Boolean

Determines whether the area to be calculated is geodesic. If not, the planar area is returned. Defaults to false.

Geodesic areas only work with WGS84 (WKID: 4326) and Web Mercator spatial references.

Unit

Optional

Type: String | Number

The measurement unit of the return value.

Defaults to the units of the input geometry.

Known values: acres | ares | hectares | square-feet | square-meters | square-yards | square-kilometers | square-miles.

* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Outputs

area

Type: Number

The result area.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (220a4365)