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. |
* Geocortex 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. |
* Geocortex 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 |
|||
Geocortex Web |
Geocortex Mobile |
Geocortex Viewer for HTML5 |
Web AppBuilder |
|
---|---|---|---|---|
|
|
|
|
|
Offline Support
This activity does not work when the device is offline except when using the Geocortex Mobile App Framework.
This activity works when the device is offline with some limitations:
Geocortex Mobile App Framework provides partial support for the following inputs:
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
https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-projection.html