GeoprocessingFeatures class final
The geoprocessing features used as input or output parameters.
Corresponds to GPRecordSet and GPFeatureRecordSetLayer parameter types on the service.
A feature contains a GeoprocessingFeatures.features and may contains extra attributes on GeoElement.attributes collection. A record (or a row) doesn't contain Feature and information is stored in attributes on GeoElement.attributes collection.
When GeoprocessingFeatures.features are returned as an output parameter the returned results are provided as a read-only list of Feature using GeoprocessingFeatureSet. These features can be visualized on a map using temporary Graphic on a GraphicsOverlay or using FeatureCollectionTable on a FeatureCollectionLayer. If used geoprocessing service is configured to use a result map server, then GeoprocessingResult.mapImageLayer was populated and it can be used to visualize the results using the symbology predefined by the service.
When providing GeoprocessingFeatures as an input to the geoprocessing task, features can be provided directly from the FeatureQueryResult that was returned from the FeatureTable. If there is a need to create a new set a features or records, FeatureCollectionTable can be used.
- Inheritance
-
- Object
- GeoprocessingParameter
- GeoprocessingFeatures
Constructors
- GeoprocessingFeatures(FeatureSet? features)
-
Create a geoprocessing features parameter with an input FeatureSet.
factory
- GeoprocessingFeatures.withUri(Uri uri)
-
Create a geoprocessing features parameter with a URL for the service to
retrieve a feature set for input.
factory
Properties
- canFetchOutputFeatures → bool
-
Indicates if features can be fetched from the service of an output
parameter.
no setter
- features ↔ FeatureSet?
-
The features that are sent to or returned from the geoprocessing service.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri ↔ Uri?
-
The input URL that will be sent to the geoprocessing service to retrieve
features.
getter/setter pair
Methods
-
fetchOutputFeatures(
) → Future< void> - Starts a request to fetch output features from the service.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited