Class: ProcessingService

ProcessingService

分布式分析相关服务类。

new ol.supermap.ProcessingService(url, options)

openlayers/services/ProcessingService.js, line 19
Name Type Description
url string

分布式分析服务地址。

options Object

参数。

Name Type Default Description
proxy string 可选

服务代理地址。

serverType SuperMap.ServerType SuperMap.ServerType.ISERVER 可选

服务来源 ISERVER|IPORTAL|ONLINE。

withCredentials boolean false 可选

请求是否携带 cookie。

crossOrigin boolean 可选

是否允许跨域请求。

headers Object 可选

请求头。

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

Extends

Methods

addKernelDensityJob(params, callback, seconds, resultFormat)

openlayers/services/ProcessingService.js, line 103

新建一个密度分析。

Name Type Default Description
params SuperMap.KernelDensityJobParameter

创建一个空间分析的请求参数。

callback RequestCallback

请求结果的回调函数。

seconds number 1000 可选

开始创建后,获取创建成功结果的时间间隔。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

addQueryJob(params, callback, seconds, resultFormat)

openlayers/services/ProcessingService.js, line 283

新建一个单对象查询分析。

Name Type Default Description
params SuperMap.SingleObjectQueryJobsParameter

创建一个空间分析的请求参数。

callback RequestCallback

请求结果的回调函数。

seconds number 1000 可选

开始创建后,获取创建成功结果的时间间隔。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

addSummaryMeshJob(params, callback, seconds, resultFormat)

openlayers/services/ProcessingService.js, line 193

新建一个点聚合分析。

Name Type Default Description
params SuperMap.SummaryMeshJobParameter

点聚合分析任务参数类。

callback RequestCallback

请求结果的回调函数。

seconds number 1000 可选

开始创建后,获取创建成功结果的时间间隔。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

addSummaryRegionJob(params, callback, seconds, resultFormat)

openlayers/services/ProcessingService.js, line 373

新建一个区域汇总分析。

Name Type Default Description
params SuperMap.SummaryRegionJobParameter

区域汇总分析参数类。

callback RequestCallback

请求结果的回调函数。

seconds number 1000 可选

开始创建后,获取创建成功结果的时间间隔。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

addVectorClipJob(params, callback, seconds, resultFormat)

openlayers/services/ProcessingService.js, line 463

新建一个矢量裁剪分析。

Name Type Default Description
params SuperMap.VectorClipJobsParameter

创建一个空间分析的请求参数。

callback RequestCallback

请求结果的回调函数。

seconds number 1000 可选

开始创建后,获取创建成功结果的时间间隔。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

getKernelDensityJob(id, callback, resultFormat)

openlayers/services/ProcessingService.js, line 77

获取某一个密度分析。

Name Type Default Description
id string

空间分析的 ID。

callback RequestCallback

请求结果的回调函数。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

getKernelDensityJobs(callback, resultFormat)

openlayers/services/ProcessingService.js, line 52

获取密度分析的列表。

Name Type Default Description
callback RequestCallback

请求结果的回调函数。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

getKernelDensityJobState(id){Object}

openlayers/services/ProcessingService.js, line 132

获取密度分析的状态。

Name Type Description
id string

密度分析的 ID。

Returns:
Type Description
Object 密度分析的状态

getQueryJob(id, callback, resultFormat)

openlayers/services/ProcessingService.js, line 257

获取某一个单对象查询分析。

Name Type Default Description
id string

空间分析的 ID。

callback RequestCallback

请求结果的回调函数。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

getQueryJobs(callback, resultFormat)

openlayers/services/ProcessingService.js, line 232

获取单对象查询分析的列表。

Name Type Default Description
callback RequestCallback

请求结果的回调函数。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

getQueryJobState(id){Object}

openlayers/services/ProcessingService.js, line 312

获取单对象查询分析的状态。

Name Type Description
id string

单对象查询分析的 ID。

Returns:
Type Description
Object 单对象查询分析的状态

getSummaryMeshJob(id, callback, resultFormat)

openlayers/services/ProcessingService.js, line 167

获取某一个点聚合分析。

Name Type Default Description
id string

空间分析的 ID。

callback RequestCallback

请求结果的回调函数。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

getSummaryMeshJobs(callback, resultFormat)

openlayers/services/ProcessingService.js, line 142

获取点聚合分析的列表。

Name Type Default Description
callback RequestCallback

请求结果的回调函数。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

getSummaryMeshJobState(id){Object}

openlayers/services/ProcessingService.js, line 222

获取点聚合分析的状态。

Name Type Description
id string

点聚合分析的 ID。

Returns:
Type Description
Object 点聚合分析的状态

getSummaryRegionJob(id, callback, resultFormat)

openlayers/services/ProcessingService.js, line 347

获取某一个区域汇总分析。

Name Type Default Description
id string

区域汇总分析的 ID。

callback RequestCallback

请求结果的回调函数。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

getSummaryRegionJobs(callback, resultFormat)

openlayers/services/ProcessingService.js, line 322

获取区域汇总分析的列表。

Name Type Default Description
callback RequestCallback

请求结果的回调函数。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

getSummaryRegionJobState(id){Object}

openlayers/services/ProcessingService.js, line 402

获取区域汇总分析的状态。

Name Type Description
id string

生成区域汇总分析的 ID。

Returns:
Type Description
Object 区域汇总分析的状态。

getVectorClipJob(id, callback, resultFormat)

openlayers/services/ProcessingService.js, line 437

获取某一个矢量裁剪分析。

Name Type Default Description
id string

空间分析的 ID。

callback RequestCallback

请求结果的回调函数。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

getVectorClipJobs(callback, resultFormat)

openlayers/services/ProcessingService.js, line 412

获取矢量裁剪分析的列表。

Name Type Default Description
callback RequestCallback

请求结果的回调函数。

resultFormat SuperMap.DataFormat SuperMap.DataFormat.GEOJSON 可选

返回的结果类型。

getVectorClipJobState(id){Object}

openlayers/services/ProcessingService.js, line 494

获取矢量裁剪分析的状态。

Name Type Description
id number

矢量裁剪分析的 ID。

Returns:
Type Description
Object 矢量裁剪分析的状态