datasetShadowVolumeResult


URI

<shadowvolume_uri>/{datasetShadowVolumeResultID}[.<format>]

支持的方法

GETHEAD

父资源

shadowVolume

介绍

模型数据集获取阴影体结果资源。

支持的方法:

支持的表述格式:RJSON、JSON、HTML、XML。

资源层次

HTTP 请求方法

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

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

GET 请求

返回阴影体分析结果资源。

响应结构

对资源执行 GET 请求后,响应参数如下:

字段 类型 说明
geometries Geometry3D 阴影体分析结果,即获取模型数据集的阴影体。
succeed boolean 阴影体分析是否成功;成功则返回 true,否则返回 false。
message String 阴影体分析过程中产生的相关信息。

响应示例

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

{

"geometries":[{"boundingBox":null,"dataContent":[115,51,109,0,120,-38,-91,-108,-53,110,-45,64,20,-122,-89,105,-102,52,9,108,64,108,-23,3,-112,-58,55,98,59,96,77,-120,73,-80,34,-91,23,98,22,-88,-101,98,-80,-101,90,77,-100,-44,78,4,109,87,8,-70,70,-22,-122,-106,29,-120,7,64,60,64,90,46,107,-118,-24,-126,13,47,-48,69,-41,32,-79,-31,-52,-60,73,38,-59,11,36,70,-15,-103,51,-1,124,62,-2,-113,-57,-54,70,28,33,-51,-16,-37,-67,14,-66,-104,-42,-106,-83,-122,83,107,-37,-63,48,-73,107,75,101,-110,27,78,-37,118,-62,100,-47,106,57,88,-110,11,-126,32,-13,-126,-88,106,-36,80,27,108,-105,-99,-123,-74,-67,96,117,125,-9,9,22,114,60,29,89,-2,31,-110,-1,-122,101,89,18,4,37,59,-49,-25,-14,124,94,-54,-13,-39,121,33,-89,-118,-41,11,-118,60,-62,-87,89,-42,33,120,-26,70,-51,-43,45,-81,65,-10,28,-68,92,-67,95,-87,-83,-102,-43,-107,-54,-22,-46,-30,-86,121,-69,94,-87,44,106,-36,120,31,96,-67,-35,-13,108,-41,107,-104,-99,117,-57,-89,10,-19,87,80,36,53,-81,113,-76,-14,22,6,47,-118,-110,-105,36,80,-74,-120,-78,-115,-25,-59,-100,82,40,20,84,73,-29,-74,-119,-30,91,-74,-37,11,-80,-108,19,21,-119,-25,101,-115,11,5,98,-20,-17,71,80,7,53,55,-24,98,126,-44,-47,88,35,-9,-80,-89,-58,-79,-57,9,13,59,-66,107,53,-91,50,93,-74,-62,37,-55,61,114,122,-126,42,-118,-68,-102,23,100,112,-26,-123,-57,89,106,61,116,29,-81,-53,-92,55,-22,120,-4,46,-57,26,3,24,17,-128,-63,2,122,4,-96,-77,64,41,2,40,-47,126,24,63,101,119,109,-83,23,56,76,58,97,109,-84,49,-128,17,1,24,44,-96,71,0,58,11,-108,34,-128,-127,53,-58,-113,-39,113,30,-11,-102,-106,-49,-26,96,100,124,98,-116,-56,34,70,20,98,76,32,122,20,-94,79,32,-91,40,100,-32,113,-62,-40,-70,-21,-71,-98,19,4,44,62,-46,0,-72,-25,91,94,-48,-79,124,120,-33,102,-37,-17,-62,103,-120,-17,-108,106,102,69,-29,34,118,72,117,-10,-117,-30,-50,125,109,-36,-16,31,-122,47,79,33,4,63,116,-21,77,-20,71,18,-26,105,-72,46,-96,-63,-40,-39,59,46,62,64,-30,-31,-73,-3,-45,-94,-67,115,23,39,-50,62,99,-110,-65,125,126,-46,15,126,-83,20,-65,-60,16,54,-97,-99,-12,59,63,87,-118,-3,-3,-51,35,-84,-65,-20,95,13,-103,-6,71,-9,112,23,-104,-57,-64,60,5,-3,-26,-42,-21,62,-47,55,64,-81,94,-103,-61,-33,65,63,-37,123,81,-4,125,-16,-98,-42,-1,-12,-63,61,-28,47,-49,-31,-26,-63,-26,17,121,-18,-69,80,-33,-123,-6,-89,-105,-26,-16,49,-44,71,-25,6,-15,-83,-47,36,78,87,49,-120,49,-24,96,10,-59,-47,12,-60,25,88,-59,81,2,37,33,38,97,-107,64,-77,40,5,49,5,-85,89,-108,70,25,-120,25,88,-91,105,-33,105,-72,50,112,-91,32,38,97,-114,65,-116,-63,93,-45,48,19,102,54,124,98,2,-86,77,-47,90,-119,80,-71,-10,-11,85,51,30,122,26,-50,127,0,81,-51,-115,79],"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,-91,-108,-65,111,-45,64,20,-57,-81,105,-102,-92,41,44,32,86,-6,15,-76,-79,29,-41,-79,3,-42,-123,-104,4,-85,82,-102,-108,-104,1,101,9,6,-69,-87,33,113,82,59,17,-76,-99,16,116,70,-86,-124,104,71,36,-2,0,4,123,82,126,-52,84,-94,3,59,91,-121,-114,8,36,22,-34,93,-100,-28,82,60,32,113,-118,-33,-67,-5,-34,-57,-49,-33,-25,-77,-14,48,-118,-112,-86,123,-19,94,7,95,76,-86,-21,102,-61,46,-75,45,127,-108,91,-91,74,-127,-28,-70,-35,-74,-20,32,41,-101,45,27,103,87,-60,76,90,-110,5,89,-27,70,-46,112,-73,96,-81,-75,-83,53,-77,-21,57,79,-80,-112,-30,-23,88,-30,-1,33,-7,111,56,-109,17,5,65,94,90,-26,83,18,47,-119,18,-65,-76,44,-92,-108,-12,74,86,-50,-116,113,106,-106,117,8,-98,-71,113,111,85,-45,109,-112,61,27,-81,-81,-34,45,-106,-22,-58,106,-83,88,-81,-108,-21,-58,-51,106,-79,88,86,-71,-55,62,-64,90,-69,-25,90,-114,-37,48,58,-101,-74,71,21,-38,-81,32,-117,-118,-92,114,-76,-14,54,6,47,-78,44,-119,34,40,-37,68,-39,-63,-53,-23,-108,-100,-51,102,21,81,-27,118,-120,-30,-103,-106,-45,-13,-79,-104,74,-53,34,-49,103,84,46,16,-120,-79,-65,31,65,29,-108,28,-65,-117,-7,113,71,19,-115,-36,-61,30,26,-57,-98,38,52,108,123,-114,-39,20,11,116,-39,10,-106,36,119,-55,-23,9,-68,-84,100,51,82,90,80,84,-50,13,-114,51,-33,-70,-17,-40,110,-105,73,-81,85,-15,-28,93,78,52,6,-48,67,0,-99,5,-76,16,64,99,-127,124,8,-112,-89,-3,48,126,10,-50,-58,70,-49,-73,-103,116,-54,-38,68,99,0,61,4,-48,89,64,11,1,52,22,-56,-121,0,67,107,-116,31,-93,99,63,-24,53,77,-113,-51,-63,-56,-28,-60,24,-111,69,-12,48,68,-97,66,-76,48,68,-101,66,-14,97,-56,-48,-29,-108,-79,77,-57,117,92,-37,-9,89,124,-84,1,112,-57,51,93,-65,99,122,-16,-66,-115,-74,-41,-123,-49,16,-33,-54,-105,-116,-94,-54,-123,-20,-112,-22,-20,23,-59,-99,-5,-38,-72,-47,31,12,-49,23,102,16,-126,31,-6,-15,18,43,113,-104,103,-31,-70,-128,-122,99,119,-1,56,119,15,-91,7,95,15,78,115,-42,-18,109,28,59,-5,-116,73,-2,-26,-7,73,-33,-1,85,-53,125,-119,32,108,60,59,-23,119,126,-42,114,-3,-125,-83,35,-84,-67,-22,95,13,-104,-22,71,103,-80,7,-52,99,96,-98,-126,126,125,-5,117,-97,-24,-113,64,95,-67,-78,-120,-65,-127,126,-74,-1,34,-9,-5,-16,29,-83,-1,-23,-125,51,-32,47,47,-30,-26,-31,-42,17,121,-18,-37,64,-33,-125,-6,-89,-105,22,-15,49,-44,71,-25,6,-15,-83,-46,36,74,87,17,-120,17,-24,96,6,69,-47,28,-60,57,88,69,81,12,-59,33,-58,97,21,67,9,52,15,113,30,86,9,-108,68,11,16,23,96,-107,-92,125,39,-31,90,-128,107,30,98,28,-26,8,-60,8,-36,53,11,51,97,18,-63,19,99,80,109,-122,-42,-118,5,-54,-9,-9,-107,27,-47,-64,-45,104,-2,3,88,85,-115,-61],"style":null,"prjCoordSys":null,"position":{"x":115.50019126245343,"y":39.49988247485606,"z":0},"id":0,"modelUrl":null,"partTopo":null}],

"succeed":true,

"message":null

}。

HEAD 请求

返回跟 GET 请求一样的 HTTP 响应头,但是没有响应实体。可以在不必传输整个响应内容的情况下,获取包含在响应消息头中的元数据信息。元数据信息包括媒体类型,字符编码,压缩编码,实体内容长度等。

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

请参见