diff --git a/.env.development b/.env.development index ee7c009..e64c366 100644 --- a/.env.development +++ b/.env.development @@ -8,7 +8,7 @@ VITE_PUBLIC_PATH = / #基础框架 VITE_GLOB_API_URL = http://192.168.10.163:9620 -VITE_GLOB_API_URL_SITUATION = http://192.168.10.163:9024 +VITE_GLOB_API_URL_SITUATION = http://192.168.10.163:9024/ # File upload address, optional # It can be forwarded by nginx or write the actual address directly VITE_GLOB_UPLOAD_URL= http://60.213.14.14:6070 diff --git a/.env.linyefanghuo b/.env.linyefanghuo index 618db93..69a2e95 100644 --- a/.env.linyefanghuo +++ b/.env.linyefanghuo @@ -38,4 +38,4 @@ VITE_GLOB_YINGXIANG_SERVER = http://192.168.31.205:8080/geoserver/ne/wms?service VITE_GLOB_FILE_PREVIEW = http://120.222.154.7:6081 -VITE_GLOB_API_URL_SITUATION = http://123.132.248.154:6033 +VITE_GLOB_API_URL_SITUATION = http://123.132.248.154:6033/ diff --git a/public/components/Task/taskassign/close-active.png b/public/components/Task/taskassign/close-active.png new file mode 100644 index 0000000..5a40278 Binary files /dev/null and b/public/components/Task/taskassign/close-active.png differ diff --git a/public/components/Task/taskassign/close.png b/public/components/Task/taskassign/close.png new file mode 100644 index 0000000..99d6bc1 Binary files /dev/null and b/public/components/Task/taskassign/close.png differ diff --git a/public/components/Task/taskassign/container-bg.png b/public/components/Task/taskassign/container-bg.png new file mode 100644 index 0000000..4367d10 Binary files /dev/null and b/public/components/Task/taskassign/container-bg.png differ diff --git a/public/components/Task/taskassign/detail-bg-active.png b/public/components/Task/taskassign/detail-bg-active.png new file mode 100644 index 0000000..158b613 Binary files /dev/null and b/public/components/Task/taskassign/detail-bg-active.png differ diff --git a/public/components/Task/taskassign/detail-bg.png b/public/components/Task/taskassign/detail-bg.png new file mode 100644 index 0000000..65591a6 Binary files /dev/null and b/public/components/Task/taskassign/detail-bg.png differ diff --git a/public/components/Task/taskassign/item-bg-active.png b/public/components/Task/taskassign/item-bg-active.png new file mode 100644 index 0000000..1bc7b30 Binary files /dev/null and b/public/components/Task/taskassign/item-bg-active.png differ diff --git a/public/components/Task/taskassign/item-bg.png b/public/components/Task/taskassign/item-bg.png new file mode 100644 index 0000000..67870ad Binary files /dev/null and b/public/components/Task/taskassign/item-bg.png differ diff --git a/public/components/Task/taskassign/map-monitor.png b/public/components/Task/taskassign/map-monitor.png new file mode 100644 index 0000000..cbbf07e Binary files /dev/null and b/public/components/Task/taskassign/map-monitor.png differ diff --git a/public/components/Task/taskassign/map-uav.png b/public/components/Task/taskassign/map-uav.png new file mode 100644 index 0000000..4a41489 Binary files /dev/null and b/public/components/Task/taskassign/map-uav.png differ diff --git a/public/components/Task/taskassign/map-user.png b/public/components/Task/taskassign/map-user.png new file mode 100644 index 0000000..d093fac Binary files /dev/null and b/public/components/Task/taskassign/map-user.png differ diff --git a/public/components/Task/taskassign/methods-add.png b/public/components/Task/taskassign/methods-add.png new file mode 100644 index 0000000..7a660c7 Binary files /dev/null and b/public/components/Task/taskassign/methods-add.png differ diff --git a/public/components/Task/taskassign/methods-close.png b/public/components/Task/taskassign/methods-close.png new file mode 100644 index 0000000..3e758c5 Binary files /dev/null and b/public/components/Task/taskassign/methods-close.png differ diff --git a/public/components/Task/taskassign/methods-container-bg.png b/public/components/Task/taskassign/methods-container-bg.png new file mode 100644 index 0000000..9502f62 Binary files /dev/null and b/public/components/Task/taskassign/methods-container-bg.png differ diff --git a/public/components/Task/taskassign/methods-helicopter.png b/public/components/Task/taskassign/methods-helicopter.png new file mode 100644 index 0000000..64e0571 Binary files /dev/null and b/public/components/Task/taskassign/methods-helicopter.png differ diff --git a/public/components/Task/taskassign/methods-monitor.png b/public/components/Task/taskassign/methods-monitor.png new file mode 100644 index 0000000..b8b34d0 Binary files /dev/null and b/public/components/Task/taskassign/methods-monitor.png differ diff --git a/public/components/Task/taskassign/methods-response.png b/public/components/Task/taskassign/methods-response.png new file mode 100644 index 0000000..a350707 Binary files /dev/null and b/public/components/Task/taskassign/methods-response.png differ diff --git a/public/components/Task/taskassign/methods-uav.png b/public/components/Task/taskassign/methods-uav.png new file mode 100644 index 0000000..104b465 Binary files /dev/null and b/public/components/Task/taskassign/methods-uav.png differ diff --git a/public/components/Task/taskassign/methods-verify.png b/public/components/Task/taskassign/methods-verify.png new file mode 100644 index 0000000..1a191f6 Binary files /dev/null and b/public/components/Task/taskassign/methods-verify.png differ diff --git a/public/components/Task/taskassign/monitor-active.png b/public/components/Task/taskassign/monitor-active.png new file mode 100644 index 0000000..b9f2bd7 Binary files /dev/null and b/public/components/Task/taskassign/monitor-active.png differ diff --git a/public/components/Task/taskassign/monitor.png b/public/components/Task/taskassign/monitor.png new file mode 100644 index 0000000..ac0e494 Binary files /dev/null and b/public/components/Task/taskassign/monitor.png differ diff --git a/public/components/Task/taskassign/uav-active.png b/public/components/Task/taskassign/uav-active.png new file mode 100644 index 0000000..1424590 Binary files /dev/null and b/public/components/Task/taskassign/uav-active.png differ diff --git a/public/components/Task/taskassign/uav.png b/public/components/Task/taskassign/uav.png new file mode 100644 index 0000000..d4189bb Binary files /dev/null and b/public/components/Task/taskassign/uav.png differ diff --git a/public/components/Task/taskassign/verify-active.png b/public/components/Task/taskassign/verify-active.png new file mode 100644 index 0000000..d374ee1 Binary files /dev/null and b/public/components/Task/taskassign/verify-active.png differ diff --git a/public/components/Task/taskassign/verify.png b/public/components/Task/taskassign/verify.png new file mode 100644 index 0000000..f731e38 Binary files /dev/null and b/public/components/Task/taskassign/verify.png differ diff --git a/src/assets/images/chart/equipment/source-type-bg.png b/src/assets/images/chart/equipment/source-type-bg.png new file mode 100644 index 0000000..49bd871 Binary files /dev/null and b/src/assets/images/chart/equipment/source-type-bg.png differ diff --git a/src/assets/images/chart/tasks/assign-task.png b/src/assets/images/chart/tasks/assign-task.png new file mode 100644 index 0000000..58c9809 Binary files /dev/null and b/src/assets/images/chart/tasks/assign-task.png differ diff --git a/src/assets/images/chart/tasks/task-assign.png b/src/assets/images/chart/tasks/task-assign.png new file mode 100644 index 0000000..0a6db11 Binary files /dev/null and b/src/assets/images/chart/tasks/task-assign.png differ diff --git a/src/assets/images/chart/tasks/taskassign/container-bg.png b/src/assets/images/chart/tasks/taskassign/container-bg.png new file mode 100644 index 0000000..4367d10 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/container-bg.png differ diff --git a/src/assets/images/chart/tasks/taskassign/item-bg-active.png b/src/assets/images/chart/tasks/taskassign/item-bg-active.png new file mode 100644 index 0000000..1bc7b30 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/item-bg-active.png differ diff --git a/src/assets/images/chart/tasks/taskassign/item-bg.png b/src/assets/images/chart/tasks/taskassign/item-bg.png new file mode 100644 index 0000000..67870ad Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/item-bg.png differ diff --git a/src/assets/images/chart/tasks/taskassign/methdos-helicopter.png b/src/assets/images/chart/tasks/taskassign/methdos-helicopter.png new file mode 100644 index 0000000..64e0571 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/methdos-helicopter.png differ diff --git a/src/assets/images/chart/tasks/taskassign/methods-add.png b/src/assets/images/chart/tasks/taskassign/methods-add.png new file mode 100644 index 0000000..05c85b3 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/methods-add.png differ diff --git a/src/assets/images/chart/tasks/taskassign/methods-close.png b/src/assets/images/chart/tasks/taskassign/methods-close.png new file mode 100644 index 0000000..3e758c5 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/methods-close.png differ diff --git a/src/assets/images/chart/tasks/taskassign/methods-container-bg.png b/src/assets/images/chart/tasks/taskassign/methods-container-bg.png new file mode 100644 index 0000000..9502f62 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/methods-container-bg.png differ diff --git a/src/assets/images/chart/tasks/taskassign/methods-monitor.png b/src/assets/images/chart/tasks/taskassign/methods-monitor.png new file mode 100644 index 0000000..b8b34d0 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/methods-monitor.png differ diff --git a/src/assets/images/chart/tasks/taskassign/methods-response.png b/src/assets/images/chart/tasks/taskassign/methods-response.png new file mode 100644 index 0000000..a350707 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/methods-response.png differ diff --git a/src/assets/images/chart/tasks/taskassign/methods-uav.png b/src/assets/images/chart/tasks/taskassign/methods-uav.png new file mode 100644 index 0000000..104b465 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/methods-uav.png differ diff --git a/src/assets/images/chart/tasks/taskassign/methods-verify.png b/src/assets/images/chart/tasks/taskassign/methods-verify.png new file mode 100644 index 0000000..1a191f6 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/methods-verify.png differ diff --git a/src/assets/images/chart/tasks/taskassign/monitor-active.png b/src/assets/images/chart/tasks/taskassign/monitor-active.png new file mode 100644 index 0000000..b9f2bd7 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/monitor-active.png differ diff --git a/src/assets/images/chart/tasks/taskassign/monitor.png b/src/assets/images/chart/tasks/taskassign/monitor.png new file mode 100644 index 0000000..ac0e494 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/monitor.png differ diff --git a/src/assets/images/chart/tasks/taskassign/uav-active.png b/src/assets/images/chart/tasks/taskassign/uav-active.png new file mode 100644 index 0000000..1424590 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/uav-active.png differ diff --git a/src/assets/images/chart/tasks/taskassign/uav.png b/src/assets/images/chart/tasks/taskassign/uav.png new file mode 100644 index 0000000..d4189bb Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/uav.png differ diff --git a/src/assets/images/chart/tasks/taskassign/verify-active.png b/src/assets/images/chart/tasks/taskassign/verify-active.png new file mode 100644 index 0000000..d374ee1 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/verify-active.png differ diff --git a/src/assets/images/chart/tasks/taskassign/verify.png b/src/assets/images/chart/tasks/taskassign/verify.png new file mode 100644 index 0000000..f731e38 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/verify.png differ diff --git a/src/assets/images/chart/tasks/taskassign/编组 77.png b/src/assets/images/chart/tasks/taskassign/编组 77.png new file mode 100644 index 0000000..158b613 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/编组 77.png differ diff --git a/src/assets/images/chart/tasks/taskassign/编组 78.png b/src/assets/images/chart/tasks/taskassign/编组 78.png new file mode 100644 index 0000000..65591a6 Binary files /dev/null and b/src/assets/images/chart/tasks/taskassign/编组 78.png differ diff --git a/src/assets/images/chart/tasks/video-bg.png b/src/assets/images/chart/tasks/video-bg.png new file mode 100644 index 0000000..80cc01f Binary files /dev/null and b/src/assets/images/chart/tasks/video-bg.png differ diff --git a/src/hooks/ceshiFun.hook.ts b/src/hooks/ceshiFun.hook.ts index e95b891..7354243 100644 --- a/src/hooks/ceshiFun.hook.ts +++ b/src/hooks/ceshiFun.hook.ts @@ -1,6 +1,185 @@ import * as mars3d from "mars3d"; import axios from 'axios' import { c } from "naive-ui"; + +export async function handlerGetLayerTree(){ + + let layers = []; + + let handlerLayers = []; + + await axios.get('http://221.2.83.254:9006/applicationMars/getApplicationInfo/feixian').then((res)=>{ + + layers = res.data.data + + let configLayers = []; + + let GEOSERVER_BASE_API = "http://221.2.83.254:9007/"; + + res.data.data.forEach((item, index) => { + let group:Object; + group = { + id: parseInt(Math.random() * 10000000), + name: item.serverName, + type: "group", + fold:true, + show:false, + }; + + let layerGroup = group; + layerGroup.children = []; + configLayers.unshift(group); + + if (item.children && item.children.length > 0) { + item.children.forEach((it, idx) => { + + let attribute = JSON.parse(it.attribute); + + + if(attribute && attribute.symbol && attribute.symbol.styleField && attribute.symbol.styleFieldOptions && Object.keys(attribute.symbol.styleFieldOptions).length>0){ + + attribute.type = 'geojson'; + if(attribute.layers){ + attribute.url = "geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName="+attribute.layers+"&maxFeatures=1000000&outputFormat=application%2Fjson"; + } + + delete attribute.parameters; + delete attribute.highlight; + console.log("图层属性信息:",attribute.url,attribute); + + + if(!attribute.symbol.styleOptions){ + attribute.symbol.styleOptions = { + "opacity": 0.8, + "color": "", + "width": 2, + "clampToGround": true + } + } + attribute.zIndex = 10000000000; + } + + + if(attribute.dynamic){ + attribute.type = 'geojson'; + if(attribute.layers){ + attribute.url = "geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName="+attribute.layers+"&maxFeatures=1000000&outputFormat=application%2Fjson"; + attribute.symbol = { + type: "polyline", + styleOptions: { + clampToGround:true, + width: 5, + materialType: mars3d.MaterialType.LineFlow, + materialOptions: { + // color: Cesium.Color.CHARTREUSE, + image: "img/textures/line-color-yellow.png", + speed: 8 + } + } + } + } + } + + // 设置标签文字偏移量 + if(attribute.symbol && attribute.symbol.styleOptions && attribute.symbol.styleOptions.label){ + attribute.symbol.styleOptions.label.pixelOffsetY = -40 + let oldText = attribute.symbol.styleOptions.label.text; + attribute.symbol.styleOptions.label = { + text: oldText, + font_size: 14, + // color: Cesium.Color.AZURE, + outline: true, + // outlineColor: Cesium.Color.BLACK, + outlineWidth: 2, + // horizontalOrigin: Cesium.HorizontalOrigin.CENTER, + // verticalOrigin: Cesium.VerticalOrigin.BOTTOM, + // pixelOffset: new Cesium.Cartesian2(10, -25) // 偏移量 + pixelOffsetY:-40 + } + + } + + // 设置PID + attribute.pid = group.id; + + // 去掉所有图层点击选中样式 + delete attribute.highlight; + + // 如果不为空 + if(attribute.symbol && attribute.symbol.styleOptions && attribute.symbol.styleOptions.label && attribute.symbol.styleOptions.label.text){ + + let text = ""; + if(attribute.symbol.styleOptions.label.text.match("@")){ + let arr = attribute.symbol.styleOptions.label.text.split("@"); + if(arr.length>0){ + arr.forEach((item,index)=>{ + if(item.match(":")){ + let garr = item.split(":") + text = text+garr[0]+":{"+garr[1]+"}" + }else if(item.length==1){ + text = text+item + }else if(item.length>1){ + text = text+"{"+item+"}" + } + }) + } + }else if(attribute.symbol.styleOptions.label.text.length>1 && attribute.symbol.styleOptions.label.text.match(":") ){ + let garr = attribute.symbol.styleOptions.label.text.split(":") + text = text+garr[0]+":{"+garr[1]+"}" + }else if(attribute.symbol.styleOptions.label.text.length>1 && !attribute.symbol.styleOptions.label.text.match(":")){ + text = "{"+attribute.symbol.styleOptions.label.text+"}"; + } + attribute.symbol.styleOptions.label.text = text; + } + + let ipinfo = matchHttpIpPort(attribute.url); + + if(ipinfo){ // 如果匹配得到则替换为配置文件中的 + attribute.url = attribute.url.replace(ipinfo[0],GEOSERVER_BASE_API); + }else{ //如果没有匹配到则直接拼接 + attribute.url = GEOSERVER_BASE_API+attribute.url + } + + // 根据图层类型设置数据过滤条件 过滤掉被删除的数据 + if(attribute.type == 'geojson'){ + attribute.url = attribute.url + "&cql_filter=is_del%20=0" + }else if(attribute.type == 'wms'){ + attribute.parameters.cql_filter="is_del=0" + attribute.zIndex = 1; + + } + + if(attribute.name == '防火驿站'){ + attribute.show = true; + } + + configLayers.unshift(attribute); + + attribute.show = attribute.show ? true : false; + + layerGroup.children.push(attribute); + }); + } + + handlerLayers.push(layerGroup); + }); + + }) + return handlerLayers; + +} + +const matchHttpIpPort = (url) => { + const ipRegex = /^http\:\/\/\b(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b\:\b[0-9]{1,5}\//; + const match = url.match(ipRegex) + if (match) { + return match; + } + return null; +} + +let layerOptions = await handlerGetLayerTree(); + // 地图函数列表 export function mapFun() { @@ -450,21 +629,23 @@ export function mapFun() { let data = null; layerOptions?.forEach((item,index)=>{ - item?.children?.forEach((it,idx)=>{ - if(it.id == params){ - data = it; - data.show = true; - } - }) + item?.children?.forEach((it,idx)=>{ + if(it.id == params){ + data = it; + data.show = true; + let layer = null; + if(data.type == "wms"){ + layer = new mars3d.layer.WmsLayer(data) + }else if(data.type == "geojson"){ + layer = new mars3d.layer.GeoJsonLayer(data); + } + layer.show = true; + window.globalMap.addLayer(layer); + } + }) }) - let layer = null; - if(data.type == "wms"){ - layer = new mars3d.layer.WmsLayer(data) - }else if(data.type == "geojson"){ - layer = new mars3d.layer.GeoJsonLayer(data); - } - window.globalMap.addLayer(layer); + } // 隐藏图层 @@ -475,7 +656,7 @@ export function mapFun() { } } - // xianshi + // 显示图层 const handlerShowLayer = (params)=>{ let layer = window.globalMap.getLayerById(params); @@ -486,8 +667,11 @@ export function mapFun() { // 显示隐藏切换图层 const handlerToggleLayer = (params) => { + let layer = window.globalMap.getLayerById(params); + if(window.globalMap.hasLayer(layer)){ + layer.show = !layer.show; }else{ handlerAddLayer(params); @@ -770,6650 +954,4 @@ export const funSelectOptions = [ label:"添加三维模型", value:"handlerAddModel" } -]; - - - - - - -export async function handlerGetLayerTree(){ - - let layers = []; - - let handlerLayers = []; - - await axios.get('http://221.2.83.254:9006/applicationMars/getApplicationInfo/feixian').then((res)=>{ - - layers = res.data.data - - let configLayers = []; - - let GEOSERVER_BASE_API = "http://221.2.83.254:9007/"; - - res.data.data.forEach((item, index) => { - let group:Object; - group = { - id: parseInt(Math.random() * 10000000), - name: item.serverName, - type: "group", - fold:true, - show:false, - }; - - let layerGroup = group; - layerGroup.children = []; - configLayers.unshift(group); - - if (item.children && item.children.length > 0) { - item.children.forEach((it, idx) => { - - let attribute = JSON.parse(it.attribute); - - - if(attribute && attribute.symbol && attribute.symbol.styleField && attribute.symbol.styleFieldOptions && Object.keys(attribute.symbol.styleFieldOptions).length>0){ - - attribute.type = 'geojson'; - if(attribute.layers){ - attribute.url = "geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName="+attribute.layers+"&maxFeatures=1000000&outputFormat=application%2Fjson"; - } - - delete attribute.parameters; - delete attribute.highlight; - console.log("图层属性信息:",attribute.url,attribute); - - - if(!attribute.symbol.styleOptions){ - attribute.symbol.styleOptions = { - "opacity": 0.8, - "color": "", - "width": 2, - "clampToGround": true - } - } - attribute.zIndex = 10000000000; - } - - - if(attribute.dynamic){ - attribute.type = 'geojson'; - if(attribute.layers){ - attribute.url = "geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName="+attribute.layers+"&maxFeatures=1000000&outputFormat=application%2Fjson"; - attribute.symbol = { - type: "polyline", - styleOptions: { - clampToGround:true, - width: 5, - materialType: mars3d.MaterialType.LineFlow, - materialOptions: { - // color: Cesium.Color.CHARTREUSE, - image: "img/textures/line-color-yellow.png", - speed: 8 - } - } - } - } - } - - // 设置标签文字偏移量 - if(attribute.symbol && attribute.symbol.styleOptions && attribute.symbol.styleOptions.label){ - attribute.symbol.styleOptions.label.pixelOffsetY = -40 - let oldText = attribute.symbol.styleOptions.label.text; - attribute.symbol.styleOptions.label = { - text: oldText, - font_size: 14, - // color: Cesium.Color.AZURE, - outline: true, - // outlineColor: Cesium.Color.BLACK, - outlineWidth: 2, - // horizontalOrigin: Cesium.HorizontalOrigin.CENTER, - // verticalOrigin: Cesium.VerticalOrigin.BOTTOM, - // pixelOffset: new Cesium.Cartesian2(10, -25) // 偏移量 - pixelOffsetY:-40 - } - - } - - // 设置PID - attribute.pid = group.id; - - // 去掉所有图层点击选中样式 - delete attribute.highlight; - - // 如果不为空 - if(attribute.symbol && attribute.symbol.styleOptions && attribute.symbol.styleOptions.label && attribute.symbol.styleOptions.label.text){ - - let text = ""; - if(attribute.symbol.styleOptions.label.text.match("@")){ - let arr = attribute.symbol.styleOptions.label.text.split("@"); - if(arr.length>0){ - arr.forEach((item,index)=>{ - if(item.match(":")){ - let garr = item.split(":") - text = text+garr[0]+":{"+garr[1]+"}" - }else if(item.length==1){ - text = text+item - }else if(item.length>1){ - text = text+"{"+item+"}" - } - }) - } - }else if(attribute.symbol.styleOptions.label.text.length>1 && attribute.symbol.styleOptions.label.text.match(":") ){ - let garr = attribute.symbol.styleOptions.label.text.split(":") - text = text+garr[0]+":{"+garr[1]+"}" - }else if(attribute.symbol.styleOptions.label.text.length>1 && !attribute.symbol.styleOptions.label.text.match(":")){ - text = "{"+attribute.symbol.styleOptions.label.text+"}"; - } - attribute.symbol.styleOptions.label.text = text; - } - - let ipinfo = matchHttpIpPort(attribute.url); - - if(ipinfo){ // 如果匹配得到则替换为配置文件中的 - attribute.url = attribute.url.replace(ipinfo[0],GEOSERVER_BASE_API); - }else{ //如果没有匹配到则直接拼接 - attribute.url = GEOSERVER_BASE_API+attribute.url - } - - // 根据图层类型设置数据过滤条件 过滤掉被删除的数据 - if(attribute.type == 'geojson'){ - attribute.url = attribute.url + "&cql_filter=is_del%20=0" - }else if(attribute.type == 'wms'){ - attribute.parameters.cql_filter="is_del=0" - attribute.zIndex = 1; - - } - - if(attribute.name == '防火驿站'){ - attribute.show = true; - } - - configLayers.unshift(attribute); - - attribute.show = attribute.show ? true : false; - - layerGroup.children.push(attribute); - }); - } - - handlerLayers.push(layerGroup); - }); - - }) - return handlerLayers; - -} - -const matchHttpIpPort = (url) => { - const ipRegex = /^http\:\/\/\b(?:[0-9]{1,3}\.){3}[0-9]{1,3}\b\:\b[0-9]{1,5}\//; - const match = url.match(ipRegex) - if (match) { - return match; - } - return null; -} - - -export const layerOptions = [ - { - "id": 9180420, - "name": "行政区划", - "type": "group", - "fold": true, - "show": false, - "children": [ - { - "id": 110, - "pid": 9180420, - "name": "县界", - "type": "wms", - "url": "http://221.2.83.254:9007/geoserver/ksp/wms", - "layers": "ksp:shp_1686211923", - "crs": "EPSG:4326", - "noCenter": true, - "parameters": { - "transparent": "true", - "format": "image/png", - "cql_filter": "is_del=0" - }, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "showClickFeature": false, - "pickFeatureStyle": { - "showTime": 10000, - "fill": true, - "color": "#2deaf7", - "opacity": 1, - "outline": true, - "outlineWidth": 5, - "outlineColor": "#2deaf7", - "outlineOpacity": 1, - "clampToGround": true - }, - "popup": [], - "flyTo": false, - "zIndex": 1, - "extent": { - "xmin": 117.60743574, - "ymin": 35.02093722, - "xmax": 118.23673037, - "ymax": 35.55038089 - }, - "enablePickFeatures": true, - "symbol": { - "styleField": "", - "styleFieldOptions": {} - }, - "show": true - }, - { - "id": 143, - "pid": 9180420, - "name": "镇界", - "type": "wms", - "url": "http://221.2.83.254:9007/geoserver/ksp/wms", - "layers": "ksp:shp_1691822212", - "crs": "EPSG:4326", - "noCenter": true, - "parameters": { - "transparent": "true", - "format": "image/png", - "cql_filter": "is_del=0" - }, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "showClickFeature": false, - "pickFeatureStyle": { - "showTime": 10000, - "fill": true, - "color": "#2deaf7", - "opacity": 1, - "outline": true, - "outlineWidth": 5, - "outlineColor": "#2deaf7", - "outlineOpacity": 1, - "clampToGround": true - }, - "popup": [ - { - "field": "xzqmc", - "name": "行政区名称" - } - ], - "flyTo": false, - "zIndex": 1, - "symbol": { - "styleField": "", - "styleFieldOptions": {} - }, - "show": false - }, - { - "id": 109, - "pid": 9180420, - "name": "村界", - "type": "wms", - "url": "http://221.2.83.254:9007/geoserver/ksp/wms", - "layers": "ksp:shp_1686211551", - "crs": "EPSG:4326", - "noCenter": true, - "parameters": { - "transparent": "true", - "format": "image/png", - "cql_filter": "is_del=0" - }, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "showClickFeature": false, - "pickFeatureStyle": { - "showTime": 10000, - "fill": true, - "color": "#2deaf7", - "opacity": 1, - "outline": true, - "outlineWidth": 5, - "outlineColor": "#2deaf7", - "outlineOpacity": 1, - "clampToGround": true - }, - "popup": [ - { - "field": "zldwmc", - "name": "坐落单位名称" - } - ], - "flyTo": false, - "zIndex": 1, - "extent": { - "xmin": 117.60743574169848, - "ymin": 35.020937223244566, - "xmax": 118.23673036836797, - "ymax": 35.55038089104662 - }, - "enablePickFeatures": true, - "symbol": { - "styleField": "", - "styleFieldOptions": {} - }, - "show": false - }, - { - "id": 134, - "pid": 9180420, - "name": "网格化", - "type": "wms", - "url": "http://221.2.83.254:9007/geoserver/ksp/wms", - "layers": "ksp:shp_1687589615", - "crs": "EPSG:4326", - "noCenter": true, - "parameters": { - "transparent": "true", - "format": "image/png", - "cql_filter": "is_del=0" - }, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "showClickFeature": false, - "pickFeatureStyle": { - "showTime": 10000, - "fill": true, - "color": "#2deaf7", - "opacity": 1, - "outline": true, - "outlineWidth": 5, - "outlineColor": "#2deaf7", - "outlineOpacity": 1, - "clampToGround": true - }, - "popup": [], - "flyTo": false, - "zIndex": 1, - "symbol": { - "styleField": "", - "styleFieldOptions": {} - }, - "show": false - } - ] - }, - { - "id": 6535804, - "name": "人员信息网", - "type": "group", - "fold": true, - "show": false, - "children": [ - { - "id": 268, - "pid": 6535804, - "type": "geojson", - "name": "林区住户", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Alinquzhuhu202404&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1773266229757509632.png", - "scale": 0.5, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{huzhu}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "", - "styleFieldOptions": {} - }, - "popup": [ - { - "field": "shantou", - "name": "山头" - }, - { - "field": "weizhi", - "name": "位置" - }, - { - "field": "huzhu", - "name": "户主" - }, - { - "field": "dianhua", - "name": "电话" - }, - { - "field": "fangwushul", - "name": "房屋数量" - }, - { - "field": "renkoushul", - "name": "人口数量" - }, - { - "field": "yongdianqi", - "name": "用电情况" - }, - { - "field": "yonghuoqin", - "name": "用火情况" - }, - { - "field": "fengxianfe", - "name": "风险分类" - }, - { - "field": "jiejuefang", - "name": "解决方案" - }, - { - "field": "leixing", - "name": "类型" - }, - { - "field": "xiyanqingk", - "name": "吸烟情况" - }, - { - "field": "xiangzhen", - "name": "乡镇" - } - ], - "flyTo": false, - "zIndex": 0, - "show": false - }, - { - "id": 267, - "pid": 6535804, - "type": "geojson", - "name": "墓地", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Amudi202404all&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1773265464364138496.png", - "scale": 0.5, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{adminuser}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "", - "styleFieldOptions": { - "118.101448\n35.392202": { - "image": "" - }, - "驴山子水库西": { - "image": "" - }, - "三连庄东801米": { - "image": "" - }, - "118.077197\n35.390040": { - "image": "" - }, - "西门峪沟西": { - "image": "" - }, - "堂子北215米": { - "image": "" - }, - "巩家沟东南457米": { - "image": "" - }, - "折彩峪子北山": { - "image": "" - }, - "涝坡东南603米": { - "image": "" - }, - "经度118.069784纬度35.477661": { - "image": "" - }, - "狼窝沟": { - "image": "" - }, - "1178.01740/35.46635": { - "image": "" - }, - "35.416605-118.109190": { - "image": "" - }, - "35.445296/118.097916": { - "image": "" - }, - "经度118.083375纬度35.473980": { - "image": "" - }, - "118.103527\n35.394138": { - "image": "" - }, - "35.469004\n118.106285": { - "image": "" - }, - "北纬35.25.57东经118.1.48": { - "image": "" - }, - "东山张家沟": { - "image": "" - }, - "35.423562-118.098947": { - "image": "" - }, - "经度118.072679纬度35.433714": { - "image": "" - }, - "北纬35.22.14东经118.1.50": { - "image": "" - }, - "35.420931-118.097192": { - "image": "" - }, - "北纬35.24.54东经118.2.44": { - "image": "" - }, - "大寨前西北506米": { - "image": "" - }, - "金桂村村东": { - "image": "" - }, - "薛庄镇金桂村后东北方向100米": { - "image": "" - }, - "经度118.071875纬度35.471137": { - "image": "" - }, - "经度118.069839纬度35.477390": { - "image": "" - }, - "35.450551-118.101395": { - "image": "" - }, - "大门山后养猪场西20米118.00987587,35.4334822": { - "image": "" - }, - "城子检查站西": { - "image": "" - }, - "涝坡东南230米": { - "image": "" - }, - "宁子沟东250米": { - "image": "" - }, - "118.072458\n35.396706": { - "image": "" - }, - "韩家峪西786米": { - "image": "" - }, - "鲁峪沟隧道东": { - "image": "" - }, - "35.416251-118.097079": { - "image": "" - }, - "35.445432/118.098468": { - "image": "" - }, - "经度118.077061纬度35.471285": { - "image": "" - }, - "岑北崖村北水库下方": { - "image": "" - }, - "大古台朝阳沟": { - "image": "" - }, - "经度118.084761纬度35.474348": { - "image": "" - }, - "张林南363米": { - "image": "" - }, - "张林100米": { - "image": "" - }, - "经度118.076810纬度35.466326": { - "image": "" - }, - "北纬35。25.33东经118.1.43": { - "image": "" - }, - "35.421433-118.098493": { - "image": "" - }, - "北纬35.26.19东经118.1.2": { - "image": "" - }, - "蘑菇东坡": { - "image": "" - }, - "周家庄西北343米": { - "image": "" - }, - "北纬35.25.50东经118.1.58": { - "image": "" - }, - "检查站里300 米": { - "image": "" - }, - "梁子后西南441米": { - "image": "" - }, - "向阳路南": { - "image": "" - }, - "巩家沟东南61米": { - "image": "" - }, - "大柳泉村东北208米": { - "image": "" - }, - "西张林": { - "image": "" - }, - "北纬35.25.17东经118.2.5": { - "image": "" - }, - "石马子东北207米": { - "image": "" - }, - "35.445218/118.098859": { - "image": "" - }, - "北纬35.28.36 东经117.58.4": { - "image": "" - }, - "经度118.078584纬度35.471183": { - "image": "" - }, - "毛石顶": { - "image": "" - }, - "北纬35.25.53东经117.59.52": { - "image": "" - }, - "北纬35.29.20东经117.58.11": { - "image": "" - }, - "大柳泉村东167米": { - "image": "" - }, - "经度118.080288纬度35.472813": { - "image": "" - }, - "118.07713925\n35.39401004": { - "image": "" - }, - "西长岭": { - "image": "" - }, - "沙沟东182米": { - "image": "" - }, - "35.454212-118.103079": { - "image": "" - }, - "35.468203\n118.103678": { - "image": "" - }, - "118.102935\n35.394095": { - "image": "" - }, - "35.452834-118.106315": { - "image": "" - }, - "韩家庄村西156米": { - "image": "" - }, - "35.408250/118.091860": { - "image": "" - }, - "小刘庄家后": { - "image": "" - }, - "经度118.083678纬度35.473543": { - "image": "" - }, - "土山东头": { - "image": "" - }, - "聂家沟1号站北300米": { - "image": "" - }, - "苍泉村委会": { - "image": "" - }, - "经度188.065927纬度35.475552": { - "image": "" - }, - "韩家峪西804米": { - "image": "" - }, - "35.418237-118.101492": { - "image": "" - }, - "黄土庄检查站东": { - "image": "" - }, - "北纬35.22.16东经118.2.11": { - "image": "" - }, - "35.425331/118.123158": { - "image": "" - }, - "大古台东庄": { - "image": "" - }, - "35.409046/118.092909": { - "image": "" - }, - "118.081202\n35.392427": { - "image": "" - }, - "柜子石西97米": { - "image": "" - }, - "经度118.077105纬度35.475026": { - "image": "" - }, - "相家庄后": { - "image": "" - }, - "35.406814/118.094825": { - "image": "" - }, - "簸萁掌": { - "image": "" - }, - "117.96426620,35.49308937": { - "image": "" - }, - "北纬35.25.42东经118.1.5": { - "image": "" - }, - "西红峪子": { - "image": "" - }, - "大柳泉村西南53米": { - "image": "" - }, - "小田庄南250米": { - "image": "" - }, - "青云检查站屋后北山": { - "image": "" - }, - "35.425832-118.108453": { - "image": "" - }, - "薛庄镇金桂村东北100米": { - "image": "" - }, - "青石屋东山": { - "image": "" - }, - "涝坡东南585米": { - "image": "" - }, - "沙沟西北345米": { - "image": "" - }, - "经度118.071033纬度35.433852": { - "image": "" - }, - "经度118.083382纬度35.473262": { - "image": "" - }, - "经度118.070885纬度35.462028": { - "image": "" - }, - "35.468381\n118.105218": { - "image": "" - }, - "118.076754\n35.390205": { - "image": "" - }, - "北纬25.22.22东经118.5.51": { - "image": "" - }, - "村西": { - "image": "" - }, - "经度118.077262纬度35.471185": { - "image": "" - }, - "经度118.072886纬度35.475482": { - "image": "" - }, - "经度118.079422纬度35.47323": { - "image": "" - }, - "巩家沟东376米": { - "image": "" - }, - "经度118.070637纬度35.470595": { - "image": "" - }, - "经度118.079988纬度35.473005": { - "image": "" - }, - "沙沟": { - "image": "" - }, - "岑北崖东北313米": { - "image": "" - }, - "经度118.066836纬度35.475660": { - "image": "" - }, - "土山西北山": { - "image": "" - }, - "117.99522/35.44670": { - "image": "" - }, - "118.053228/35.421247 穷汉崮山头下方50米": { - "image": "" - }, - "118.077165\n35.389794": { - "image": "" - }, - "沙沟峪": { - "image": "" - }, - "王林西检查站后": { - "image": "" - }, - "小山水库东": { - "image": "" - }, - "118.059649/35400347 彩山前2号防火隔离网门向东北200米山头": { - "image": "" - }, - "北纬35.25.59东经118.152": { - "image": "" - }, - "经度118.077229纬度35.470927": { - "image": "" - }, - "35.453820-118.105553": { - "image": "" - }, - "大后梁山后": { - "image": "" - }, - "韩家庄检查站后山": { - "image": "" - }, - "北刘家庄山里人家防火检查站向北200米路西墓地": { - "image": "" - }, - "河北崖村西100米\n经纬度:118.03216732 35.42301279\n": { - "image": "" - }, - "118.174731 35.354845": { - "image": "" - }, - "118.113144\n35.362705": { - "image": "" - }, - "经度118.079584纬度35.467612": { - "image": "" - }, - "聂家沟水库东北": { - "image": "" - }, - "竹篮子北山": { - "image": "" - }, - "北纬35.24.52东经118.2.28": { - "image": "" - }, - "35.416768-118.099443": { - "image": "" - }, - "117.99512/35.44610": { - "image": "" - }, - "118.100740\n35.388660": { - "image": "" - }, - "周家庄西北140米": { - "image": "" - }, - "北纬35.25.40东经118.1.54": { - "image": "" - }, - "35.421275-118.097480": { - "image": "" - }, - "经度118.083426纬度35.474630": { - "image": "" - }, - "五彩": { - "image": "" - }, - "35.419794-118.111387": { - "image": "" - }, - "北纬35.28.36东经117.58.4": { - "image": "" - }, - "经度118.064120纬度35.475147": { - "image": "" - }, - "周家庄北223米": { - "image": "" - }, - "涝坡东546米": { - "image": "" - }, - "北纬35.29.32东经117.57.56": { - "image": "" - }, - "黑旺良": { - "image": "" - }, - "瓮城子": { - "image": "" - }, - "118.136147\n35.366638": { - "image": "" - }, - "四座窑2号防护门向里": { - "image": "" - }, - "经度118.080406纬度35.472731": { - "image": "" - }, - "上盐店检查站西": { - "image": "" - }, - "35.424165/118.123499": { - "image": "" - }, - "北纬35.24.2东经118.1.15": { - "image": "" - }, - "韩家峪西南355米": { - "image": "" - }, - "大古台": { - "image": "" - }, - "35.422109/118.121651": { - "image": "" - }, - "118.136906\n35.367120": { - "image": "" - }, - "顺河庄南328米": { - "image": "" - }, - "大良": { - "image": "" - }, - "118.01648/35.46604": { - "image": "" - }, - "经度118.077094纬度35.435494": { - "image": "" - }, - "35.446404/118.104213": { - "image": "" - }, - "金桂村向北200米": { - "image": "" - }, - "118.075775\n35.389411": { - "image": "" - }, - "北纬35.25.42东经118.1.52": { - "image": "" - }, - "涝坡东南490米": { - "image": "" - }, - "张林东438米": { - "image": "" - }, - "北纬35.26.16东经118.1.44": { - "image": "" - }, - "青云村": { - "image": "" - }, - "35.451523-118.105768": { - "image": "" - }, - "金桂村东": { - "image": "" - }, - "沙沟东213米": { - "image": "" - }, - "北纬35.26.2东经118.1.57": { - "image": "" - }, - "防火屋后": { - "image": "" - }, - "涝坡东555米": { - "image": "" - }, - "彩山前": { - "image": "" - }, - "35.454189-118.103025": { - "image": "" - }, - "经度188.066469纬度35.475587": { - "image": "" - }, - "北纬35.22.33东经118.2.50": { - "image": "" - }, - "大古台东山": { - "image": "" - }, - "彩山前村北418米": { - "image": "" - }, - "南山": { - "image": "" - }, - "城子检查站旁": { - "image": "" - }, - "经度118.072117纬度35.471275": { - "image": "" - }, - "118.01041333 35.43464974": { - "image": "" - }, - "沙沟峪南山": { - "image": "" - }, - "118.03973752\n35.41376914": { - "image": "" - }, - "北纬35.25.28东经118.1.57": { - "image": "" - }, - "经度118.075817纬度35.438709": { - "image": "" - }, - "35.452782-118.106553": { - "image": "" - }, - "北纬35.25.11东经118.3.10": { - "image": "" - }, - "簸萁掌西沟": { - "image": "" - }, - "韩家峪西南358米": { - "image": "" - }, - "沙沟峪东山": { - "image": "" - }, - "35.409882/118.091672": { - "image": "" - }, - "35.422026-118.102110": { - "image": "" - }, - "张林山": { - "image": "" - }, - "35.407163/118.094911": { - "image": "" - }, - "牛岚村北500米": { - "image": "" - }, - "韩家庄检查点北山": { - "image": "" - }, - "118.072615\n35.396861": { - "image": "" - }, - "宁子沟东167米": { - "image": "" - }, - "经度118.073463纬度35.465095": { - "image": "" - }, - "35.423794/118.123720": { - "image": "" - }, - "拱坝前": { - "image": "" - }, - "118.01259/35.48852": { - "image": "" - }, - "北纬35.26.21东经118.1.57": { - "image": "" - }, - "118.075652\n35.397546": { - "image": "" - }, - "交道口下": { - "image": "" - }, - "青石崖家后": { - "image": "" - }, - "35.453067-118.106599": { - "image": "" - }, - "经度118.076851纬度35.435284": { - "image": "" - }, - "经度118.066687纬度35.475512": { - "image": "" - }, - "117.98998/35.45626": { - "image": "" - }, - "经度118.078425纬度35.470914": { - "image": "" - }, - "经度118.063259纬度35.475507": { - "image": "" - }, - "经度118.076107纬度35.466858": { - "image": "" - }, - "河北崖村东100米": { - "image": "" - }, - "聂家沟狼窝山西坡": { - "image": "" - }, - "经度118.079773纬度35.472846": { - "image": "" - }, - "东张林100米": { - "image": "" - }, - "35.445392/118.098718": { - "image": "" - }, - "118.0448513\n35.4464915\n滑道东南871米": { - "image": "" - }, - "转山前": { - "image": "" - }, - "石马子东北88米": { - "image": "" - }, - "臧家庄大桥北60米": { - "image": "" - }, - "涝坡东北473米": { - "image": "" - }, - "小田庄西北": { - "image": "" - }, - "转山顶南山": { - "image": "" - }, - "35.415024-118.110724": { - "image": "" - }, - "韩家庄检查站北山": { - "image": "" - }, - "1西红峪子东": { - "image": "" - }, - "118.076037\n35.394218": { - "image": "" - }, - "石马子北378米": { - "image": "" - }, - "韩家峪西721米": { - "image": "" - }, - "山南头": { - "image": "" - }, - "118.109384\n35.374448": { - "image": "" - }, - "35.452412-118.106491": { - "image": "" - }, - "35.447659-118.102033": { - "image": "" - }, - "118.01443/35.46504": { - "image": "" - }, - "鸡关山西405米": { - "image": "" - }, - "石马子东南304米": { - "image": "" - }, - "经度188.067148纬度35.475744": { - "image": "" - }, - "涝坡东528米": { - "image": "" - }, - "韩家峪西南473米": { - "image": "" - }, - "35.446101/118.097850": { - "image": "" - }, - "彩山前,聂家庄东宋庄共同值班检查站": { - "image": "" - }, - "": { - "image": "" - }, - "韩家峪东南133米": { - "image": "" - }, - "经度118.071662纬度35.456451": { - "image": "" - }, - "35.421892-118.104713": { - "image": "" - }, - "北纬35.25.55东经118.1.48": { - "image": "" - }, - "转山顶": { - "image": "" - }, - "韩家峪西南136米": { - "image": "" - }, - "35.445293/118.103944": { - "image": "" - }, - "西门峪沟东": { - "image": "" - }, - "35.468445\n118.107099": { - "image": "" - }, - "村后向阳路北": { - "image": "" - }, - "经度118.076358纬度35.445012": { - "image": "" - }, - "柜子石西141米": { - "image": "" - }, - "光国水果市场东北141米": { - "image": "" - }, - "117.01739/35.44785": { - "image": "" - }, - "经度118.077457纬度35.471107": { - "image": "" - }, - "35.448652—118.101312": { - "image": "" - }, - "35.424192/118.122547": { - "image": "" - }, - "35.444531/118.105147": { - "image": "" - }, - "王林后山养鸡场": { - "image": "" - }, - "韩家峪西南438米": { - "image": "" - }, - "韩家峪西南351米": { - "image": "" - }, - "北纬35.2338东经118.3.44": { - "image": "" - }, - "经度118.072310纬度35.476222": { - "image": "" - }, - "北纬35.25.38东经118.1.34": { - "image": "" - }, - "北纬35.25.54东经117.59.51": { - "image": "" - }, - "北纬35.26.3东经118.1.52": { - "image": "" - }, - "青云检查站东山": { - "image": "" - }, - "新安庄云瀑洞天水库北100": { - "image": "" - }, - "石马子东北95米": { - "image": "" - }, - "大古台南岭": { - "image": "" - }, - "柜子石146米": { - "image": "" - }, - "涝坡东509米": { - "image": "" - }, - "35.419704-118.111369": { - "image": "" - }, - "岑北崖村东北366米": { - "image": "" - }, - "35.407567/118.092144": { - "image": "" - }, - "北纬35.24.56东经118.2.39": { - "image": "" - }, - "北纬35.2534东经118.29": { - "image": "" - }, - "东山": { - "image": "" - }, - "北山": { - "image": "" - }, - "35.445773/118.104476": { - "image": "" - }, - "张林东南301米": { - "image": "" - }, - "丁旺": { - "image": "" - }, - "韩家峪西606米": { - "image": "" - }, - "岑北崖村北429米": { - "image": "" - }, - "河崖": { - "image": "" - }, - "燕窝石村东432米": { - "image": "" - }, - "东梁沟": { - "image": "" - }, - "磨崮": { - "image": "" - }, - "118.082326\n35.395345": { - "image": "" - }, - "35.414973-118.110282": { - "image": "" - }, - "三连庄东775米": { - "image": "" - }, - "土山": { - "image": "" - }, - "枝子沟": { - "image": "" - }, - "35.466790\n118.106698": { - "image": "" - }, - "35.445719/118.105507": { - "image": "" - }, - "北纬35.26.10东经118,1.0": { - "image": "" - }, - "胡家庄": { - "image": "" - }, - "35.417156-118.092028": { - "image": "" - }, - "大古台东山公墓": { - "image": "" - }, - "经度118.075773纬度35.437914": { - "image": "" - }, - "韩家庄检查点西": { - "image": "" - }, - "巩家沟东344米": { - "image": "" - }, - "35.406006/118.094128": { - "image": "" - }, - "35.425528-118.097389": { - "image": "" - }, - "35.414100-118.110575": { - "image": "" - }, - "35.468520\n118.106172": { - "image": "" - }, - "东经117。57.59北纬35.28.0": { - "image": "" - }, - "35.417892-118.110961": { - "image": "" - }, - "北纬35。25.45东经118.2.18": { - "image": "" - }, - "北纬35.24.3东经118.1.3": { - "image": "" - }, - "35.445677/118.098143": { - "image": "" - }, - "薛庄镇隧道上方300米": { - "image": "" - }, - "35447405/118.102517": { - "image": "" - }, - "经度118.070278纬度35.474031": { - "image": "" - }, - "118.104116\n35.384583": { - "image": "" - }, - "龙山前": { - "image": "" - }, - "周家庄北251米": { - "image": "" - }, - "五圣堂村西558米": { - "image": "" - }, - "转山前东山": { - "image": "" - }, - "经度118.076267纬度35.437887": { - "image": "" - }, - "韩家峪西南425米": { - "image": "" - }, - "35.417201/118.120247": { - "image": "" - }, - "穷寒故山下南500米": { - "image": "" - }, - "118.01741/35.44785": { - "image": "" - }, - "118.104818\n35.382570": { - "image": "" - }, - "聂家沟水库东36号防火检查站向西北200米": { - "image": "" - }, - "静心民宿79米": { - "image": "" - }, - "翟家庄": { - "image": "" - }, - "岚石": { - "image": "" - }, - "35.453946-118.105076": { - "image": "" - }, - "桂花园南": { - "image": "" - }, - "经度118.071676纬度35.476431": { - "image": "" - }, - "柜子石西南100米": { - "image": "" - }, - "118.075904\n35.394313": { - "image": "" - }, - "经度118.069860纬度35.477602": { - "image": "" - }, - "火山后": { - "image": "" - }, - "新安庄云布洞天水库北200米": { - "image": "" - }, - "峨山子前西565米": { - "image": "" - }, - "118.03962084\n35.41381231": { - "image": "" - }, - "燕窝石村东122米": { - "image": "" - }, - "118.076407\n35.389603": { - "image": "" - }, - "118.120151°E 35.418030°N": { - "image": "" - }, - "35.454132-118.104941": { - "image": "" - }, - "胡家庄南梁": { - "image": "" - }, - "经度118.084281纬度35.477734": { - "image": "" - }, - "大胡支西南295米": { - "image": "" - }, - "五圣堂": { - "image": "" - } - } - }, - "popup": [ - { - "field": "amount", - "name": "数量" - }, - { - "field": "adminuser", - "name": "管理人" - }, - { - "field": "adminphone", - "name": "管理人电话" - }, - { - "field": "rusticate", - "name": "村庄" - }, - { - "field": "township", - "name": "乡镇" - }, - { - "field": "personresp", - "name": "包保人" - }, - { - "field": "prphone", - "name": "包保人电话" - }, - { - "field": "address", - "name": "位置" - } - ], - "flyTo": false, - "zIndex": 0, - "show": false - }, - { - "id": 231, - "pid": 6535804, - "name": "护林员管护区域", - "type": "wms", - "url": "http://221.2.83.254:9007/geoserver/ksp/wms", - "layers": "ksp:hulinyuanguanhufanwei", - "crs": "EPSG:4326", - "noCenter": true, - "parameters": { - "transparent": "true", - "format": "image/png", - "cql_filter": "is_del=0" - }, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "showClickFeature": false, - "popup": [ - { - "field": "hulinyuan", - "name": "护林员" - }, - { - "field": "lianxifang", - "name": "联系方式" - }, - { - "field": "mianji", - "name": "面积" - }, - { - "field": "xzq", - "name": "乡镇" - } - ], - "flyTo": false, - "zIndex": 1, - "symbol": { - "styleField": "", - "styleFieldOptions": {} - }, - "show": false - }, - { - "id": 75, - "pid": 6535804, - "type": "geojson", - "name": "检查站", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Ashp_1686205018&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1777249374668402688.png", - "scale": 0.25, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{mask}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "", - "styleFieldOptions": {} - }, - "popup": [ - { - "field": "mask", - "name": "名称" - }, - { - "field": "street", - "name": "乡镇/林场" - }, - { - "field": "protectare", - "name": "区域" - } - ], - "flyTo": false, - "zIndex": 0, - "show": false - }, - { - "id": 77, - "pid": 6535804, - "type": "geojson", - "name": "瞭望台", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Ashp_1686205091&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1777249698758078464.png", - "scale": 0.5, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{mask}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "", - "styleFieldOptions": {} - }, - "popup": [ - { - "field": "mask", - "name": "名称" - }, - { - "field": "street", - "name": "乡镇/林场" - }, - { - "field": "protectare", - "name": "区域" - } - ], - "flyTo": false, - "zIndex": 0, - "show": false - }, - { - "id": 79, - "pid": 6535804, - "type": "geojson", - "name": "向导", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Ashp_1686205251&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1777252216921731072.png", - "scale": 0.5, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{mask}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "", - "styleFieldOptions": {} - }, - "popup": [ - { - "field": "mask", - "name": "名称" - }, - { - "field": "protectare", - "name": "区域" - } - ], - "flyTo": false, - "zIndex": 0, - "show": false - }, - { - "id": 145, - "pid": 6535804, - "type": "geojson", - "name": "驻防队伍", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Ashp_1692148217&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1777252343350636544.png", - "scale": 0.5, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{dwmc}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "", - "styleFieldOptions": {} - }, - "popup": [ - { - "field": "dwmc", - "name": "队伍名称" - }, - { - "field": "dwzd", - "name": "队伍驻地" - }, - { - "field": "lsdw", - "name": "隶属单位" - }, - { - "field": "dwxz", - "name": "队伍性质" - }, - { - "field": "dzxm", - "name": "队长姓名" - }, - { - "field": "lxfs", - "name": "联系方式" - }, - { - "field": "fdz", - "name": "副队长" - }, - { - "field": "lxfs2", - "name": "联系方式2" - }, - { - "field": "hdrs", - "name": "核定人数" - }, - { - "field": "syrs", - "name": "实有人数" - }, - { - "field": "pjnl", - "name": "平均年龄" - }, - { - "field": "zbqk", - "name": "装备情况" - } - ], - "flyTo": false, - "zIndex": 0, - "show": false - }, - { - "id": 252, - "pid": 6535804, - "name": "各驻防队伍巡查路线", - "type": "wms", - "url": "http://221.2.83.254:9007/geoserver/ksp/wms", - "layers": "ksp:zhufangduiwuxunchaluxian", - "crs": "EPSG:4326", - "noCenter": true, - "parameters": { - "transparent": "true", - "format": "image/png", - "cql_filter": "is_del=0" - }, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "showClickFeature": false, - "popup": [ - { - "field": "suoshuzhon", - "name": "所属中队" - }, - { - "field": "daolumingc", - "name": "道路名称" - } - ], - "flyTo": false, - "zIndex": 1, - "symbol": { - "styleField": "", - "styleFieldOptions": {} - }, - "show": false - }, - { - "id": 74, - "pid": 6535804, - "type": "geojson", - "name": "检查点", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Ashp_1686204937&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1777252455808315392.png", - "scale": 0.5, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{mask}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "", - "styleFieldOptions": {} - }, - "popup": [ - { - "field": "mask", - "name": "名称" - }, - { - "field": "street", - "name": "乡镇/林场" - }, - { - "field": "protectare", - "name": "区域" - } - ], - "flyTo": false, - "zIndex": 0, - "show": false - }, - { - "id": 73, - "pid": 6535804, - "type": "geojson", - "name": "护林点", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Ashp_1686204804&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1777252544731754496.png", - "scale": 0.5, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{mask}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "", - "styleFieldOptions": {} - }, - "popup": [ - { - "field": "mask", - "name": "名称" - }, - { - "field": "street", - "name": "乡镇/林场" - }, - { - "field": "protectare", - "name": "区域" - } - ], - "flyTo": false, - "zIndex": 0, - "show": false - }, - { - "id": 72, - "pid": 6535804, - "type": "geojson", - "name": "防火驿站", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Ashp_1686204679&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1777252634141732864.png", - "scale": 0.5, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{mask}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "", - "styleFieldOptions": {} - }, - "popup": [ - { - "field": "mask", - "name": "名称" - }, - { - "field": "street", - "name": "乡镇/林场" - }, - { - "field": "protectare", - "name": "区域" - } - ], - "flyTo": false, - "zIndex": 0, - "show": true - } - ] - }, - { - "id": 5833520, - "name": "路网", - "type": "group", - "fold": true, - "show": false, - "children": [ - { - "id": 239, - "pid": 5833520, - "type": "geojson", - "name": "隧道", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Asuidao&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.401823, - "lng": 118.052867, - "alt": 1395.3, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1777252924567924736.png", - "scale": 0.5, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "", - "styleFieldOptions": {} - }, - "popup": [], - "flyTo": false, - "zIndex": 0, - "show": true - }, - { - "id": 293, - "pid": 5833520, - "name": "北部山区合并道路", - "type": "wms", - "url": "http://221.2.83.254:9007/geoserver/ksp/wms", - "layers": "ksp:beibushanqudaolufenlei0923", - "crs": "EPSG:4326", - "noCenter": true, - "parameters": { - "transparent": "true", - "format": "image/png", - "cql_filter": "is_del=0" - }, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "showClickFeature": false, - "popup": [ - { - "field": "shape_leng", - "name": "长度" - }, - { - "field": "sftc", - "name": "是否通车" - }, - { - "field": "sfyh", - "name": "是否硬化" - }, - { - "field": "dllx", - "name": "道路类型" - }, - { - "field": "nftslc", - "name": "是否通三轮车" - }, - { - "field": "lk", - "name": "路宽" - }, - { - "field": "zp", - "name": "照片" - }, - { - "field": "ms", - "name": "描述" - }, - { - "field": "dlmc", - "name": "道路名称" - }, - { - "field": "fw", - "name": "方位" - }, - { - "field": "qufen", - "name": "分类" - } - ], - "flyTo": false, - "zIndex": 1, - "symbol": { - "styleField": "", - "styleFieldOptions": {} - }, - "dynamic": false, - "show": false - }, - { - "id": 221, - "pid": 5833520, - "name": "大田庄重点防火路", - "type": "wms", - "url": "http://221.2.83.254:9007/geoserver/ksp/wms", - "layers": "ksp:da_tian_zhuang_data", - "crs": "EPSG:4326", - "noCenter": true, - "parameters": { - "transparent": "true", - "format": "image/png", - "cql_filter": "is_del=0" - }, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "showClickFeature": false, - "popup": [ - { - "field": "shape_leng", - "name": "长度" - }, - { - "field": "sfyh", - "name": "是否硬化" - }, - { - "field": "nftslc", - "name": "能否通三轮车" - }, - { - "field": "lk", - "name": "路况" - }, - { - "field": "dlmc", - "name": "道路名称" - } - ], - "flyTo": false, - "zIndex": 1, - "symbol": { - "styleField": "", - "styleFieldOptions": {} - }, - "show": false - }, - { - "id": 146, - "pid": 5833520, - "name": "向阳路", - "type": "wms", - "url": "http://221.2.83.254:9007/geoserver/ksp/wms", - "layers": "ksp:shp_1692338588", - "crs": "EPSG:4326", - "noCenter": true, - "parameters": { - "transparent": "true", - "format": "image/png", - "cql_filter": "is_del=0" - }, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "showClickFeature": false, - "pickFeatureStyle": { - "showTime": 10000, - "fill": true, - "color": "#2deaf7", - "opacity": 1, - "outline": true, - "outlineWidth": 5, - "outlineColor": "#2deaf7", - "outlineOpacity": 1, - "clampToGround": true - }, - "popup": [], - "flyTo": false, - "zIndex": 1, - "symbol": { - "styleField": "", - "styleFieldOptions": {} - }, - "show": true - }, - { - "id": 117, - "pid": 5833520, - "name": "规划防火道路", - "type": "wms", - "url": "http://221.2.83.254:9007/geoserver/ksp/wms", - "layers": "ksp:shp_1686359374", - "crs": "EPSG:4326", - "noCenter": true, - "parameters": { - "transparent": "true", - "format": "image/png", - "cql_filter": "is_del=0" - }, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "showClickFeature": false, - "pickFeatureStyle": { - "showTime": 10000, - "fill": true, - "color": "#2deaf7", - "opacity": 1, - "outline": true, - "outlineWidth": 5, - "outlineColor": "#2deaf7", - "outlineOpacity": 1, - "clampToGround": true - }, - "popup": [], - "flyTo": false, - "zIndex": 1, - "symbol": { - "styleField": "", - "styleFieldOptions": {} - }, - "show": false - } - ] - }, - { - "id": 3445367, - "name": "水网", - "type": "group", - "fold": true, - "show": false, - "children": [ - { - "id": 270, - "pid": 3445367, - "name": "合并水源地-北部山区", - "type": "wms", - "url": "http://221.2.83.254:9007/geoserver/ksp/wms", - "layers": "ksp:beibushuiyuandifenlei", - "crs": "EPSG:4326", - "noCenter": true, - "parameters": { - "transparent": "true", - "format": "image/png", - "cql_filter": "is_del=0" - }, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "showClickFeature": false, - "popup": [ - { - "field": "mc", - "name": "名称" - }, - { - "field": "xsl", - "name": "蓄水量" - }, - { - "field": "dz", - "name": "地址" - }, - { - "field": "bz", - "name": "备注" - }, - { - "field": "jczt", - "name": "建成状态" - }, - { - "field": "sfhs", - "name": "是否核实" - }, - { - "field": "kyzt", - "name": "可用状态" - }, - { - "field": "sfzcsb", - "name": "水泵取水" - }, - { - "field": "jlstjl", - "name": "山头距离" - }, - { - "field": "xszt", - "name": "蓄水状态" - }, - { - "field": "lx", - "name": "水源类型" - }, - { - "field": "qufen", - "name": "分类" - } - ], - "flyTo": false, - "zIndex": 1, - "symbol": { - "styleField": "", - "styleFieldOptions": {} - }, - "show": false - }, - { - "id": 274, - "pid": 3445367, - "type": "geojson", - "name": "消防栓", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Ashp_1714282387&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1881950736492072960.png", - "scale": 0.2, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{weizhi}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "xuhao", - "styleFieldOptions": { - "1": { - "image": "" - }, - "2": { - "image": "" - }, - "3": { - "image": "" - }, - "4": { - "image": "" - }, - "5": { - "image": "" - }, - "6": { - "image": "" - }, - "7": { - "image": "" - }, - "8": { - "image": "" - }, - "9": { - "image": "" - }, - "10": { - "image": "" - }, - "11": { - "image": "" - }, - "12": { - "image": "" - }, - "13": { - "image": "" - }, - "14": { - "image": "" - }, - "15": { - "image": "" - }, - "16": { - "image": "" - }, - "17": { - "image": "" - }, - "18": { - "image": "" - }, - "19": { - "image": "" - }, - "20": { - "image": "" - }, - "21": { - "image": "" - }, - "25": { - "image": "" - }, - "26": { - "image": "" - }, - "27": { - "image": "" - }, - "28": { - "image": "" - }, - "29": { - "image": "" - }, - "30": { - "image": "" - }, - "31": { - "image": "" - }, - "32": { - "image": "" - }, - "33": { - "image": "" - }, - "34": { - "image": "" - }, - "35": { - "image": "" - }, - "36": { - "image": "" - }, - "39": { - "image": "" - }, - "40": { - "image": "" - }, - "41": { - "image": "" - }, - "42": { - "image": "" - }, - "21号": { - "image": "" - }, - "41号": { - "image": "" - }, - "18号": { - "image": "" - }, - "45号": { - "image": "" - }, - "6号": { - "image": "" - }, - "7号": { - "image": "" - }, - "17号": { - "image": "" - }, - "38号": { - "image": "" - }, - "16号": { - "image": "" - }, - "4号": { - "image": "" - }, - "12号": { - "image": "" - }, - "15号": { - "image": "" - }, - "11号": { - "image": "" - }, - "42号": { - "image": "" - }, - "32号": { - "image": "" - }, - "23号": { - "image": "" - }, - "20号": { - "image": "" - }, - "8号": { - "image": "" - }, - "35号": { - "image": "" - }, - "13号": { - "image": "" - }, - "25号": { - "image": "" - }, - "14号": { - "image": "" - }, - "uu": { - "image": "" - }, - "30号": { - "image": "" - }, - "3号": { - "image": "" - }, - "33号": { - "image": "" - }, - "27号": { - "image": "" - }, - "46号": { - "image": "" - }, - "31号": { - "image": "" - }, - "26号": { - "image": "" - }, - "19号": { - "image": "" - }, - "44号": { - "image": "" - }, - "40号": { - "image": "" - }, - "43号": { - "image": "" - }, - "10号": { - "image": "" - }, - "34号": { - "image": "" - }, - "28号": { - "image": "" - }, - "减压阀": { - "image": "" - }, - "36号": { - "image": "" - }, - "1号": { - "image": "" - }, - "5号": { - "image": "" - }, - "39号": { - "image": "" - }, - "9号": { - "image": "" - }, - "37号": { - "image": "" - }, - "2号": { - "image": "" - }, - "22号": { - "image": "" - }, - "47号": { - "image": "" - }, - "": { - "image": "" - }, - "29号": { - "image": "" - }, - "24号": { - "image": "" - } - } - }, - "popup": [ - { - "field": "xuhao", - "name": "序号" - }, - { - "field": "weizhi", - "name": "位置" - }, - { - "field": "suoshudanwei", - "name": "所属单位" - }, - { - "field": "sfzcsy", - "name": "是否正常使用" - } - ], - "flyTo": false, - "zIndex": 10000000000, - "show": false - }, - { - "id": 305, - "pid": 3445367, - "type": "geojson", - "name": "山顶水罐(直升机吊放)", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Ashandingshuiguan&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.34745, - "lng": 118.011691, - "alt": 3632.7, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1843999839166455808.png", - "scale": 0.3, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{o_name}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "", - "styleFieldOptions": {} - }, - "popup": [ - { - "field": "o_name", - "name": "位置" - }, - { - "field": "leixing", - "name": "类 型" - }, - { - "field": "guige", - "name": "规 格(吨)" - }, - { - "field": "shuliang", - "name": "数 量" - }, - { - "field": "beizhu", - "name": "备注" - } - ], - "flyTo": false, - "zIndex": 0, - "show": false - }, - { - "id": 175, - "pid": 3445367, - "type": "geojson", - "name": "水窖(建设中)", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Afxshuijiao&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1777254607754702848.png", - "scale": 0.85, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{mingcheng}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "daxiao", - "styleFieldOptions": { - "200矩形": { - "image": "http://221.2.83.254:9012/styleImages/image/1831583918288330752.png" - }, - "150方形": { - "image": "http://221.2.83.254:9012/styleImages/image/1831583897484582912.png" - }, - "": { - "image": "http://221.2.83.254:9012/styleImages/image/1831583860377575424.png" - }, - "100矩形": { - "image": "http://221.2.83.254:9012/styleImages/image/1831583879168057344.png" - }, - "100方形": { - "image": "http://221.2.83.254:9012/styleImages/image/1831583879168057344.png" - }, - "150矩形": { - "image": "http://221.2.83.254:9012/styleImages/image/1831583897484582912.png" - }, - "200方形": { - "image": "http://221.2.83.254:9012/styleImages/image/1831583918288330752.png" - } - } - }, - "popup": [ - { - "field": "xiangzhen", - "name": "乡镇" - }, - { - "field": "mingcheng", - "name": "名称" - }, - { - "field": "zuizhongsh", - "name": "最终设计尺寸" - }, - { - "field": "daxiao", - "name": "大小" - } - ], - "flyTo": false, - "zIndex": 10000000000, - "show": false - }, - { - "id": 87, - "pid": 3445367, - "type": "geojson", - "name": "森林保育水源地", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Ashp_1686205982&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1777254607754702848.png", - "scale": 0.5, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "", - "styleFieldOptions": {} - }, - "popup": [], - "flyTo": false, - "zIndex": 0, - "show": false - }, - { - "id": 201, - "pid": 3445367, - "name": "引水上山水管网", - "type": "geojson", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp:yinshuishangshanshuiguanwang&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "layers": "ksp:yinshuishangshanshuiguanwang", - "crs": "EPSG:4326", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "showClickFeature": false, - "popup": [ - { - "field": "tcly", - "name": "类型" - } - ], - "flyTo": false, - "zIndex": 10000000000, - "symbol": { - "styleField": "tcly", - "styleFieldOptions": { - "消防水管网一期": { - "color": "#1DF911" - }, - "森林保育引水上山管线": { - "color": "#0FF8E5" - } - }, - "styleOptions": { - "opacity": 0.8, - "color": "", - "width": 2, - "clampToGround": true - } - }, - "show": false - }, - { - "id": 215, - "pid": 3445367, - "type": "geojson", - "name": "蓄水池-山水项目(统一编号)", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Axushuichishanshui&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1777254607754702848.png", - "scale": 0.8, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{mc}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "kr", - "styleFieldOptions": { - "5": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279558104735744.png" - }, - "10": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279558104735744.png" - }, - "12": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279558104735744.png" - }, - "36": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279558104735744.png" - }, - "42": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279558104735744.png" - }, - "50": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279577541140480.png" - }, - "72": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279577541140480.png" - }, - "100": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279577541140480.png" - }, - "120": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279587485835264.png" - }, - "140": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279587485835264.png" - }, - "144": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279587485835264.png" - }, - "175": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279597170483200.png" - }, - "200": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279597170483200.png" - }, - "300": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279597170483200.png" - }, - "500": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279605693308928.png" - }, - "600": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279605693308928.png" - }, - "1000": { - "image": "http://221.2.83.254:9012/styleImages/image/1836279605693308928.png" - }, - "null": { - "image": "http://221.2.83.254:9012/styleImages/image/1831580714540523520.png" - } - } - }, - "popup": [ - { - "field": "mc", - "name": "名称" - }, - { - "field": "ghzrr", - "name": "管护责任人" - }, - { - "field": "lxdh", - "name": "联系电话" - } - ], - "flyTo": false, - "zIndex": 10000000000, - "show": false - }, - { - "id": 130, - "pid": 3445367, - "name": "引水上山管网分布图(规划)", - "type": "wms", - "url": "http://221.2.83.254:9007/geoserver/ksp/wms", - "layers": "ksp:shp_1686626073", - "crs": "EPSG:4326", - "noCenter": true, - "parameters": { - "transparent": "true", - "format": "image/png", - "cql_filter": "is_del=0" - }, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "showClickFeature": false, - "popup": [ - { - "field": "num", - "name": "数量" - }, - { - "field": "length", - "name": "长度" - } - ], - "flyTo": false, - "zIndex": 1, - "symbol": { - "styleField": "", - "styleFieldOptions": {} - }, - "show": false - }, - { - "id": 233, - "pid": 3445367, - "type": "geojson", - "name": "水罐", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Afeixianshuiguan&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.376128, - "lng": 118.036717, - "alt": 2779, - "heading": 1.3, - "pitch": -20.5, - "roll": 0 - }, - "popupOptions": "", - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1843999839166455808.png", - "scale": 0.5, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{didian}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "", - "styleFieldOptions": {} - }, - "popup": [ - { - "field": "leixing", - "name": "类 型" - }, - { - "field": "didian", - "name": "地 点" - }, - { - "field": "guige", - "name": "规 格(吨)" - }, - { - "field": "shuliang", - "name": "数 量" - }, - { - "field": "num", - "name": "num" - } - ], - "flyTo": false, - "zIndex": 0, - "show": false - }, - { - "id": 307, - "pid": 3445367, - "type": "geojson", - "name": "绿色小水桶", - "url": "http://221.2.83.254:9007/geoserver/ksp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ksp%3Ashp_1737345047&maxFeatures=1000000&outputFormat=application%2Fjson&cql_filter=is_del%20=0", - "noCenter": true, - "center": { - "lat": 35.377004, - "lng": 117.970152, - "alt": 30384, - "heading": 13.5, - "pitch": -64.7, - "roll": 0 - }, - "popupOptions": { - "offsetY": -30, - "template": "{content}", - "horizontalOrigin": "Cesium.HorizontalOrigin.LEFT", - "verticalOrigin": "Cesium.VerticalOrigin.CENTER" - }, - "symbol": { - "styleOptions": { - "image": "http://221.2.83.254:9012/styleImages/image/1881916430382075904.png", - "scale": 0.15, - "scaleByDistance": true, - "scaleByDistance_far": 20000, - "scaleByDistance_farValue": 0.5, - "scaleByDistance_near": 1000, - "scaleByDistance_nearValue": 1, - "verticalOrigin": 1, - "horizontalOrigin": 0, - "clampToGround": true, - "label": { - "text": "{mingcheng}", - "font_size": 14, - "outline": true, - "outlineWidth": 2, - "pixelOffsetY": -40 - } - }, - "styleField": "geom", - "styleFieldOptions": {} - }, - "popup": "
-
+