datasetSunlightResult


URI

<sunlight_uri>/{datasetsunlightResultID}[.<format>]

支持的方法

GETHEAD

父资源

sunlight

介绍

数据集获取日照分析查询结果资源。

支持的方法:

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

资源层次

HTTP 请求方法

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

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

GET 请求

返回日照分析查询结果资源。

响应结构

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

字段 类型 说明
sunlightpointresults object 日照分析点集的属性信息,包括日照点的日照分析、日照时间、点的位置。
geometries Geometry3D 日照分析查询结果模型数组。
succeed boolean 日照分析查询是否成功;成功则返回 true,否则返回 false。
message String 日照分析查询过程中产生的相关信息。

响应示例

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

{

"sunlightpointresults":[[{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521711114,"y":39.49988561911403,"z":-1.6999820321798325}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103803812,"y":39.499885619109214,"z":-1.6999814361333847}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103809974,"y":39.49988561903939,"z":-5.599981293082237}},{"sunlight":100,"period":[],"position":{"x":115.50009521716937,"y":39.49988561904422,"z":-5.599981770850718}},{"sunlight":100,"period":[],"position":{"x":115.50009812760464,"y":39.49988561907676,"z":-3.649981727823615}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.500101038069,"y":39.4998856190743,"z":-3.6499812453985214}},{"sunlight":100,"period":[],"position":{"x":115.5000966723577,"y":39.49988561909554,"z":-2.6749818213284016}},{"sunlight":100,"period":[],"position":{"x":115.50009521714043,"y":39.49988561907913,"z":-3.6499819615855813}},{"sunlight":100,"period":[],"position":{"x":115.50009958285202,"y":39.49988561905794,"z":-4.624981392174959}},{"sunlight":100,"period":[],"position":{"x":115.50009958282156,"y":39.49988561909312,"z":-2.6749815829098225}},{"sunlight":100,"period":[],"position":{"x":115.50009885519802,"y":39.49988561910226,"z":-2.187481631524861}},{"sunlight":100,"period":[],"position":{"x":115.50009667238726,"y":39.49988561906062,"z":-4.62498186994344}},{"sunlight":100,"period":[],"position":{"x":115.5000974000109,"y":39.499885619051234,"z":-5.112481583841145}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103805349,"y":39.49988561909175,"z":-2.6749813398346305}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103808438,"y":39.49988561905685,"z":-4.6249813893809915}},{"sunlight":100,"period":[],"position":{"x":115.50009521715491,"y":39.499885619061665,"z":-4.624981865286827}},{"sunlight":100,"period":[],"position":{"x":115.50009521712595,"y":39.49988561909659,"z":-2.6749820560216904}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521710271,"y":39.49987933090548,"z":-1.6999806025996804}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521711114,"y":39.49988561911403,"z":-1.6999820321798325}},{"sunlight":100,"period":[],"position":{"x":115.50009521716937,"y":39.49988561904422,"z":-5.599981770850718}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521716078,"y":39.4998793308318,"z":-5.599980338476598}},{"sunlight":100,"period":[],"position":{"x":115.50009521713605,"y":39.49988247497395,"z":-3.6499812556430697}},{"sunlight":100,"period":[],"position":{"x":115.50009521712357,"y":39.49988404704433,"z":-2.6749815866351128}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521713167,"y":39.49987933086865,"z":-3.6499805310741067}},{"sunlight":100,"period":[],"position":{"x":115.50009521714851,"y":39.499880902903094,"z":-4.624980919063091}},{"sunlight":100,"period":[],"position":{"x":115.50009521714043,"y":39.49988561907913,"z":-3.6499819615855813}},{"sunlight":100,"period":[],"position":{"x":115.50009521711314,"y":39.49988168897479,"z":-2.1874811593443155}},{"sunlight":100,"period":[],"position":{"x":115.5000952171192,"y":39.499880902939566,"z":-2.674980870448053}},{"sunlight":100,"period":[],"position":{"x":115.50009521715894,"y":39.49988326097346,"z":-5.112481588497758}},{"sunlight":100,"period":[],"position":{"x":115.50009521715272,"y":39.499884047008806,"z":-4.6249813959002495}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521714632,"y":39.49987933085023,"z":-4.6249804347753525}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521711719,"y":39.49987933088705,"z":-2.674980624578893}},{"sunlight":100,"period":[],"position":{"x":115.50009521712595,"y":39.49988561909659,"z":-2.6749820560216904}},{"sunlight":100,"period":[],"position":{"x":115.50009521715491,"y":39.499885619061665,"z":-4.624981865286827}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103803812,"y":39.499885619109214,"z":-1.6999814361333847}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521711114,"y":39.49988561911403,"z":-1.6999820321798325}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521710271,"y":39.49987933090548,"z":-1.6999806025996804}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103802883,"y":39.499879330900654,"z":-1.69998000562191}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103809974,"y":39.49988561903939,"z":-5.599981293082237}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103809082,"y":39.49987933082699,"z":-5.599979862570763}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521716078,"y":39.4998793308318,"z":-5.599980338476598}},{"sunlight":100,"period":[],"position":{"x":115.50009521716937,"y":39.49988561904422,"z":-5.599981770850718}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103803812,"y":39.499885619109214,"z":-1.6999814361333847}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103802883,"y":39.499879330900654,"z":-1.69998000562191}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103809082,"y":39.49987933082699,"z":-5.599979862570763}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103809974,"y":39.49988561903939,"z":-5.599981293082237}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103806437,"y":39.49988247496905,"z":-3.64998053945601}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.5001010380467,"y":39.49988090293462,"z":-2.6749803945422173}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.500101038069,"y":39.4998856190743,"z":-3.6499812453985214}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103808224,"y":39.49988404700399,"z":-4.624980919063091}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103805973,"y":39.499879330863834,"z":-3.6499798158183694}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103804239,"y":39.49988326102217,"z":-2.1874809209257364}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103805114,"y":39.49988404703938,"z":-2.6749811097979546}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103808651,"y":39.4998816889156,"z":-5.1124806348234415}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103807759,"y":39.49988090289826,"z":-4.624980442225933}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103808438,"y":39.49988561905685,"z":-4.6249813893809915}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103805349,"y":39.49988561909175,"z":-2.6749813398346305}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103804438,"y":39.49987933088225,"z":-2.674979911185801}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103807509,"y":39.4998793308454,"z":-4.624979957938194}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103802883,"y":39.499879330900654,"z":-1.69998000562191}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521710271,"y":39.49987933090548,"z":-1.6999806025996804}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521716078,"y":39.4998793308318,"z":-5.599980338476598}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103809082,"y":39.49987933082699,"z":-5.599979862570763}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009812759576,"y":39.499879330866264,"z":-3.649980296380818}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521713167,"y":39.49987933086865,"z":-3.6499805310741067}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009958281258,"y":39.49987933088361,"z":-2.674980152398348}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103805973,"y":39.499879330863834,"z":-3.6499798158183694}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009667237856,"y":39.49987933084919,"z":-4.624980439431965}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009667234899,"y":39.49987933088601,"z":-2.674980390816927}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.5000973999574,"y":39.499879330894565,"z":-2.187480440363288}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009958284303,"y":39.499879330846504,"z":-4.624979961663485}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009885523443,"y":39.49987933083797,"z":-5.11248015332967}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521711719,"y":39.49987933088705,"z":-2.674980624578893}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50009521714632,"y":39.49987933085023,"z":-4.6249804347753525}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103807509,"y":39.4998793308454,"z":-4.624979957938194}},{"sunlight":0,"period":[{"startTime":"2018-08-16 08:30:00","endTime":"2018-08-16 08:30:00"}],"position":{"x":115.50010103804438,"y":39.49987933088225,"z":-2.674979911185801}}]],

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

"succeed":true,

"message":null

}

HEAD 请求

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

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

请参见