geoprocessing


URI

<root_uri>/geoprocessing/restjsr/list[.<format>]

支持的方法

GET

父资源

root

子资源

bdt-vecbdt-rasterbdt-vec-io、ml-process、sps.WorkflowProcessFactory.models.ml-process

介绍

geoprocessing 资源表示地理处理服务的入口,通过对 geoprocessing 资源执行 GET 请求,能够得到 SuperMap iServer 地理处理服务所有支持服务类型的列表。

支持的方法:

支持的表述格式:RJSON、JSON、HTML、XML。

资源层次

HTTP 请求方法

对如下 URI 执行 HTTP 请求,以 rjson 输出格式为例加以说明,其中,supermapiserver 是服务器名。

http://supermapiserver:8090/iserver/services/geoprocessing/restjsr/list.rjson

GET 请求

获取地理处理服务支持的所有服务类型的列表。

响应结构

对 geoprocessing 资源执行 GET 请求,在响应消息的实体主体里是一个子资源描述集,其中单个子资源描述的结构如下:

字段 类型 说明
name String 资源的名称。
path String 资源的访问路径。
resourceConfigID String 资源配置项 ID。
resourceType String 资源类型。
supportedMediaTypes String[] 支持的表述的媒体类型。

响应示例

对示例 geoprocessing 资源执行 GET 请求,返回 rjson 格式的地理处理服务类型列表描述如下:

{

    "resourceConfigID": null,

    "supportedMediaTypes": null,

    "path": "http://localhost:8090/iserver/services/geoprocessing/restjsr/list/bdt-vec/",

    "name": "大数据组件 - 矢量处理",

    "resourceType": null

  },

  {

    "resourceConfigID": null,

    "supportedMediaTypes": null,

    "path": "http://localhost:8090/iserver/services/geoprocessing/restjsr/list/bdt-raster/",

    "name": "大数据组件 - 栅格处理",

    "resourceType": null

  },

  {

    "resourceConfigID": null,

    "supportedMediaTypes": null,

    "path": "http://localhost:8090/iserver/services/geoprocessing/restjsr/list/bdt-vec-io/",

    "name": "大数据组件 - 导入导出",

    "resourceType": null

  },

  {

    "resourceConfigID": null,

    "supportedMediaTypes": null,

    "path": "http://localhost:8090/iserver/services/geoprocessing/restjsr/list/ml-process/",

    "name": "空间深度学习",

    "resourceType": null

  },

  {

    "resourceConfigID": null,

    "supportedMediaTypes": null,

    "path": "http://localhost:8090/iserver/services/geoprocessing/restjsr/list/sps.WorkflowProcessFactory.models.ml-process/",

    "name": "空间机器学习",

    "resourceType": null

  }

 

请参见