Class GeoprocessingResult

java.lang.Object
com.esri.arcgisruntime.tasks.geoprocessing.GeoprocessingResult

public class GeoprocessingResult extends Object

Contains output parameters returned from the service.

Single output parameters can be found from getOutputs() map where the key of the item is the name of the output parameter and the value is the returned GeoprocessingParameter. If used geoprocessing service is configured to use result map server then getMapImageLayer() might be populated. getMapImageLayer() 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 geoprocessing service. Map image layers are mainly used to visualize raster parameter or a features parameter 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.

Since:
100.0.0
  • Method Details

    • getOutputs

      public Map<String,GeoprocessingParameter> getOutputs()
      The outputs of a geoprocessing task - this is an unmodifiable map.
      Returns:
      the outputs
      Since:
      100.0.0
    • getMapImageLayer

      public ArcGISMapImageLayer getMapImageLayer()
      Gets the geoprocessing result's output map service layer if there is one defined for the geoprocessing service.

      The map image layer is returned not loaded.

      Returns:
      the map image layer
      Since:
      100.0.0