Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Geoprocessor

Hierarchy

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

initialized

initialized: boolean

outSpatialReference

outSpatialReference: SpatialReference

The spatial reference of the output geometries.

Read more...

processExtent

processExtent: Extent

ProcessExtent, if specified, will only process features that overlap this extent.

Read more...

processSpatialReference

processSpatialReference: SpatialReference

The spatial reference that the model will use to perform geometry operations.

Read more...

requestOptions

requestOptions: any

The options to be used for data requests.

Read more...

returnM

returnM: boolean

If true, m-values will be included in the results if the features have m-values.

Read more...

returnZ

returnZ: boolean

If true, z-values will be included in the results if the features have z-values.

Read more...

url

url: string

The ArcGIS Server REST service URL (usually of a Feature Service Layer or Map Service Layer) for use in a task.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Geoprocessor

cancelJob

  • cancelJob(jobId: string, requestOptions?: any): Promise<JobInfo>
  • Cancels an asynchronous geoprocessing job.

    Read more...

    Parameters

    • jobId: string
    • Optional requestOptions: any

    Returns Promise<JobInfo>

checkJobStatus

  • checkJobStatus(jobId: string, requestOptions?: any): Promise<JobInfo>
  • Sends a request to the GP Task for the current state of the job identified by jobId.

    Read more...

    Parameters

    • jobId: string
    • Optional requestOptions: any

    Returns Promise<JobInfo>

destroy

  • destroy(): void
  • Returns void

execute

  • execute(params: any, requestOptions?: any): Promise<any>
  • Sends a request to the server to execute a synchronous GP task.

    Read more...

    Parameters

    • params: any
    • Optional requestOptions: any

    Returns Promise<any>

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

getResultData

  • getResultData(jobId: string, resultName: string, requestOptions?: any): Promise<ParameterValue>
  • Sends a request to the GP Task to get the task result identified by jobId and resultName.

    Read more...

    Parameters

    • jobId: string
    • resultName: string
    • Optional requestOptions: any

    Returns Promise<ParameterValue>

getResultImage

  • Sends a request to the GP Task to get the task result identified by jobId and resultName as an image.

    Read more...

    Parameters

    • jobId: string
    • resultName: string
    • imageParams: ImageParameters
    • Optional requestOptions: any

    Returns Promise<ParameterValue>

getResultMapImageLayer

  • Get the task result identified by jobId as an MapImageLayer.

    Read more...

    Parameters

    • jobId: string

    Returns Promise<MapImageLayer>

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Geoprocessor

  • Parameters

    Returns Geoprocessor

submitJob

  • submitJob(params: any, requestOptions?: any): Promise<JobInfo>
  • Submits a job to the server for asynchronous processing by the GP task.

    Read more...

    Parameters

    • params: any
    • Optional requestOptions: any

    Returns Promise<JobInfo>

waitForJobCompletion

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc