ArcGIS Developers

GeoprocessingResult Class

class Esri::ArcGISRuntime::GeoprocessingResult

The contains output parameters returned from the service. More...

Header: #include <GeoprocessingResult>
Since: Esri::ArcGISRuntime 100.0
Inherits: Esri::ArcGISRuntime::Object

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

virtual ~GeoprocessingResult() override
Esri::ArcGISRuntime::ArcGISMapImageLayer *mapImageLayer() const
QMap<QString, Esri::ArcGISRuntime::GeoprocessingParameter *> outputs() const

Detailed Description

Single output parameters can be found from outputs dictionary where the key of the item is the name of the output parameter and the value is the returned GeoprocessingParameter.

If the geoprocessing service is configured to use result map server then mapImageLayer might be populated. mapImageLayer is a dynamic map service that accompanies a geoprocessing service to visualize the geoprocessing results. Each geodataset output parameter of a geoprocessing task will be added as a layer to a map service. The visualization of the layer is determined by the symbology on the geoprocessing service. mapImageLayer is mainly used to visualize a GeoprocessingRaster or a GeoprocessingFeatures, but in some cases a GeoprocessingString is used as a reference to a geodataset which is added to the result map service as a layer.

Member Function Documentation

[override virtual] GeoprocessingResult::~GeoprocessingResult()


Esri::ArcGISRuntime::ArcGISMapImageLayer *GeoprocessingResult::mapImageLayer() const

Returns the geoprocessing result's corresponding map image layer, if there is one defined for the geoprocessing service.

QMap<QString, Esri::ArcGISRuntime::GeoprocessingParameter *> GeoprocessingResult::outputs() const

Returns the geoprocessing result's output parameters.

The QMap's key is the name of the output parameter.

Feedback on this topic?