有了BIM+GIS,实现室内室外一体化,室内导航等不再是梦想了哈!
最近为了学bim+gis,断断续续开始学超图产品,还是小白一枚,若分享中有错误,欢迎批评指正!
关于BIM的属性查询,之前在网上没找到合适的解决方案,走了不少弯路,终于解决了!废话不多说,直接上干货!
相信有不少小伙伴像我一样,学习时候参考的这个范例http://support.supermap.com.cn:8090/webgl/examples/editor.html#S3MTiles_BIM
但是,这是个坑啊!入坑的小伙伴们让我看到你们的双手,知道自己不是一个人
我联系了超图的技术人员,给出的答复是这个BIM模型是矢量面贴上去的,发布的数据服务是多个数据聚合云云的(具体说法忘了,总之不要用这个撒)
需要参考的正确范例是这个http://support.supermap.com.cn:8090/webgl/examples/editor.html#S3MTiles
先把我的代码贴上来吧,后面解释一下几点需要注意的地方。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<title>属性查询</title>
<link href="./Build/Cesium/Widgets/widgets.css" rel="stylesheet">
<link href="./css/pretty.css" rel="stylesheet">
<script src="./js/jquery.min.js"></script>
<script src="./js/config.js"></script>
<script type="te