Geoprocessor Activity

Description:

Uses the ArcGIS Geoprocessing Service to perform geoprocessing tasks.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.NativeActivity
      Geocortex.Workflow.Activities.Geoprocessor

Function:

You can use the Geoprocessor Activity to access a geoprocessing task service in order to either execute a synchronous task or submit a job for a task that will run asynchronously.

In a Workflow:

You could use this feature to make use of ArcGIS geoprocessing services, for example, the Extract Data geoprocess that allows a user to select an area on a map. The geoprocessor then clips the data from that area and zips it for use later. The Extract Data feature in the Viewer, which is implemented as a workflow, uses this activity.

You must supply a value for each of the GPParameter input and output arguments of the geoprocessing task.

Properties:

Name Description

In Arguments

Credentials

The network credentials that are sent to the host and used to authenticate the request.

Custom Parameters

Additional parameters to include in the request.

Disable Client Caching

If true, adds a timestamp parameter (_ts) to the request to prevent it from being loaded from the application's cache.

Geoprocessor Url

The URL of the ArcGIS Server Geoprocessing service task. For example: http://server/arcgis/rest/services/<serviceName>/GPServer/<taskName>.

If your geoprocessing service is a secured and requires a security token, you can append a token to the task name in the URL. For example, <taskName>?token=myToken.

Output Spatial Reference

The spatial reference of the output geometries. If this is not specified, the output geometries are in the spatial reference of the input geometries. If ProcessSpatialReference is specified and OutputSpatialReference is not specified, the output geometries are in the spatial reference of the process spatial reference.

Process Spatial Reference

The spatial reference that the model uses to perform geometry operations. If specified, and OutputSpatialReference is not specified, the output geometries are in the spatial reference of the process spatial reference.

Proxy Url

The URL to proxy the request through.

Return M

If true, M values will be included in the results if the features have M values. Requires ArcGIS Server v.10.1+.

Return Z

If set to true, if the features have Z values, they are included in the results. Requires ArcGIS Server v.10.1+.

Token

The token needed to access a secure ArcGIS task.

Update Delay

The time interval in milliseconds between each job status request sent to an asynchronous geoprocessing task. The default is 1000.

Misc

Display Name

Geoprocessor

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

Is Asynchronous

A value indicating whether the geoprocessing service executes asynchronously. This value must match the behavior of the geoprocessing service.

Wait On Server

A value indicating whether the server should wait for an asynchronous geoprocessing task to complete (blocking).

Out Arguments

Job Id

The unique job ID assigned by ArcGIS for Server. The unique ID is only set if the geoprocessing task runs asynchronously.

Messages

The messages returned from the geoprocessing task.

Version Information:

Supported from: Geocortex Essentials 3.5, Geocortex Viewer for Silverlight 1.3, Geocortex Viewer for HTML5 1.0.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 4.11