The Cast Geometry activity casts a geometry to a specific type.
A workflow could use the Display Form activity with a Geometry Picker form element to capture a point geometry. The type of the Geometry Picker’s value output is esri.Geometry (3.x, 4.x)*, not esri.Point (3.x, 4.x)*, even though the Geometry Picker is configured to capture a point. As a result, using the geometry as the input to an activity that expects a point geometry results in a type validation error in Designer. For example, using the geometry as the Location input to the Reverse Geocode activity would result in an error. To avoid the error, first use the Cast Geometry activity to return a properly typed point.
* 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.
point |
The geometry as a point. |
polygon |
Type: esri.Polygon (3.x, 4.x)* The geometry as a polygon. |
polyline |
Type: esri.Polyline (3.x, 4.x)* The geometry as a polyline. |
extent |
The geometry as an extent. |
multipoint |
Type: esri.Multipoint (3.x, 4.x)* The geometry as a multipoint. |
* 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.
For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.
This activity works when the device has intermittent connectivity to the network.
Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.