Skip to content
GuidesToolkitAPI

geoprocessor

const geoprocessor: object

Defined in: packages/expo-arcgis/src/geoprocessor.ts:11

Server-side spatial analysis, mirroring ArcGIS.GeoprocessingTask (Swift) / com.arcgismaps.tasks.geoprocessing.GeoprocessingTask (Kotlin). Runs a geoprocessing service with typed inputs and returns the tool’s outputs. Returns a JobRef — await job.result(), observe onProgress, or job.cancel(); works for sync-execute and async-submit services alike.

execute: (serviceUrl, inputs) => Promise<JobRef<GeoprocessingResult>>

Runs the geoprocessing tool at serviceUrl with the given named, typed inputs.

string

Record<string, GeoprocessingInput>

Promise<JobRef<GeoprocessingResult>>