URI
<loft_uri>/{geometryLoftResultID}[.<format>]
Supported methods
Parent resource
Introduction
放样结果资源。
Supported methods:
- GET:返回放样结果资源。
- HEAD:检查geometryLoftResultresource exists, or if there is permission to accessgeometryLoftResult资源。
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/geometry/3d/loft/{geometryLoftResultID}.rjson
GET 请求
返回放样结果资源。
Response structure
After performing a GET request on the resource, the response parameters are as follows:
| 字段 | 类型 | 说明 |
| streamBytes | array | 模型流信息 |
| volume | double | 模型体积 |
| dataContent | array | s3m模型文件流信息 |
| succeed | boolean | 放样是否成功;成功则返回 true,否则返回 false。 |
| position | point3d | 模型位置 |
| message | String | 结果消息,放样过程中产生的相关信息。 |
| geometry | GeoModel3D | 三维模型对象 |
| infos | Geometry3DInfo | 三维几何体信息 |
Example of response
对geometryLoftResult资源:http://supermapiserver:8090/iserver/services/spatialAnalysis-BIM/restjsr/spatialanalyst/geometry/3d/loft/{geometryLoftResultID}.rjson执行 GET 请求后,返回的 json 结果如下:
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 ifgeometryLoftResult资源是否存在,或者客户端是否有权限访问geometryLoftResult资源。通过对加.<format>的 URI 执行 HEAD 请求,还可以快速判断geometryLoftResult 资源是否支持<format>格式的表述。