A features (or records) input or output parameter. More...
|Inherits:||Esri::ArcGISRuntime::GeoprocessingParameter and Esri::ArcGISRuntime::RemoteResource|
This class was introduced in Esri::ArcGISRuntime 100.0.
|GeoprocessingFeatures(Esri::ArcGISRuntime::FeatureSet *features, QObject *parent = nullptr)|
|GeoprocessingFeatures(const QUrl &url, QObject *parent = nullptr)|
|GeoprocessingFeatures(QObject *parent = nullptr)|
|Esri::ArcGISRuntime::FeatureSet *||features() const|
|void||setUrl(const QUrl &url)|
Reimplemented Public Functions
| ||credential() const override|
| ||requestConfiguration() const override|
| ||setRequestConfiguration(const Esri::ArcGISRuntime::RequestConfiguration &requestConfiguration) override|
|virtual QUrl||url() const override|
Corresponds to GPRecordSet and GPFeatureRecordSetLayer parameter types on the service.
When Features are returned as an output parameter, the returned features are provided in a GeoprocessingFeatureSet. These features can be visualized on a map using a temporary Graphic on a GraphicsOverlay or using a FeatureCollectionTable on a FeatureCollectionLayer. If the geoprocessing service used 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 of features or records, FeatureCollectionTable can be used.
Note: A feature contains a geometry and some number of attributes. A record (or a row) is a feature that doesn't contain a geometry, only attributes.
Member Function Documentation
GeoprocessingFeatures::GeoprocessingFeatures(Esri::ArcGISRuntime::FeatureSet *features, QObject *parent = nullptr)
Constructor that accepts a FeatureSet (features) and an optional parent object.
Constructor that accepts a URL (url) to a feature set for input, and an optional parent object.
GeoprocessingFeatures::GeoprocessingFeatures(QObject *parent = nullptr)
Constructor that accepts an optional parent object.
[signal] void GeoprocessingFeatures::fetchOutputFeaturesCompleted(QUuid taskId)
The signal emitted when the fetchOutputFeatures task with the ID taskId completes.
Returns whether features can be fetched from the service of an output parameter.
This property applies to output parameters. It indicates that the parameter is an output parameter that can fetch features from the geoprocessing service. Depending on the type of the service, the features may already be available.
Esri::ArcGISRuntime::FeatureSet *GeoprocessingFeatures::features() const
Returns the FeatureSet that is the source of the features.
See also setFeatures().
Creates a task to fetch features.
When the task completes, the features are available on the features property.
void GeoprocessingFeatures::setFeatures(Esri::ArcGISRuntime::FeatureSet *featureSet)
Sets the FeatureSet that is the source of the features to featureSet.
See also features().
void GeoprocessingFeatures::setUrl(const QUrl &url)
Sets the URL of the source of the features to url.
See also url().
[override virtual] QUrl GeoprocessingFeatures::url() const
Reimplements: RemoteResource::url() const.
Returns the URL of the source of the features.
See also setUrl().