URI

<convexhull_uri>/{geometryConvexHullResultID}[.<format>]

Supported methods

GETHEAD

Parent resource

convexhull

Introduction

凸包运算结果资源。

Supported methods:

  • GET:返回凸包运算结果资源。
  • HEAD:检查geometryConvexHullResultresource exists, or if there is permission to accessgeometryConvexHullResult资源。

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

GIS Services Resource Hierarchy

HTTP Request Methods

Perform an HTTP request on the following URI, using the rjson output format as an example. Here, supermapiserver is the server name.

http://supermapiserver:8090/iserver/services/spatialAnalysis-BIM/restjsr/spatialanalyst/geometry/3d/convexhull/{geometryConvexHullResultID}.rjson

GET 请求

返回凸包运算结果资源。

Response structure

After performing a GET request on the resource, the response parameters are as follows:

Name Type Description
streamBytes array 模型流信息
volume double 模型体积
dataContent array s3m模型文件流信息
succeed boolean 凸包运算是否成功;成功则返回 true,否则返回 false。
position point3d 模型位置
message String 结果消息,凸包运算过程中产生的相关信息。

Example of response

对geometryConvexHullResult资源:http://supermapiserver:8090/iserver/services/spatialAnalysis-BIM/restjsr/spatialanalyst/geometry/3d/convexhull/{geometryConvexHullResultID}.rjson执行 GET 请求后,返回的 json 结果如下:

{

"streamBytes":null,

"volume":0,

"dataContent":null,

"succeed":false,

"position":null,

"message":"can not download file."

}

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 ifgeometryConvexHullResult资源是否存在,或者客户端是否有权限访问geometryConvexHullResult资源。通过对加.<format>的 URI 执行 HEAD 请求,还可以快速判断 geometryConvexHullResult资源是否支持<format>格式的表述。

See