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.

crossOrigin boolean optional

Whether to allow cross-domain requests.

headers Object optional

Request header.

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

Extends

Events

inherited destroy

ServiceBase.js, line 49

Triggered after the resource is successfully released.

Properties:
Name Type Description
this L.supermap.ServiceBase

This object.

inherited initialized

ServiceBase.js, line 36

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 616

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 100

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 530

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 272

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 789

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 186

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 358

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 703

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 444

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 44

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

getBffersJob(id, callback, resultFormat)

ProcessingService.js, line 592

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 569

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 646

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 76

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 53

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 129

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 506

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 483

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 559

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 248

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 225

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 301

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 765

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 742

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 818

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 162

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 139

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 215

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 334

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 311

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 387

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 679

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 656

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 732

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 420

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 397

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 473

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.