geoprocessor
constgeoprocessor: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 JobRef — await job.result(),
observe onProgress, or job.cancel(); works for sync-execute and async-submit services alike.
Type Declaration
Section titled “Type Declaration”execute
Section titled “execute”execute: (
serviceUrl,inputs) =>Promise<JobRef<GeoprocessingResult>>
Runs the geoprocessing tool at serviceUrl with the given named, typed inputs.
Parameters
Section titled “Parameters”serviceUrl
Section titled “serviceUrl”string
inputs
Section titled “inputs”Record<string, GeoprocessingInput>
Returns
Section titled “Returns”Promise<JobRef<GeoprocessingResult>>