德国激光相机

wuweihao a6d50ba133 模板文件放服务器, 当前项目路径+baseData 4 vuotta sitten
laser a6d50ba133 模板文件放服务器, 当前项目路径+baseData 4 vuotta sitten
.gitignore dcad6e9d82 Initial commit 4 vuotta sitten
README.md c349d5ef0a 修改坐标、modifyCloud 4 vuotta sitten

README.md

德国相机

demo-url:
api:http://indoor.popsmart.cn:8084/sxswsw/api/site_model/within?location=120.58645186143931&location=29.991567318555767&location=1.1677126884460454&type=BUILDING
demo:http://indoor.popsmart.cn:8084/sxswsw-sx/
    type 返回都是相应坐标的参数
        BUILDING: 建筑物 -> 只返回建筑物数据
        FLOOR: 楼层 -> 只返回楼层数据 - 多边形数据为null, 把找到坐标房间信息返回给前端
        ROOM: 房间 -> 只返回房间数据
        type=null -> 返回相应参数的建筑物.楼层.房间数据

服务器信息

/阿里云-四维时代-官网测试服务器-120.25.146.52/root/user/java/jar_run/


aip: http://127.0.0.1:9294/indoor/aa/api/images/1288 
221.4.210.172:9294/indoor/aa/api/images/1288    

#API

https://testlaser.4dkankan.com/indoor/test1/api/site_model/within?location=120.58629809780416&location=29.991469096442984&location=2.050019474815037&type=FLOOR    
https://testlaser.4dkankan.com/indoor/test1/api/site_model/within?location=120.58629809780416&location=29.991469096442984&location=2.050019474815037&type=FLOOR  

http://127.0.0.1:9294/indoor
https://testlaser.4dkankan.com/indoor

http://indoor.popsmart.cn:8084/sxswsw/api/site_model/within?location=120.58629809780416&location=29.991469096442984&location=2.050019474815037&type=FLOOR


http://test.4dkankan.com:9294/indoor/{test1}/api/images/{id} 


# 测试计算最小距离
http://127.0.0.1:9294/indoor/test1/api/images/filter?hidden=false&lat=29.99150810503829&limit=1&lon=120.58627208336249&z=2.050019474815037 

# 有半径的
http://127.0.0.1:9294/indoor/test2/api/images/filter?hidden=false&lat=22.3668029722544&lon=113.595671720124&radius=20&site_model_entity=

日志

# 2021-07-15
这个接口还有问题:
https://testlaser.4dkankan.com/indoor/test1/api/images/filter?hidden=false&lat_max=29.99143363257292&lat_min=29.991244191301476&lon_max=120.5867345486961&lon_min=120.58598839339827&site_model_entity=2&site_model_entity=&spacing=1.56


https://testlaser.4dkankan.com/indoor/test1/api/images/filter?hidden=false&lat_max=29.99143363257292&lat_min=29.991244191301476&lon_max=120.5867345486961&lon_min=120.58598839339827&site_model_entity=2&site_model_entity=&step=4&spacing=1.56

这两个接口,一个有值,一个没有,这个不应该,都应该有值才对。估计是没有step这个参数导致的,这里要改改,step可以没有。  


# 2021-07-16
    filte查询接口, 测试过是成功的
      http://127.0.0.1:9294/indoor/test1/api/filter/filter?dataset=45&hidden=false&limit=100&site_model_entity=17&sort_by=asc&sort_order=file_id

mongodb

导入数据是,嵌套数据的id不需要改成_id

导入list数据, 在192.168.0.47服务器操作
docker cp /root/user/owen/filter3.json mongo:/root/filter3.json
docker exec -it mongo /bin/sh
mongoimport --authenticationDatabase=json_data --username=4dage --password=1234  --collection=json_data_3 --db=json_data --jsonArray /root/filter3.json

嵌套实体对象, 如果要使用id, 需要录入数据库时把id -> _id

2021-07-28

不区分登录
t_users  已完成
t_configs  已完成
t_health  已完成


区分登录
t_user 已完成
t_group  已完成
t_license  已完成

test2 已处理
t_filter
t_site_model
t_poi
t_poi_types
t_poi_type_groups

坐标

获取特殊点,firstView, lat:113, [0], lon:22, [1]

测试页面

https://testlaser.4dkankan.com/maxkk/test2

t-gWKRICl /mnt/data/00001001/872161343271075840/74ee2a32dbde_202108031655164910/results t-p307mDm /mnt/data/00001001/872174780395028480/74ee2a32dbde_202108031736546430/results

aa-p307mDm

db.getCollection('t_special_point').find({"sceneCode":"t-SNZRfWt"})

t-gWKRICl /mnt/data/00001002/872519700045627392/74ee2a39e656_202108041610248900/results

t-RJlwqtc /mnt/data/00001002/872519700045627392/74ee2a39e656_202108041610248900/results

t-p307mDm