Generalize Geometry Activity

Description

Performs a generalize operation on the geometry. The output geometry will contain a subset of the original vertices.

Offline Support

This activity works when the device is offline.

Inputs

Geometry

Required

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

The geometry to generalize.

Max Deviation

Required

Type: Number

The maximum allowed deviation from the generalized geometry to the original geometry.

Remove Degenerate Parts

Required

Type: Boolean

When true, the degenerate parts of the geometry will be removed from the output. Degenerate parts may be undesirable for drawing.

Unit

Required

Type: String | Number

Measurement unit for maxDeviation.

Defaults to the units of the input geometry.

Known values: meters | feet | kilometers | miles | nautical-miles | yards.

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

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

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.11