<skylineSectorBody_uri>/{geometrySkylineSectorBodyResultID}[.<format>]
三维天际线闭合体结果资源。
支持的方法:
支持的表述格式:RJSON、JSON、HTML、XML。
对如下 URI 执行 HTTP 请求,以 rjson 输出格式为例加以说明,其中,supermapiserver 是服务器名。
http://supermapiserver:8090/iserver/services/spatialAnalysis-CBD/restjsr/spatialanalyst/geometry/3d/skylinesectorbody/{geometrySkylineSectorBodyResultID}.rjson
返回三维天际线闭合体结果资源。
对资源执行 GET 请求后,响应参数如下:
字段 | 类型 | 说明 |
succeed | boolean | 构建三维天际线闭合体是否成功;成功则返回 true,否则返回 false。 |
geometry | Geometry3D | 返回的三维天际线闭合体结果。 |
message | String | 结果消息,构建三维天际线闭合体过程中产生的相关信息。 |
infos | object | 三维天际线闭合体的属性信息,包括闭合体的体积和表面积。 |
对geometrySkylineSectorBodyResult 资源:http://supermapiserver:8090/iserver/services/spatialAnalysis-CBD/restjsr/spatialanalyst/geometry/3d/skylinesectorbody/{geometrySkylineSectorBodyResultID}.rjson,执行 GET 请求后,返回的 json 结果如下:
{
"succeed":true,
"geometry":{"boundingBox":{"lower":{"x":121.21230999995295,"y":41.20999999999989,"z":-75.00000001303852},"upper":{"x":121.21232000005881,"y":41.21000000000001,"z":-1.3969838619232178E-8}},"filePath":null,"center":null,"type":"GEOMODEL3D","scaleZ":1,"points":null,"scaleX":1,"scaleY":1,"rotationX":0,"rotationY":0,"rotationZ":0,"parts":null,"model":[4,0,0,0,115,51,109,0,120,-38,-83,-109,-53,74,-61,64,20,-122,-89,23,45,40,110,-60,-70,-15,21,106,115,-23,85,9,-127,-124,-22,44,108,-91,88,-5,0,-79,-103,-44,64,-101,-108,-92,5,93,-23,70,87,-126,-72,-9,1,74,-69,43,-30,-78,-48,-67,110,-5,56,-30,100,-46,-53,73,-103,-123,11,103,72,-26,-97,51,-33,-28,-4,39,-52,-68,38,16,82,-80,-25,14,122,-22,-34,-114,82,55,-38,-92,-22,-102,126,-96,49,113,77,-78,16,-105,70,-105,-88,-78,-100,47,-117,-59,124,33,-105,83,-124,101,44,92,-82,-112,-102,107,-42,-116,-66,103,-33,-87,82,86,100,45,35,-2,65,-4,59,124,92,-112,-77,114,20,103,102,-95,67,-22,89,88,21,39,-64,-110,41,64,60,-37,-24,-28,42,108,-38,93,76,3,-19,4,-43,74,114,81,20,75,-27,-109,82,65,17,-100,69,-7,90,-9,-58,38,78,31,-56,-45,43,117,-99,123,29,3,0,-26,0,24,2,58,7,-48,33,-96,113,0,-115,-43,3,-4,84,108,-53,26,-8,4,-56,-120,-75,117,12,0,-104,3,96,8,-24,28,64,-121,-128,-58,1,66,107,-64,79,-93,71,90,-125,-114,-31,65,77,-115,-120,-85,-99,32,8,17,-52,67,112,4,-47,121,-120,30,65,52,30,18,122,-116,24,-69,-75,29,-37,33,-66,15,-15,85,-116,2,-41,-98,-31,-8,61,-61,-93,-1,-69,-31,122,125,-37,105,-85,-25,90,-75,113,-90,8,-100,-107,-32,-21,-16,68,9,27,-89,77,88,-34,66,113,-120,16,-118,-47,39,61,-3,121,74,-47,-111,94,81,-76,-115,-62,-42,76,75,31,-29,-47,-18,4,-95,-31,44,99,-50,-43,-15,-24,81,-6,-2,-86,-21,-121,-26,124,-38,108,-34,83,125,-96,-65,-75,-26,-45,-15,-24,93,-78,-84,-49,-39,115,43,96,94,-104,14,-9,-90,38,-127,70,27,45,-56,-73,-49,68,-110,-51,-30,-76,-57,104,-26,24,74,-78,-4,113,-10,78,-96,45,-38,19,52,22,-16,15,-8,-24,34,-71,-40,-65,28,127,1,55,21,37,112],"style":null,"prjCoordSys":null,"position":{"x":121.212315,"y":41.21,"z":75},"id":0,"modelUrl":null,"partTopo":null},
"message":null,
"infos":[{"volume":2.379023541868409E-7,"surfaceArea":96.97804414520924}]
}
返回跟 GET 请求一样的 HTTP 响应头,但是没有响应实体。可以在不必传输整个响应内容的情况下,获取包含在响应消息头中的元数据信息。元数据信息包括媒体类型,字符编码,压缩编码,实体内容长度等。
HEAD 请求可以用来判断 geometrySkylineSectorBodyResult 资源是否存在,或者客户端是否有权限访问 geometrySkylineSectorBodyResult 资源。通过对加.<format>的 URI 执行 HEAD 请求,还可以快速判断 geometrySkylineSectorBodyResult 资源是否支持<format>格式的表述。