Class: processingService

L.supermap.processingService

The ProcessingService class.

L.supermap.processingService(url, options)

ProcessingService.js, line 18
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.

Example
L.supermap.processingService(url)
.getKernelDensityJobs(function(result){
    //doSomething
})

Extends

Events

inherited destroy

ServiceBase.js, line 47

Triggered after the resource is successfully released.

Properties:
Name Type Description
this L.supermap.ServiceBase

This object.

inherited initialized

ServiceBase.js, line 34

Triggered after the constructor is constructed successfully.

Properties:
Name Type Description
this L.supermap.ServiceBase

This object.

Methods

addBuffersJob(params, callback, seconds, callback, resultFormat)

ProcessingService.js, line 614

Add a job of buffers analysis.

Name Type Default Description
params SuperMap.CreateBufferAnalystJobsParameter

The CreateBufferAnalystJobsParameter 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.

callback RequestCallback

The callback of result data returned by the server side.

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON optional

The format of result data.

addKernelDensityJob(params, callback, seconds, resultFormat)

ProcessingService.js, line 98

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.

addOverlayGeoJob(params, callback, seconds, resultFormat)

ProcessingService.js, line 528

Add a job of overlay analysis.

Name Type Default Description
params SuperMap.OverlayGeoJobParameter

The OverlayGeoJobParameter 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 270

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.

addSummaryAttributesJob(params, callback, seconds, resultFormat)

ProcessingService.js, line 787

Add a job of summary attributes analysis.

Name Type Default Description
params SuperMap.SummaryAttributesJobsParameter

The SummaryAttributesJobsParameter 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 184

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 356

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.

addTopologyValidatorJob(params, callback, seconds, resultFormat)

ProcessingService.js, line 701

Add a job of topology validator analysis.

Name Type Default Description
params SuperMap.TopologyValidatorJobsParameter

The TopologyValidatorJobsParameter 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 442

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.

inherited destroy()

ServiceBase.js, line 42

Disposes the resource. The property that references resource is set to null.

getBffersJob(id, callback, resultFormat)

ProcessingService.js, line 590

Get a job of buffers analysis.

Name Type Default Description
id string

id of buffers 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.

getBuffersJobs(callback, resultFormat)

ProcessingService.js, line 567

Get jobs of buffers 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.

getBuffersJobState(id){Object}

ProcessingService.js, line 644

Get the state of buffers analysis.

Name Type Description
id string

id of buffers analysis

Returns:
Type Description
Object The state of buffers analysis.

getKernelDensityJob(id, callback, resultFormat)

ProcessingService.js, line 74

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 51

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 127

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.

getOverlayGeoJob(id, callback, resultFormat)

ProcessingService.js, line 504

Get a job of overlay analysis.

Name Type Default Description
id string

id of overlay 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.

getOverlayGeoJobs(callback, resultFormat)

ProcessingService.js, line 481

Get jobs of overlay 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.

getoverlayGeoJobState(id){Object}

ProcessingService.js, line 557

Get the state of overlay analysis.

Name Type Description
id string

id of overlay analysis.

Returns:
Type Description
Object The state of overlay analysis.

getQueryJob(id, callback, resultFormat)

ProcessingService.js, line 246

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 223

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 299

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.

getSummaryAttributesJob(id, callback, resultFormat)

ProcessingService.js, line 763

Get a job of summary attributes analysis.

Name Type Default Description
id string

id of summary attributes 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.

getSummaryAttributesJobs(callback, resultFormat)

ProcessingService.js, line 740

Get jobs of summary attributes 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.

getSummaryAttributesJobState(id){Object}

ProcessingService.js, line 816

Get the state of summary attributes analysis.

Name Type Description
id string

id of summary attributes analysis.

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

getSummaryMeshJob(id, callback, resultFormat)

ProcessingService.js, line 160

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 137

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 213

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 332

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 309

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 385

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.

getTopologyValidatorJob(id, callback, resultFormat)

ProcessingService.js, line 677

Get a job of topology validator analysis.

Name Type Default Description
id string

id of topology validator 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.

getTopologyValidatorJobs(callback, resultFormat)

ProcessingService.js, line 654

Get jobs of topology validator 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.

getTopologyValidatorJobState(id){Object}

ProcessingService.js, line 730

Get the state of topology validator analysis.

Name Type Description
id string

id of topology validator analysis.

Returns:
Type Description
Object The state of topology validator analysis.

getVectorClipJob(id, callback, resultFormat)

ProcessingService.js, line 418

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 395

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 471

Get the state of vector clip analysis.

Name Type Description
id string

id of vector clip analysis.

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