Get Geometry Relation (server) Activity

Description

The Get Geometry Relation (server) activity computes the set of pairs of geometries from the input geometry arrays that belong to the specified relation.

Offline Support

This activity does not work when the device is offline.

Inputs

Url

Required

Type: String

The URL of the ArcGIS geometry service.

For example, https://utility.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer.

Geometry1

Required

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

The first array of geometries to compute the relation.

Geometry2

Required

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

The second array of geometries to compute the relation.

Relation

Optional

Type: "cross" | "disjoint" | "in" | "interior-intersection" | "intersection" | "line-coincidence" | "line-touch" | "overlap" | "point-touch"| "touch"| "within" | String

The spatial relationship to be tested between the two input geometry arrays.

The default is "intersection".

Dimensionally Extended 9 Intersection Model (DE-9IM) matrix relation strings are also supported.

* 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

incident

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

The array of geometries that meet the specified relation.

incidents

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

The array of geometries that meet the specified relation.

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

See Also...

https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.11