Package com.esri.arcgisruntime.tasks.geoprocessing

Classes for creating and running geoprocessing tasks.

Geoprocessing is a fundamental part of enterprise GIS operations. Geoprocessing provides GIS users with data analysis, data management, and data conversion tools.

A typical geoprocessing operation takes an input dataset, performs an operation and returns the result of the operation as an output dataset. Common geoprocessing operations include geographic feature overlay, feature selection and analysis, topology processing, raster processing, and data conversion. Geoprocessing allows for definition, management, and analysis of information used to form decisions.

The geoprocessing package contains classes to run a geoprocessing (also known as GP) task on ArcGIS Server or Local Server (on the desktop platforms that support it). The GeoprocessingTask is the main component for developers to use geoprocessing tasks. The workflow for running a geoprocessing task is:

- Create a GeoprocessingTask with the URL to the target geoprocessing task end-point.

- Create a GeoprocessingParameters with a corresponding GeoprocessingParameters.ExecutionType

- Create a GeoprocessingParameter and add them to GeoprocessingParameters.getInputs() where the key is the name of the parameter and the value is the parameter.

- Set environment variables on GeoprocessingParameters if needed.

- Create a GeoprocessingJob with GeoprocessingTask.createJob(GeoprocessingParameters)

- Start listening for message and status reports using Job.addJobChangedListener(Runnable)

- Run the task using Job.start()

- When GeoprocessingJob has finished, handle results from GeoprocessingJob.getResult()

Since:
100.0.0