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