List To FeatureSet <T> Activity

Description:

Converts an arbitrary collection of objects into a FeatureSet.

Inheritance Hierarchy:

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

Function:

This activity allows a FeatureSet to be created from a list of arbitrary objects.

In a Workflow:

Given a list of objects of a particular type (IEnumerable<T>), this activity can convert those objects into a FeatureSet by mapping each public property of the type to an attribute. The activity can also construct geometries for the features if you provide a conversion function.

Properties:

Name Description

In Arguments

Geometry Converter

A conversion function to obtain a Geometry from each item.

For example, Function(item) New MapPoint(item.X, item.Y) With { .SpatialReference = new SpatialReference(4326) }

Items

The input collection.

Misc

Display Name

ListToFeatureSet

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

Result

The result FeatureSet.

Version Information:

Supported from: Geocortex Essentials 4.0.