Areas and Lengths Task Activity

Description:

Uses the ArcGIS Geometry Service to calculate the areas and lengths of polygons.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.CodeActivity
      Geocortex.Workflow.Activities.AreasAndLengthsTask

Function:

This activity computes the areas and perimeters of a collection of polygons using the specified units.

In a Workflow:

After performing a query to obtain a set of polygon features this activity could be used to compute the areas of the features.

Properties:

Name Description

In Arguments

Calculation Type

The type of calculation to perform (Planar, Geodesic, PreserveShape). Requires ArcGIS Server v.10.1+.

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.

Graphics

The graphics used to calculate areas and lengths.

Length Unit

The unit of length in which perimeters of polygons must be calculated. If the length unit is not specified, the units are derived from the spatial reference of the first geometry.

Area Unit

The area unit in which the areas of polygons must be calculated. If the area unit is not specified, the units are derived from the spatial reference of the first geometry.

Geometry Service Url

The URL of the ArcGIS Server Geometry service. For example: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer.

Token

The token for accessing a secure ArcGIS task.

Proxy Url

The URL to proxy the request through.

Misc

Display Name

AreasAndLengthsTask

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.

Out Arguments

Results

The calculated areas and lengths.

Version Information:

Supported from: Geocortex Essentials 3.8.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 4.11