URI

<planeprojection_uri>/{datasetPlaneProjectionResultID}[.<format>]

Supported methods

GETHEAD

Parent resource

planeProjection

Introduction

模型数据集平面投影结果资源。

Supported methods:

  • GET:返回平面投影分析结果资源。
  • HEAD:检查datasetPlaneProjectionResultresource exists, or if there is permission to accessdatasetPlaneProjectionResult 资源。

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

GIS Services Resource Hierarchy

HTTP Request Methods

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

http://supermapiserver:8090/iserver/services/spatialAnalysis-BIM/restjsr/spatialanalyst/datasets/结构柱@8ExportModel/planeprojection/{datasetPlaneProjectionResultID}.rjson

GET 请求

返回平面投影分析结果资源。

Response structure

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

字段 类型 说明
geometries Geometry3D 平面投影分析结果,即获取的模型数据集的平面投影。
succeed boolean 平面投影分析是否成功;成功则返回 true,否则返回 false。
message String 平面投影分析过程中产生的相关信息。
sunlightpointresults object 日照分析点集的属性信息,包括日照点的日照分析、日照时间、点的位,仅在日照分析时有结果。

Example of response

对datasetPlaneProjectionResult资源:http://supermapiserver:8090/iserver/services/spatialAnalysis-BIM/restjsr/spatialanalyst/datasets/结构柱@8ExportModel/planeprojection/b69078f326264a4db08c59de0a9ae79f.rjson执行 GET 请求后,返回的 json 结果如下:

{

"geometries":[{"center":null,"type":"REGION3D","scaleZ":1,"points":[{"x":115.50019417291607,"y":39.49988561887731,"z":1.3969838619232178E-8},{"x":115.50018835199081,"y":39.49988561887731,"z":1.3969838619232178E-8},{"x":115.5001883519911,"y":39.499879330834794,"z":1.4901161193847656E-8},{"x":115.50019417291581,"y":39.49987933083481,"z":1.3969838619232178E-8},{"x":115.50019417291607,"y":39.49988561887731,"z":1.3969838619232178E-8}],"scaleX":1,"scaleY":1,"rotationX":0,"rotationY":0,"rotationZ":0,"parts":[5],"style":null,"prjCoordSys":null,"position":null,"id":0,"partTopo":null}],

"succeed":true,

"message":null

}

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

See