Calculate Geometry Difference Activity

Description

Calculates the difference of two geometries.

Usage

You may need to find the difference between two geometries. You could find the difference in geometries and then use the Calculate Area or Calculate Length activity to find out how much larger one geometry is than the other.

Offline Support

This activity works when the device is offline.

Inputs

Geometry

Required

Type: esri.Geometry (3.x, 4.x)* | esri.Geometry[] (3.x, 4.x)*

The input geometry to subtract from.

Subtractor

Optional

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

The geometry being subtracted from inclusion.

Symmetric

Optional

Type: Boolean

Whether the difference is symmetric or not. If true, the symmetric difference between leftGeometry and rightGeometry is returned. Otherwise, rightGeometry is subtracted from leftGeometry.

* 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

geometry

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

The first difference result.

results

Type: esri.Geometry[] (3.x, 4.x)*

The difference results.

* 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.

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.

© 2018 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.9