URI

<machinelearning_uri>/ml-process:densityclusteranalyst[.<format>]

Supported methods

GETPOSTHEAD

Parent resource

machineLearning

Introduction

对空间数据进行密度聚类分析。

Supported methods:

  • GET:Returns an interactive operation page for analysis.
  • POST:Executes the analysis.
  • HEAD:检查datasourceresource exists, or if there is permission to accessdatasource资源。

Supported output formats:JSONP、RJSON、JSON、HTML、XML。

GIS Services Resource Hierarchy

HTTP Request Methods

Perform an HTTP request on the following URI. Here, supermapiserver is the server name.

http://supermapiserver:8090/iserver/services/machinelearning/restjsr/sps.WorkflowProcessFactory.models.ml-process:densityclusteranalyst

GET 请求

Returns an interactive operation page for analysis.

 

POST 请求

Executes the analysis.

请求参数

Request parameter list:

Field Type Definition

readasfeaturerdd-dataConnInfo

[Required]

String

待分析数据集,需要包含数据类型,连接参数,数据集名字等信息。

readasfeaturerdd-filter

[Optional]

String

Data query conditions

eps

[Required]

String

聚类半径
minPoints

[Required]

String

聚类数目阈值
fieldName

[Required]

String

保存聚类类别的字段名
savedFields [Optional]

String

需要保留到结果数据集中的字段,默认情形下保留存有字段。
saveas-dataConnInfo [Required]

String

结果数据集-需要包含数据类型,连接参数,数据集名字等信息。

HEAD 请求

Returns the same HTTP response headers as a GET request, but without the response body. This allows retrieving meta-information from the response headers without transporting the entire content. The meta-information includes the media type,字符编码,压缩编码,实体内容长度等。

A HEAD request can be used to check if densityClusterAnalyst 资源是否存在,或者客户端是否有权限访问 densityClusterAnalyst 资源。通过对加.<format>的 URI 执行 HEAD 请求,还可以快速判断 densityClusterAnalyst 资源是否支持<format>格式的表述。

See