BIM模型和GIS数据数字化服务系统
作者:互联网
系统是基于大型国有平台企业或城市运营商土地规划、项目管理及运营的需求开发完成的,可提供建筑工程全生命周期,全流程,全要素数字化服务。
平台可以实现从单个建筑项目到企业总体项目管控的层级管理,并且可与政府主管单位平台进行对接,满足城市管理、园区管理的要求。其中GIS技术作为系统的重要组成版块,将地理图形数据和建筑工程合成高精度三维实景模型,通过空间关系模拟、大数据存储分析、对整个片区进行实时、动态、可视化的全方位管理,为建设CIM系统提供最坚实的数据基础。
本系统基于超图GIS实现了BIM模型和GIS数据在平面坐标系和地理坐标系之间的转换,实现在地球曲率影响下的BIM模型和GIS数据精确匹配,避免渲染时的裂缝和漏洞等问题,在GIS移动端平台上将数字化的BIM投放到任何场景中。将设计方案与实际施工现场进行比对,可以及时发现问题并进行修正。最终实现BIM管理平台、智慧工地、GIS平台三方联动,贯穿项目的全过程生命周期,提高了工程管理的信息化水平。
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title data-i18n="resources.title_overlayAnalyst"></title>
<style type="text/css">
body {
margin: 0;
overflow: hidden;
background: #fff;
width: 100%;
height: 100%
}
#map {
position: absolute;
width: 100%;
height: 100%;
}
#toolbar {
position: absolute;
top: 50px;
right: 10px;
text-align: center;
z-index: 100;
border-radius: 4px;
}
</style>
</head>
<body>
<div id="toolbar" class="panel panel-primary">
<div class='panel-heading'>
<h5 class='panel-title text-center' data-i18n="resources.text_overlayAnalyst"></h5></div>
<div class='panel-body content'>
<input type="button" class="btn btn-default" data-i18n="[value]resources.btn_overlayAnalyst" onclick="overlayAnalystProcess()"/>
<input type="button" class="btn btn-default" data-i18n="[value]resources.text_removeResult" onclick="removeResult()"/>
</div>
</div>
<div id="map"></div>
<script type="text/javascript" include="bootstrap,widgets.alert" src="../js/include-web.js"></script>
<script type="text/javascript" exclude="iclient-classic" src="../../dist/classic/include-classic.js"></script>
<script>
var host = window.isLocal ? window.server : "https://iserver.supermap.io";
var map, local, baseLayer, resultLayer, Spatialanalyst_sample,
style = {
strokeColor: "#343434",
strokeWidth: 0.1,
pointerEvents: "visiblePainted",
fill: true,
fillColor: "#304DBE",
fillOpacity: 0.8
},
url = host + "/iserver/services/map-jingjin/rest/maps/京津地区人口分布图_专题图",
url2 = host + "/iserver/services/spatialanalyst-sample/restjsr/spatialanalyst";
init();
function init() {
map = new SuperMap.Map("map", {
controls: [
new SuperMap.Control.ScaleLine(),
new SuperMap.Control.Zoom(),
new SuperMap.Control.Navigation({
dragPanOptions: {
enableKinetic: true
}
})]
});
map.addControl(new SuperMap.Control.LayerSwitcher(), new SuperMap.Pixel(42, 80));
baseLayer = new SuperMap.Layer.TiledDynamicRESTLayer("京津地区人口分布图_专题图", url, {
transparent: true,
cacheEnabled: true
}, {maxResolution: "auto"});
baseLayer.events.on({"layerInitialized": addLayer});
resultLayer = new SuperMap.Layer.Vector("叠加结果");
}
function addLayer() {
map.addLayers([baseLayer, resultLayer]);
map.setCenter(new SuperMap.LonLat(117, 40), 1);
map.allOverlays = true;
}
function overlayAnalystProcess() {
widgets.alert.clearAlert();
resultLayer.removeAllFeatures();
var overlayServiceByDatasets = new SuperMap.REST.OverlayAnalystService(url2),
dsOverlayAnalystParameters = new SuperMap.REST.DatasetOverlayAnalystParameters({
sourceDataset: "BaseMap_R@Jingjin",
operateDataset: "Neighbor_R@Jingjin",
tolerance: 0,
operation: SuperMap.REST.OverlayOperationType.UNION
});
overlayServiceByDatasets.events.on({
"processCompleted": overlayAnalystCompleted,
"processFailed": overlayAnalystFailed
});
overlayServiceByDatasets.processAsync(dsOverlayAnalystParameters);
}
function overlayAnalystCompleted(args) {
var feature, features = [];
for (var i = 0; i < args.result.recordset.features.length; i++) {
feature = args.result.recordset.features[i];
feature.style = style;
features.push(feature);
}
resultLayer.addFeatures(features);
}
function overlayAnalystFailed(args) {
widgets.alert.showAlert(args.error.errorMsg,false);
}
function removeResult() {
widgets.alert.clearAlert();
resultLayer.removeAllFeatures();
}
</script>
</body>
</html>
标签:数字化,SuperMap,BIM,GIS,map,function,new,resultLayer 来源: https://blog.csdn.net/qq_43235676/article/details/117694627