Project Geometry Activity

Description

The Project Geometry activity projects a geometry or set of geometries to a new spatial reference using an ArcGIS Server geometry service if one is provided.

Inputs

Url

Optional

Type: String

The URL of the ArcGIS geometry service. If a url is not specified, the ArcGIS API will be used if possible. If that is not possible, the geometry service at https://utility.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer will be used.

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.

* 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

geometry

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

The first result geometry.

results

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

The result geometries.

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

Supported Environments

Environments capable of running this activity

Server

 

Client

Web

Mobile

Experience Builder

Web AppBuilder

Geocortex Viewer for HTML5

Levels of Support:      Full Support      Partial Support      No Support

Connectivity Requirements

This activity does not work when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.

See also...

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

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