• 基于三维WebGL技术的公安三维项目


     一、总体框架

      二、建设内容

      完成三维数据采集,通过倾斜摄影技术实现三维数据采集。对三维数据进行数据加工处理,进行单体化,实现对楼层的房间的单体化,从三维图上能定位到具体的房间。并实现与社区警务三实信息采集的对接(需民警配合完成)。按照一标三实信息采集需求与规范,配合民警完成一标三实数据完善和标准化处理,将三实信息与单体化数据进行关联处理,实现在三维地图上对三实信息的全方面展示。

      基于三维地图服务建设部份核心共性业务功能模块,如全市警务分布、以户找人、以人找户等应用功能。

      三、数字化预案

      包括预案制作、日常指挥调度预案、预案导出、预案推演、预案执行。

      四、视频监控

      视频监控主要针对目前案件相关视频查询和回放等工作。通过与视频监控等相关系统对接,实现视频监控位置的直观展示,实时视频的快速调用等功能。

      五、GPS警力监控

      GPS警力监控实现了对携带GPS定位设备的警力的实时定位监控与历史轨迹回放等功能,为领导实时的展现路面巡逻与案事件周边的警力资源,为警力的有效调配和管理提供强有力的支持,为领导的日常管理提供以及面对突发事件的决策提供服务。

      六、旅店业管理

      旅店业关联应用以旅馆数据为基础,旅馆业第三方业务系统数据为依托,围绕着治安日常工作中的旅店业管理,提供直观有效的管理手段。

      七、网吧管理

      网吧管理应用以网吧数据为基础,第三方业务系统数据为依托,提供直观有效的网吧以及上网人员的管理手段。

    
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title data-i18n="resources.title_closestFacilitiesService"></title>
    <style type="text/css">
            body {
                margin: 0;
                overflow: hidden;
                background: #fff;
                 100%;
                height: 100%
            }
    
            #map {
                position: absolute;
                 100%;
                height: 100%;
            }
    
            #toolbar {
                position: absolute;
                top: 50px;
                right: 10px;
                 320px;
                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_closestFacilitiesService"></h5></div>
    <div class='panel-body content'>
    <div class='panel'>
    <div class='input-group'>
    <span class='input-group-addon' data-i18n="resources.text_weightField"></span>
    <select class='form-control' id='edgeWeightNames'>
    <option>length</option>
    <option>time</option>
    </select>
    </div>
    </div>
    <div class='panel'>
    <div class='input-group'>
    <span class='input-group-addon' data-i18n="resources.text_turnField"></span>
    <select class='form-control' id='turnNodeWeightNames'>
    <option>TurnCost</option>
    </select>
    </div>
    </div>
    <input type="button" class="btn btn-default" data-i18n="[value]resources.text_input_value_eventPoint" onclick="selectEventPoint()"/>&nbsp;
    <input type="button" class="btn btn-default" data-i18n="[value]resources.text_input_value_submit" onclick="findClosestFacilities()"/>&nbsp;
    <input type="button" class="btn btn-default" data-i18n="[value]resources.text_input_value_clear" onclick="clearElements()"/>
    </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, layer, vectorLayer, markerLayer1,
            markerLayer2, drawPoint, eventPoint, n = 0,
            facilityPoints = [
                new SuperMap.Geometry.Point(6000, -5500),
                new SuperMap.Geometry.Point(5500, -2500),
                new SuperMap.Geometry.Point(2500, -3500)],
            style = {
                strokeColor: "#304DBE",
                strokeWidth: 3,
                pointerEvents: "visiblePainted",
                fill: false
            },
            url1 = host + "/iserver/services/map-changchun/rest/maps/长春市区图",
            url2 = host + "/iserver/services/transportationanalyst-sample/rest/networkanalyst/RoadNet@Changchun";
    
        init();
    
        function init() {
            vectorLayer = new SuperMap.Layer.Vector("Vector Layer");
            drawPoint = new SuperMap.Control.DrawFeature(vectorLayer, SuperMap.Handler.Point);
            drawPoint.events.on({"featureadded": drawCompleted});
            map = new SuperMap.Map("map", {
                controls: [
                    new SuperMap.Control.ScaleLine(),
                    new SuperMap.Control.Zoom(),
                    new SuperMap.Control.Navigation({
                        dragPanOptions: {
                            enableKinetic: true
                        }
                    }),
                    drawPoint], units: "m"
            });
            map.addControl(new SuperMap.Control.LayerSwitcher(), new SuperMap.Pixel(42, 80));
            layer = new SuperMap.Layer.TiledDynamicRESTLayer("Changchun", url1, {
                transparent: true,
                cacheEnabled: true
            }, {maxResolution: "auto"});
            layer.events.on({"layerInitialized": addLayer});
            markerLayer1 = new SuperMap.Layer.Markers("Markers");
            markerLayer2 = new SuperMap.Layer.Markers("Markers");
    
            var size = new SuperMap.Size(44, 40),
                offset = new SuperMap.Pixel(-(size.w / 2), -size.h),
                icon1 = new SuperMap.Icon("./images/marker-gold.png", size, offset),
                icon2 = new SuperMap.Icon("./images/marker-gold.png", size, offset),
                icon3 = new SuperMap.Icon("./images/marker-gold.png", size, offset);
            markerLayer1.addMarker(new SuperMap.Marker(new SuperMap.LonLat(6000, -5500), icon1));
            markerLayer1.addMarker(new SuperMap.Marker(new SuperMap.LonLat(5500, -2500), icon2));
            markerLayer1.addMarker(new SuperMap.Marker(new SuperMap.LonLat(2500, -3500), icon3));
        }
    
        function addLayer() {
            map.addLayers([layer, vectorLayer, markerLayer1, markerLayer2]);
            map.setCenter(new SuperMap.LonLat(4503.6240321526, -3861.911472192499), 1);
        }
    
        function selectEventPoint() {
            widgets.alert.clearAlert();
            clearElements();
            drawPoint.activate();
        }
    
        function drawCompleted(drawGeometryArgs) {
            var point = drawGeometryArgs.feature.geometry,
                size = new SuperMap.Size(44, 33),
                offset = new SuperMap.Pixel(-(size.w / 2), -size.h),
                icon = new SuperMap.Icon("./images/marker.png", size, offset);
            markerLayer2.addMarker(new SuperMap.Marker(new SuperMap.LonLat(point.x, point.y), icon));
            eventPoint = point;
            n++;
            if (n >= 1) {
                drawPoint.deactivate();
            }
        }
    
        function findClosestFacilities() {
            widgets.alert.clearAlert();
            drawPoint.deactivate();
            if (!eventPoint) {
                widgets.alert.showAlert(resources.msg_eventPoint,true);
                return;
            }
            var findClosestFacilitiesService, parameter, analystParameter, resultSetting;
            resultSetting = new SuperMap.REST.TransportationAnalystResultSetting({
                returnEdgeFeatures: true,
                returnEdgeGeometry: true,
                returnEdgeIDs: true,
                returnNodeFeatures: true,
                returnNodeGeometry: true,
                returnNodeIDs: true,
                returnPathGuides: true,
                returnRoutes: true
            });
            var edgeWeightNamesSelect = document.getElementById("edgeWeightNames");
            var weightFieldName = edgeWeightNamesSelect.options[edgeWeightNamesSelect.selectedIndex].text;
    
            var turnWeightFieldSelect = document.getElementById("turnNodeWeightNames");
            var turnNodeWeightNames = turnWeightFieldSelect.options[turnWeightFieldSelect.selectedIndex].text;
            analystParameter = new SuperMap.REST.TransportationAnalystParameter({
                resultSetting: resultSetting,
                turnWeightField: turnNodeWeightNames,
                weightFieldName: weightFieldName
            });
            parameter = new SuperMap.REST.FindClosestFacilitiesParameters({
                event: eventPoint,
                expectFacilityCount: 1,
                isAnalyzeById: false,
                facilities: facilityPoints,
                parameter: analystParameter
            });
            findClosestFacilitiesService = new SuperMap.REST.FindClosestFacilitiesService(url2, {
                eventListeners: {"processCompleted": processCompleted}
            });
            findClosestFacilitiesService.processAsync(parameter);
        }
    
        function processCompleted(findClosestFacilitiesEventArgs) {
            var result = findClosestFacilitiesEventArgs.result,
                features = [];
            if (result.facilityPathList) {
                for (var i = 0, facilityPathList = result.facilityPathList, len = facilityPathList.length; i < len; i++) {
                    var feature = new SuperMap.Feature.Vector();
                    feature.geometry = facilityPathList[i].route;
                    feature.style = style;
                    features.push(feature);
                }
            }
            vectorLayer.addFeatures(features);
        }
    
        function clearElements() {
            widgets.alert.clearAlert();
            eventPoint = null;
            n = 0;
            markerLayer2.clearMarkers();
            vectorLayer.removeAllFeatures();
        }
    </script>
    </body>
    </html>


    技术交流 省涯 QQ:2252224326 2252224326@qq.com 版权所有 http://blog.sina.com.cn/u/6029512413
  • 相关阅读:
    JGrouseDoc使用(原创)
    MVP*2
    《天气与生活》修正近日总是显示数据有误的问题
    [Vista Gadget] 《农历小助手》和《天气与生活》发布新版
    Vista Sidebar gadget development(dropping)
    微软要干掉ADOBE?
    [JS]根据格式字符串分析日期(MM与自动匹配两位的09和一位的9),货币分析成浮点数
    Vista问题二则
    腾讯公司内部信息平台部门招聘.net资深开发工程师和项目经理
    ClientSortableTableExtender Ajax toolkit Extender(源码以后再发布和讲解)
  • 原文地址:https://www.cnblogs.com/shengya/p/14953037.html
Copyright © 2020-2023  润新知