datasets bounding_box_max和bounding_box_min对应的是cloud.js里的tightBoundingBox bundle_id?3 color?"pink" gridmap_filename?"map.2cm.png" http://indoor.popsmart.cn:8084/sxswsw/data/2017-11-11_06.36.39/map.2cm.png gridmap_orientation?0 gridmap_origin?[-19.984063, -15.131225] gridmap_res?0.02 gridmap_size?[1334, 1703] has_depth_images?是否有深度图 has_images?是否有全景图 id?43 location?[120.58636147069285, 29.991338912466446, 0.2674398422241211] name:点云数据目录 orientation?-1.5064133791782077 point_cloud_type:数据类型,这里是点云———"POTREE" security: 功能权限,如:{group_read: 0, group_write: 1, can_write: false} site_model_entity_id?12 title?"1111-19" type:"NAVVIS" visible?如:false ********************************************************************************************************************************************************************************************** camera_heads alpha_masks:null|["M1/alphamask-100-808x616-0.png", "M1/alphamask-100-808x616-1.png", "M1/alphamask-100-808x616-2.png",…]|["M2-rev0/cam0.png", "M2-rev0/cam1.png", "M2-rev0/cam2.png", "M2-rev0/cam3.png", "M2-rev0/cam4.png",…] blending:null|"+" depth_fn_format? depth_resolutions?0 fn_format:?cube图, "$ID-pano-tex-$TILE.jpg"|"$ID-ladybug-$INDEX.jpg"|"$ID-ladybug-$INDEX-tex.jpg"|"$ID-cam$INDEX.jpg"|"cam/tiles/r$RES/$ID100/$ID-cam$CAM-tex-r$RES-$TILE.jpg" id: 1|2|3 identifier: "pano-rev0"|"m1-rev0-preview"|"m1-rev0" meshes: ["pano/tiles/pano-00.obj", "pano/tiles/pano-01.obj", "pano/tiles/pano-02.obj",…]|["M1/ladybug0.obj", "M1/ladybug1.obj", "M1/ladybug2.obj", "M1/ladybug3.obj", "M1/ladybug4.obj",…]|["M1/ladybug0.obj", "M1/ladybug1.obj", "M1/ladybug2.obj", "M1/ladybug3.obj", "M1/ladybug4.obj",…] name: "Panorama"|"Ladybug 3 Preview"|"Ladybug 3" resolutions: 1 tiles: 32|0|0|16 ********************************************************************************************************************************************************************************************** site_model area: 9749.732002969164 attributes: {} center: [120.58631611971951, 29.991368179921004, 0] children: 格式和当前数据格式一致 geometry_hash: 1891071345 id: 1 name: "三味书屋" polygon: {type: "Polygon",…} type: "BUILDING" volume: null z_max: null z_min: null ********************************************************************************************************************************************************************************************** tiled_maps (应该是地图数据) bundle_id: 3 file_name: "$DEPTH/$X/$Y.png" file_path: "data/bundle_e67bb877-9674-4549-b6c6-5edf049a8ef5/building_1/map_tiles/2" floor_id: 2 id: 5 location: [120.58621281403158, 29.991430706723694, 0.22243994499999997] map_size_m: 61.44 max_depth: 3 orientation: 朝向,应该是quaternation [0.6497313898579827, 0, 0, 0.7601638777482221] quadtree: "fccf7fffcff3bf7f" tile_size_px: 256 type: "TILED_PYRAMID" ********************************************************************************************************************************************************************************************** 1463(初始点id) camera_head_id: 12 dataset_floor_location: [-0.8071792828, -7.8391666032, 0] dataset_id: 61 //数据id,比如:分块了。自增1 dataset_location: [-0.9235293705548061, -7.901821757534243, 1.7464048584209941] dataset_orientation: [-0.13446655377624134, 0.010837326206415367, -0.005118374440006826, 0.9908456491502733] file_id: "00013" //应该是拍摄的时候,可以分多段拍摄,每一段都是从00000开始递增 file_path: "data/2017-11-11_06.42.12" floor_location: [120.58627072961269, 29.991507924850293, 0.30361461639404297] hidden: false id: 1463 location: [120.58627208336249, 29.99150810503829, 2.050019474815037] orientation: 朝向,应该是quaternation [-0.9992717488441094, 0.006889078915013335, 0.009807445534648216, 0.03622604707280119] site_model_entity_id: 14 ********************************************************************************************************************************************************************************************** within 貌似移动距离比较远的时候需要用到这个数据 ********************************************************************************************************************************************************************************************** 要下载的数据: camera_heads.json里: 1. meshes,如:http://indoor.popsmart.cn:8084/sxswsw/camera_head/pano/tiles/pano-01.obj 目前还缺少,补充 2. alpha_masks,http://indoor.popsmart.cn:8084/sxswsw/camera_head/+alpha_masks 3. 发送请求filter,返回一组数据。通过id,能找到所有的信息。比如:file_path,然后从camera_heads的固定规则里找到图片 4. "identifier": "pano-multires-rev0"———————————————————— fn_format对应的图片:32张,resolutions有个算法:getHighestRes,ID,INDEX等方面的算法:getImageFilename,file_id "fn_format": "pano/tiles/r$RES/$ID100/$ID-pano-tex-r$RES-$TILE.jpg", "depth_fn_format": "pano_depth/tiles/r$RES/$ID100/$ID-pano-depth-r$RES-$TILE.png", ********************************************************************************************************************************************************************************************** 左侧栏的兴趣点对应:poi_types ********************************************************************************************************************************************************************************************** 调试 core.map.tile_url onLoadComplete 加载完全景图 是否有点云:t.config.showPointCloud t.prototype.mapToRepositoryEntities e.promiseFinally = function(t, e) { return t.then((function(t) { return e(), t } )).catch((function(t) { return e(), Promise.reject(t) } )) } ********************************************************************************************************************************************************************************************** 两个后端请求 http://indoor.popsmart.cn:8084/sxswsw/api/site_model/within?location=120.58627789013173&location=29.99158123449871&location=1.149475336074829&type=FLOOR http://indoor.popsmart.cn:8084/sxswsw/api/images/filter?hidden=false&lat=29.991621550412095&lon=120.58615962007934&radius=20&site_model_entity=2&site_model_entity= ********************************************************************************************************************************************************************************************** 换文件名称 0.000f190386b228875e25.js —————————— 0.js 1.c1853290f670423b7527.js —————————— 1.js 2.2ce6b49b8b065f35ecd0.js —————————— 2.js 3.eaed849cc22768e36240.js —————————— 3.js 14.4331acc2c778ecc64c4a.js —————————— 14.js 15.911fc079db6705d168db.js —————————— 15.js 17.82bbf60e16d46d39aea0.js —————————— 17.js 18.74aff998a9a0809c55ec.js —————————— 18.js 19.77825ef0e44aed4d6923.js —————————— 19.js 20.6b25999da18928efa560.js —————————— 20.js 21.6e35bf5486d7bec96c04.js —————————— 21.js 22.5e732276a454498ed917.js —————————— 22.js 23.8641b8fc3d6165bb187f.js —————————— 23.js 24.4b5f0f3ea342b634f9c3.js —————————— 24.js 25.1f3d6c9616e13f12f5f2.js —————————— 25.js NotoSansCJKsc-Regular.3d696b37feacacc5ade6.js —————————— 5.js fonts.5129d374a8ae9f620fd1.js —————————— 8.js main.async.937f8f38454add70d57b.js —————————— 10.js vendors~main.async.cbcba49054e73e98695c.js —————————— 12.js PointCloud.6891a103d9b18f6f5ac7.worker.js —————————— PointCloud.worker.js 9f295a8711d42490962d5d7eb42bfee1.pen-nib-solid.cur ———————————————————— pen-nib-solid.cur 3cc6dd6b814d62e7270783a55e55773d.pen-nib-solid.png ———————————————————— pen-nib-solid.png a4a8aed5ebf7004a129844882204bbb4.rotate-cursor.png ———————————————————— rotate-cursor.png 681aa02995db01b49b6b5e6e83b85cce.rotate-cursor.cur ———————————————————— rotate-cursor.cur