Class: ProcessingService

ol.supermap.ProcessingService

The ProcessingService class.

new ol.supermap.ProcessingService(url, options)

ProcessingService.js, line 17
Name Type Description
url string

The url of service.

options Object

The optional parameters.

Name Type Default Description
proxy string optional

Service agent address.

serverType SuperMap.ServerType SuperMap.ServerType.ISERVER optional

Type of server iServer|iPortal|online.

withCredentials boolean false optional

Request whether to carry a cookie.

crossOrigin boolean optional

Whether to allow cross-domain requests.

headers Object optional

Request header.

Example
new ol.supermap.ProcessingService(url,options)
     .getKernelDensityJobs(function(result){
         //doSomething
     })

Extends

Methods

addKernelDensityJob(params, callback, seconds, resultFormat)

ProcessingService.js, line 97

Add a job of kernel density analysis.

Name Type Default Description
params SuperMap.KernelDensityJobParameter

The KernelDensityJobParameter class.

callback RequestCallback

The callback of result data returned by the server side.

seconds number 1000 optional

Time interval for obtaining successful results after the creation.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

addQueryJob(params, callback, seconds, resultFormat)

ProcessingService.js, line 265

Add a job of single object query analysis.

Name Type Default Description
params SuperMap.SingleObjectQueryJobsParameter

The SingleObjectQueryJobsParameter class.

callback RequestCallback

The callback of result data returned by the server side.

seconds number 1000 optional

Time interval for obtaining successful results after the creation.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

addSummaryMeshJob(params, callback, seconds, resultFormat)

ProcessingService.js, line 181

Add a job of summary mesh analysis.

Name Type Default Description
params SuperMap.SummaryMeshJobParameter

The SummaryMeshJobParameter class.

callback RequestCallback

The callback of result data returned by the server side.

seconds number 1000 optional

Time interval for obtaining successful results after the creation.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

addSummaryRegionJob(params, callback, seconds, resultFormat)

ProcessingService.js, line 349

Add a job of summary region analysis.

Name Type Default Description
params SuperMap.SummaryRegionJobParameter

The SummaryRegionJobParameter class.

callback RequestCallback

The callback of result data returned by the server side.

seconds number 1000 optional

Time interval for obtaining successful results after the creation.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

addVectorClipJob(params, callback, seconds, resultFormat)

ProcessingService.js, line 433

Add a job of vector clip analysis.

Name Type Default Description
params SuperMap.VectorClipJobsParameter

The VectorClipJobsParameter class.

callback RequestCallback

The callback of result data returned by the server side.

seconds number 1000 optional

Time interval for obtaining successful results after the creation.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

getKernelDensityJob(id, callback, resultFormat)

ProcessingService.js, line 73

Get a job of kernel density analysis.

Name Type Default Description
id string

ID of kernel density analysis.

callback RequestCallback

The callback of result data returned by the server side.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

getKernelDensityJobs(callback, resultFormat)

ProcessingService.js, line 50

Get jobs of kernel density analysis.

Name Type Default Description
callback RequestCallback

The callback of result data returned by the server side.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

getKernelDensityJobState(id){Object}

ProcessingService.js, line 124

Get the state of kernel density analysis.

Name Type Description
id string

id of kernel density analysis.

Returns:
Type Description
Object The state of kernel density analysis.

getQueryJob(id, callback, resultFormat)

ProcessingService.js, line 241

Get a job of single object query analysis.

Name Type Default Description
id string

id of single object query analysis.

callback RequestCallback

The callback of result data returned by the server side.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

getQueryJobs(callback, resultFormat)

ProcessingService.js, line 218

Get jobs of single object query analysis.

Name Type Default Description
callback RequestCallback

The callback of result data returned by the server side.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

getQueryJobState(id){Object}

ProcessingService.js, line 292

Get the state of single object query analysis.

Name Type Description
id string

id of single object query analysis.

Returns:
Type Description
Object The state of single object query analysis.

getSummaryMeshJob(id, callback, resultFormat)

ProcessingService.js, line 157

Get a job of summary mesh analysis

Name Type Default Description
id string

id of summary mesh analysis.

callback RequestCallback

The callback of result data returned by the server side.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

getSummaryMeshJobs(callback, resultFormat)

ProcessingService.js, line 134

Get jobs of summary mesh analysis.

Name Type Default Description
callback RequestCallback

The callback of result data returned by the server side.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

getSummaryMeshJobState(id){Object}

ProcessingService.js, line 208

Get the state of summary mesh analysis.

Name Type Description
id string

id of summary mesh analysis.

Returns:
Type Description
Object The state of summary mesh analysis.

getSummaryRegionJob(id, callback, resultFormat)

ProcessingService.js, line 325

Get a job of summary region analysis.

Name Type Default Description
id string

id of summary region analysis.

callback RequestCallback

The callback of result data returned by the server side.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

getSummaryRegionJobs(callback, resultFormat)

ProcessingService.js, line 302

Get jobs of summary region analysis.

Name Type Default Description
callback RequestCallback

The callback of result data returned by the server side.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

getSummaryRegionJobState(id){Object}

ProcessingService.js, line 376

Get the state of summary region analysis.

Name Type Description
id string

id of summary region analysis.

Returns:
Type Description
Object The state of summary region analysis.

getVectorClipJob(id, callback, resultFormat)

ProcessingService.js, line 409

Get a job of vector clip analysis.

Name Type Default Description
id string

id of vector clip analysis.

callback RequestCallback

The callback of result data returned by the server side.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

getVectorClipJobs(callback, resultFormat)

ProcessingService.js, line 386

Get jobs of vector clip analysis.

Name Type Default Description
callback RequestCallback

The callback of result data returned by the server side.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

getVectorClipJobState(id){Object}

ProcessingService.js, line 462

Get the state of vector clip analysis.

Name Type Description
id number

id of vector clip analysis.

Returns:
Type Description
Object The state of vector clip analysis.