GeoprocessingResult Class

  • GeoprocessingResult
  • class Esri::ArcGISRuntime::GeoprocessingResult

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

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

    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.

    Relevant samples:

    • Analyze hotspots: Use a geoprocessing service and a set of features to identify statistically significant hot spots and cold spots.
    • Viewshed (Geoprocessing): Calculate a viewshed using a geoprocessing service, in this case showing which parts of a landscape are visible from points on mountainous terrain.

    Member Function Documentation

    [override virtual] GeoprocessingResult::~GeoprocessingResult()

    Destructor.

    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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.