Skip to content

geoprocessor

const geoprocessor: object

Defined in: 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 JobRefawait 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>>