Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Cast Geometry Activity

Prev Top Next More

Description

The Cast Geometry activity casts a geometry to a specific type.

Usage

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.

Inputs

Geometry

Required

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

The input geometry.

* 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

point

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

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

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

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.

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 (58a5caf5)