GeoprocessingJob Class

  • GeoprocessingJob
  • class Esri::ArcGISRuntime::GeoprocessingJob

    A geoprocessing job used to run the geoprocessing task on the service. More...

    Header: #include <GeoprocessingJob.h>
    Since: Esri::ArcGISRuntime 100.0
    Inherits: Esri::ArcGISRuntime::Job

    Public Functions

    virtual ~GeoprocessingJob() override
    Esri::ArcGISRuntime::GeoprocessingParameters parameters() const
    Esri::ArcGISRuntime::GeoprocessingResult *result() const

    Detailed Description

    {GeoprocessingTask::createJob(const Esri::ArcGISRuntime::GeoprocessingParameters&)}

    Relevant samples:

    • Analyze hotspots: Use a geoprocessing service and a set of features to identify statistically significant hot spots and cold spots.
    • Local server geoprocessing: Create contour lines from local raster data using a local geoprocessing package `.gpkx` and the contour geoprocessing tool.
    • 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.

    See also Esri::ArcGISRuntime::GeoprocessingTask::createJob().

    Member Function Documentation

    [override virtual] GeoprocessingJob::~GeoprocessingJob()

    Destructor.

    [since Esri::ArcGISRuntime 100.1] Esri::ArcGISRuntime::GeoprocessingParameters GeoprocessingJob::parameters() const

    Returns the input geoprocessing parameters as passed to this job via GeoprocessingTask::createJob(const Esri::ArcGISRuntime::GeoprocessingParameters&).

    The returned GeoprocessingParameters will be a reference to the same instance that was passed to GeoprocessingTask::createJob(const Esri::ArcGISRuntime::GeoprocessingParameters&). If this parameters object contains any GeoprocessingDataFile instances created with a local file path, they will be updated on job completion to contain the upload id of the uploaded local file.

    This function was introduced in Esri::ArcGISRuntime 100.1.

    Esri::ArcGISRuntime::GeoprocessingResult *GeoprocessingJob::result() const

    Returns a collection of geoprocessing results from a completed GeoprocessingJob.

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close