Calculate Area Activity

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

Offline Support

This activity works when the device is offline.

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.

* Geocortex Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of application. Web AppBuilder 2D apps and Geocortex HTML5 viewers use version 3.x of the JavaScript API. Web AppBuilder 3D apps use version 4.x.

Outputs

area

Type: Number

The result area.

Properties

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

Version Information

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

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.10