Lengths Task Activity

Description:

Uses the ArcGIS Geometry Service to calculate the lengths of polylines.

Inheritance Hierarchy:

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

Function:

This activity computes the lengths of a collection of polylines using the specified units.

In a Workflow:

After performing a query to obtain a set of linear features, this activity can be used to compute the lengths of the features.

Properties:

Name Description

In Arguments

Calculation Type

The type of calculation to perform (Planar, Geodesic, PreserveShape).

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.

Geodesic

If polylines are in a geographic coordinate system, then geodesic needs to be set to true in order to calculate the ellipsoidal shortest distance between each pair of the vertices in the polylines. If LengthUnit is not specified, the output is returned in meters.

Graphics

The graphics used to calculate lengths.

Length Unit

The length unit in which the 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.

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

LengthsTask

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

Version Information:

Supported from: Geocortex Essentials 3.8.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 4.11