Project Geometry Activity

Description

The Project Geometry activity projects a set of geometries to a new spatial reference using ArcGIS Server geometry services.

Offline Support

This activity does not work when the device is offline except when using the Geocortex Mobile App Framework.

In order for this activity to work when the device is offline, the application must run in the Geocortex Mobile App Framework.

Geocortex Mobile App Framework provides partial support for the following inputs:

Inputs

Url

Required

Type: String

The URL of the ArcGIS geometry service.

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

Geometry

Required

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

The input geometry or geometries to project.

Out Spatial Reference

Required

Type: String | Number | esri.SpatialReference (3.x, 4.x)*

The spatial reference to which you are projecting the geometries.

Transformation

Optional

Type: String | Number | Object

The well-known id {wkid:number} or well-known text {wkt:string} of the datum transformation to be applied to the projected geometries.

Reverse

Optional

Type: Boolean

Whether to transform forward or not.

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

results

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

The result geometries.

* 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

© 2018 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.9