Newer
Older
DH_Apicture / public / static / libs / mapbox / style / wh_dhgx.json
@wudi wudi 2 days ago 49 KB 1
  1. {
  2. "params": {
  3. "basemap": "https://dhgx1.wh-nf.cn:7081/bm",
  4. "mvt": [
  5. "https://dhgx0.wh-nf.cn:7081/vt/mvt",
  6. "https://dhgx1.wh-nf.cn:7081/vt/mvt",
  7. "https://dhgx2.wh-nf.cn:7081/vt/mvt",
  8. "https://dhgx3.wh-nf.cn:7081/vt/mvt",
  9. "https://dhgx4.wh-nf.cn:7081/vt/mvt",
  10. "https://dhgx5.wh-nf.cn:7081/vt/mvt",
  11. "https://dhgx6.wh-nf.cn:7081/vt/mvt",
  12. "https://dhgx7.wh-nf.cn:7081/vt/mvt",
  13. "https://dhgx8.wh-nf.cn:7081/vt/mvt",
  14. "https://dhgx9.wh-nf.cn:7081/vt/mvt",
  15. "https://dhgx10.wh-nf.cn:7081/vt/mvt",
  16. "https://dhgx11.wh-nf.cn:7081/vt/mvt",
  17. "https://dhgx12.wh-nf.cn:7081/vt/mvt",
  18. "https://dhgx13.wh-nf.cn:7081/vt/mvt",
  19. "https://dhgx14.wh-nf.cn:7081/vt/mvt",
  20. "https://dhgx15.wh-nf.cn:7081/vt/mvt"
  21. ],
  22. "geojson": "https://dhgx9.wh-nf.cn:7081/vt/geojson",
  23. "sprites": [
  24. "/static/libs/mapbox/style/sprite/sprite"
  25. ],
  26. "init": {
  27. "center": [114.40776390595016, 30.484477581887262],
  28. "zoom": 11.3,
  29. "maxZoom": 20.9,
  30. "minZoom": 1,
  31. "pitch": 0,
  32. "bearing":0,
  33. "style":"",
  34. "localStyle": "/static/libs/mapbox/night-style0.json"
  35. },
  36. "l7": {
  37. "images": [
  38. {
  39. "name": "02",
  40. "url": "https://gw.alipayobjects.com/zos/bmw-prod/ce83fc30-701f-415b-9750-4b146f4b3dd6.svg"
  41. },
  42. {
  43. "name": "map_selected",
  44. "url": "/static/libs/mapbox/images/map_selected.png"
  45. },
  46. {
  47. "name": "map_selected1",
  48. "url": "/static/libs/mapbox/images/选中.png"
  49. }
  50. ]
  51. },
  52. "mapbox": {
  53. "models": {
  54. "maple2-lod1": "https://supermap0.wh-nf.cn:8090/resource/glb/maple2-lod1.glb",
  55. "tower": "https://supermap0.wh-nf.cn:8090/resource/glb/tower.glb",
  56. "pine1-lod2": "https://supermap0.wh-nf.cn:8090/resource/glb/pine1-lod2.glb"
  57. },
  58. "images": [
  59. {"name": "stop", "url": "/static/libs/mapbox/images/stop.png"},
  60. {"name": "水库水位@2x", "url": "/static/libs/mapbox/images/水库水位@2x.png"},
  61. {"name": "污水处理站", "url": "/static/libs/mapbox/images/污水处理站.png"},
  62. {"name": "堤防备料@2x", "url": "/static/libs/mapbox/images/堤防备料@2x.png"},
  63. {"name": "物资仓库@2x", "url": "/static/libs/mapbox/images/物资仓库@2x.png"},
  64. {"name": "blockage", "url": "/static/libs/mapbox/images/blockage.png"},
  65. {"name": "full", "url": "/static/libs/mapbox/images/full.png"},
  66. {"name": "full_out", "url": "/static/libs/mapbox/images/full_out.png"},
  67. {"name": "full_out_risk", "url": "/static/libs/mapbox/images/full_out_risk.png"},
  68. {"name": "排渍调度", "url": "/static/libs/mapbox/images/排渍调度.png"},
  69. {"name": "material5", "url": "/static/libs/mapbox/images/1.jpg"},
  70. {"name": "selectedLocation", "url": "/static/libs/mapbox/images/selectedLocation.png"},
  71. {"name": "污水厂", "url": "/static/libs/mapbox/images/污水厂.png"},
  72. {"name": "污水监测", "url": "/static/libs/mapbox/images/污水监测.png"},
  73.  
  74. {"name": "水质异常", "url": "/static/libs/mapbox/images/污水-水质异常.png"},
  75. {"name": "淤堵风险", "url": "/static/libs/mapbox/images/污水-淤堵风险.png"},
  76. {"name": "雨水混入", "url": "/static/libs/mapbox/images/污水-雨水混入.png"},
  77. {"name": "地下水注入", "url": "/static/libs/mapbox/images/雨水-地下水注入.png"},
  78. {"name": "晴天出流", "url": "/static/libs/mapbox/images/雨水-晴天出流.png"},
  79. {"name": "污水混入", "url": "/static/libs/mapbox/images/雨水-污水混入.png"},
  80.  
  81. {"name": "泵站视频", "url": "/static/libs/mapbox/images/泵站视频_icon.png"},
  82. {"name": "渍水点视频", "url": "/static/libs/mapbox/images/渍水点视频_icon.png"},
  83. {"name": "港渠视频", "url": "/static/libs/mapbox/images/港渠视频_icon.png"},
  84.  
  85. {"name": "地", "url": "/static/libs/mapbox/images/地.png"},
  86. {"name": "堵", "url": "/static/libs/mapbox/images/堵.png"},
  87. {"name": "异", "url": "/static/libs/mapbox/images/异.png"},
  88. {"name": "晴", "url": "/static/libs/mapbox/images/晴.png"},
  89. {"name": "混", "url": "/static/libs/mapbox/images/混.png"},
  90. {"name": "满", "url": "/static/libs/mapbox/images/满.png"},
  91. {"name": "高", "url": "/static/libs/mapbox/images/高.png"},
  92. {"name": "污水接驳", "url": "/static/libs/mapbox/images/污水接驳_icon.png"},
  93. {"name": "雨水接驳", "url": "/static/libs/mapbox/images/雨水接驳_icon.png"},
  94. {"name": "泵车在线", "url": "/static/libs/mapbox/images/泵车在线.png", "width": 15,"height": 20},
  95. {"name": "泵车离线", "url": "/static/libs/mapbox/images/泵车离线.png", "width": 15,"height": 20},
  96. {"name": "heigh", "url": "/static/libs/mapbox/images/full_out.gif", "width": 50,"height": 50}
  97. ]
  98. }
  99. },
  100. "ogc": [
  101. {
  102. "id": "newfiber-XYZLayer",
  103. "type": "XYZLayer1",
  104. "params": {
  105. "id": "newfiber-XYZLayer",
  106. "url": "https://tiles{s}.geovisearth.com/base/v1/img/default/{z}/{x}/{y}?format=webp&tmsIds=w&token=7098e0a9272b2738269fac81a14ee963834feef31e9330461348d679a24e005b",
  107. "subdomains": [
  108. "1",
  109. "2",
  110. "3"
  111. ],
  112. "minZoom": 1,
  113. "maxZoom": 18,
  114. "tileType": ""
  115. },
  116. "methods": [
  117. {
  118. "name": "addTo",
  119. "params": [
  120. "''||map"
  121. ]
  122. },
  123. {
  124. "name": "show",
  125. "params": []
  126. }
  127. ]
  128. },
  129. {
  130. "id": "高清地图",
  131. "type": "XYZLayer1",
  132. "params": {
  133. "id": "高清地图",
  134. "url": "https://dhgx{s}.wh-nf.cn:7081/resource/tms/dhgx/{z}/{x}/{y}.png",
  135. "subdomains": ["0", "1", "2", "3","4","5","6","7","8","9","10","11","12","13","14","15"],
  136. "minZoom": 1,
  137. "maxZoom": 22
  138. },
  139. "methods": [
  140. {
  141. "name": "addTo",
  142. "params": [
  143. "''||map"
  144. ]
  145. },
  146. {
  147. "name": "show",
  148. "params": []
  149. }
  150. ]
  151. }
  152. ],
  153. "l7": [
  154. {
  155. "id": "",
  156. "key": "蒙版",
  157. "type": "PolygonLayer",
  158. "show": true,
  159. "temporary": true,
  160. "params": {
  161. "zIndex": 100,
  162. "minZoom": 12.5
  163. },
  164. "methods": [
  165. {
  166. "name": "shape",
  167. "params": [
  168. "fill"
  169. ]
  170. },
  171. {
  172. "name": "color",
  173. "params": ["rgba(0,0,0,.75)"]
  174. }
  175. ]
  176. },
  177. {
  178. "id": "",
  179. "key": "尾水路径",
  180. "type": "LineLayer",
  181. "show": true,
  182. "params": {
  183. "autoFit": false,
  184. "zIndex": 1
  185. },
  186. "methods": [
  187. {
  188. "name": "size",
  189. "params": [
  190. 3.5
  191. ]
  192. },
  193. {
  194. "name": "shape",
  195. "params": [
  196. "line"
  197. ]
  198. },
  199. {
  200. "name": "color",
  201. "params": [
  202. "color",
  203. "''||function(v){return 'rgba(255,255,255,1)'; }"
  204. ]
  205. },
  206. {
  207. "name": "animate",
  208. "params": [
  209. {
  210. "interval": 0.3,
  211. "duration": 3,
  212. "trailLength": 0.7
  213. }
  214. ]
  215. },
  216. {
  217. "name": "style",
  218. "params": [
  219. {
  220. "strokeWidth": 5
  221. }
  222. ]
  223. }
  224. ]
  225. },
  226. {
  227. "id": "",
  228. "key": "雨水系统流向",
  229. "type": "LineLayer",
  230. "show": false,
  231. "params": {
  232. "autoFit": false,
  233. "zIndex": 101
  234. },
  235. "methods": [
  236. {
  237. "name": "size",
  238. "params": [
  239. 3.5
  240. ]
  241. },
  242. {
  243. "name": "shape",
  244. "params": [
  245. "line"
  246. ]
  247. },
  248. {
  249. "name": "color",
  250. "params": [
  251. "rgba(255,255,255,1)"
  252. ]
  253. },
  254. {
  255. "name": "animate",
  256. "params": [
  257. {
  258. "interval": 0.7,
  259. "duration": 2,
  260. "trailLength": 0.7
  261. }
  262. ]
  263. },
  264. {
  265. "name": "style",
  266. "params": [
  267. {
  268. "strokeWidth": 5
  269. }
  270. ]
  271. }
  272. ]
  273. },
  274. {
  275. "id": "",
  276. "key": "污水系统流向",
  277. "type": "LineLayer",
  278. "show": false,
  279. "params": {
  280. "autoFit": false,
  281. "zIndex": 101
  282. },
  283. "methods": [
  284. {
  285. "name": "size",
  286. "params": [
  287. 3.5
  288. ]
  289. },
  290. {
  291. "name": "shape",
  292. "params": [
  293. "line"
  294. ]
  295. },
  296. {
  297. "name": "color",
  298. "params": [
  299. "rgba(255,255,255,1)"
  300. ]
  301. },
  302. {
  303. "name": "animate",
  304. "params": [
  305. {
  306. "interval": 0.7,
  307. "duration": 2,
  308. "trailLength": 0.7
  309. }
  310. ]
  311. },
  312. {
  313. "name": "style",
  314. "params": [
  315. {
  316. "strokeWidth": 5
  317. }
  318. ]
  319. }
  320. ]
  321. },
  322.  
  323. {
  324. "id": "",
  325. "key": "分区流向1",
  326. "type": "LineLayer",
  327. "show": true,
  328. "temporary": true,
  329. "params": {
  330. "autoFit": false,
  331. "zIndex": 1
  332. },
  333. "methods": [
  334. {
  335. "name": "size",
  336. "params": [
  337. 3.5
  338. ]
  339. },
  340. {
  341. "name": "shape",
  342. "params": [
  343. "line"
  344. ]
  345. },
  346. {
  347. "name": "color",
  348. "params": [
  349. "color",
  350. "''||function(v){return 'rgba(255,255,255,1)'; }"
  351. ]
  352. },
  353. {
  354. "name": "animate",
  355. "params": [
  356. {
  357. "interval": 0.3,
  358. "duration": 3,
  359. "trailLength": 0.7
  360. }
  361. ]
  362. },
  363. {
  364. "name": "style",
  365. "params": [
  366. {
  367. "strokeWidth": 5
  368. }
  369. ]
  370. }
  371. ]
  372. },
  373. {
  374. "id": "",
  375. "key": "排口流向1",
  376. "type": "LineLayer",
  377. "show": true,
  378. "temporary": true,
  379. "params": {
  380. "autoFit": false,
  381. "zIndex": 1
  382. },
  383. "methods": [
  384. {
  385. "name": "size",
  386. "params": [
  387. 3.5
  388. ]
  389. },
  390. {
  391. "name": "shape",
  392. "params": [
  393. "line"
  394. ]
  395. },
  396. {
  397. "name": "color",
  398. "params": [
  399. "color",
  400. "''||function(v){return 'rgba(255,255,255,1)'; }"
  401. ]
  402. },
  403. {
  404. "name": "animate",
  405. "params": [
  406. {
  407. "interval": 0.3,
  408. "duration": 3,
  409. "trailLength": 0.7
  410. }
  411. ]
  412. },
  413. {
  414. "name": "style",
  415. "params": [
  416. {
  417. "strokeWidth": 5
  418. }
  419. ]
  420. }
  421. ]
  422. },
  423. {
  424. "id": "",
  425. "key": "村域边界",
  426. "type": "LineLayer",
  427. "show": true,
  428. "temporary": true,
  429. "params": {
  430. "autoFit": false,
  431. "zIndex": 1
  432. },
  433. "methods": [
  434. {
  435. "name": "size",
  436. "params": [
  437. 3.5
  438. ]
  439. },
  440. {
  441. "name": "shape",
  442. "params": [
  443. "line"
  444. ]
  445. },
  446. {
  447. "name": "color",
  448. "params": [
  449. "color",
  450. "''||function(v){return 'rgba(0,255,255,1)'; }"
  451. ]
  452. },
  453. {
  454. "name": "animate",
  455. "params": [
  456. {
  457. "interval": 0.5,
  458. "duration": 3,
  459. "trailLength":0.1
  460. }
  461. ]
  462. },
  463. {
  464. "name": "style",
  465. "params": [
  466. {
  467. "strokeWidth": 5
  468. }
  469. ]
  470. }
  471. ]
  472. },
  473. {
  474. "id": "",
  475. "key": "水系流向",
  476. "type": "LineLayer",
  477. "temporary": true,
  478. "show": true,
  479. "params": {
  480. "autoFit": false,
  481. "zIndex": 1
  482. },
  483. "methods": [
  484. {
  485. "name": "size",
  486. "params": [
  487. 2.5
  488. ]
  489. },
  490. {
  491. "name": "shape",
  492. "params": [
  493. "line"
  494. ]
  495. },
  496. {
  497. "name": "color",
  498. "params": [
  499. "area",
  500. "''||function(v){\n let key = [\"雨水\", \"污水\", \"合流\"];\n let colors = ['#061D3D', '#FFFFFF', '#ccff12'];\n return 'rgba(255,255,255,1)'||colors[key.indexOf(v)];\n }"
  501. ]
  502. },
  503. {
  504. "name": "animate",
  505. "params": [
  506. {
  507. "interval": 3,
  508. "duration": 1,
  509. "trailLength": 0.7
  510. }
  511. ]
  512. },
  513. {
  514. "name": "style",
  515. "params": [
  516. {
  517. "strokeWidth": 5
  518. }
  519. ]
  520. }
  521. ]
  522. },
  523. {
  524. "id": "",
  525. "key": "highlight_linestring",
  526. "type": "LineLayer",
  527. "temporary": true,
  528. "show": true,
  529. "params": {
  530. "autoFit": false,
  531. "zIndex": 1
  532. },
  533. "methods": [
  534. {
  535. "name": "size",
  536. "params": [
  537. 3
  538. ]
  539. },
  540. {
  541. "name": "shape",
  542. "params": [
  543. "line"
  544. ]
  545. },
  546. {
  547. "name": "texture",
  548. "params": [
  549. "02"
  550. ]
  551. },
  552. {
  553. "name": "color",
  554. "params": [
  555. "管段类型",
  556. "''||function(v){\n let key = [\"YS\", \"WS\", \"HS\"];\n let colors = ['#184375', '#E6061A', '#ccff12'];\n return colors[key.indexOf(v)] || '#E6061A';\n }"
  557. ]
  558. },
  559. {
  560. "name": "animate",
  561. "params": [
  562. {
  563. "interval": 1,
  564. "duration": 1,
  565. "trailLength": 2
  566. }
  567. ]
  568. },
  569. {
  570. "name": "style",
  571. "params": [
  572. {
  573. "opacity": 0.6,
  574. "lineTexture": true,
  575. "iconStep": 10,
  576. "borderWidth": 0.4,
  577. "borderColor": "#fff"
  578. }
  579. ]
  580. }
  581. ]
  582. },
  583. {
  584. "id": "",
  585. "key": "highlight_point1",
  586. "type": "PointLayer",
  587. "temporary": true,
  588. "show": true,
  589. "params": {
  590. "zIndex": 0,
  591. "blend": "additive"
  592. },
  593. "methods": [
  594. {
  595. "name": "shape",
  596. "params": [
  597. "circle"
  598. ]
  599. },
  600. {
  601. "name": "color",
  602. "params": [
  603. "rgba(255,0,0,1.0)"
  604. ]
  605. },
  606. {
  607. "name": "size",
  608. "params": [
  609. 10
  610. ]
  611. },
  612. {
  613. "name": "animate",
  614. "params": [
  615. true
  616. ]
  617. },
  618. {
  619. "name": "style",
  620. "params": [
  621. {
  622. "unit": "meter"
  623. }
  624. ]
  625. }
  626. ]
  627. },
  628. {
  629. "id": "",
  630. "key": "highlight_point",
  631. "type": "PointLayer",
  632. "temporary": true,
  633. "show": true,
  634. "params": {
  635. "zIndex": 0,
  636. "blend": "additive"
  637. },
  638. "methods": [
  639. {
  640. "name": "shape",
  641. "params": [
  642. "map_selected1"
  643. ]
  644. },
  645. {
  646. "name": "size",
  647. "params": [
  648. 16
  649. ]
  650. },
  651. {
  652. "name": "style",
  653. "params": [
  654. {
  655. "offsets": [
  656. 0,
  657. 0
  658. ]
  659. }
  660. ]
  661. }
  662. ]
  663. },
  664. {
  665. "id": "",
  666. "key": "highlight_polygon",
  667. "type": "LineLayer",
  668. "temporary": true,
  669. "show": true,
  670. "params": {
  671. "zIndex": 0
  672. },
  673. "methods": [
  674. {
  675. "name": "shape",
  676. "params": [
  677. "wall"
  678. ]
  679. },
  680. {
  681. "name": "size",
  682. "params": [
  683. 55
  684. ]
  685. },
  686. {
  687. "name": "style",
  688. "params": [
  689. {
  690. "heightfixed": true,
  691. "opacity": 0.6,
  692. "sourceColor": "rgba(255,0,0,1)",
  693. "targetColor": "rbga(255,255,255, 0)"
  694. }
  695. ]
  696. }
  697. ]
  698. }
  699. ],
  700. "mapbox": [
  701. {
  702. "id": "all_boundary",
  703. "key": "all_boundary",
  704. "type": "line",
  705. "paint": {
  706. "line-color": [
  707. "match",
  708. ["get","id"],
  709. 1,"rgba(255,18,60,1)",
  710. "rgba(255,18,60,0)"
  711. ],
  712. "line-width": 1
  713. },
  714. "layout": {},
  715. "minzoom": 0,
  716. "maxzoom": 24,
  717. "mType": "geojsonMvt"
  718. },
  719. {
  720. "id": "hb_wh_dhgx_merge",
  721. "key": "hb_wh_dhgx_merge",
  722. "type": "fill",
  723. "filter": [
  724. "all",
  725. ["<=", ["zoom"], ["-", ["get", "max_z"], 0]],
  726. [">=", ["zoom"], ["-", ["get", "min_z"], 0]],
  727. ["in", ["get", "geometry_type"], ["literal", ["3"]]],
  728. ["in", ["get", "c_layer"],["literal", [""]]]
  729. ],
  730. "paint": {
  731. "fill-color": [
  732. "get",
  733. "color"
  734. ],
  735. "fill-opacity": [
  736. "match",
  737. ["get", "c_layer"],
  738. "排水分区_雨水分区_1",0.5,
  739. "排水分区_雨水分区_2",0.25,
  740. "排水分区_雨水分区_3",0.15,
  741. "排水分区_雨水分区_4",0.05,
  742. "排水分区_污水分区_1",0.5,
  743. "排水分区_污水分区_2",0.25,
  744. "排水分区_污水分区_3",0.15,
  745. "排水分区_污水分区_4",0.05,
  746. 0.5
  747. ]
  748. },
  749. "layout": {},
  750. "minzoom": 7,
  751. "maxzoom": 24,
  752. "mType": "geojsonMvt",
  753. "columns": "*,st_asText(geometrys) as geometry"
  754. },
  755. {
  756. "id": "hb_wh_dhgx_merge_border",
  757. "key": "hb_wh_dhgx_merge",
  758. "type": "line",
  759. "filter": [
  760. "all",
  761. ["<=", ["zoom"], ["-", ["get", "max_z"], 0]],
  762. [">=", ["zoom"], ["-", ["get", "min_z"], 0]],
  763. ["in", ["get", "c_layer"],["literal", ["轮廓"]]]
  764. ],
  765. "paint": {
  766. "line-color": [
  767. "match",
  768. ["get","layer"],
  769. "排水分区","rgba(98,101,124,1)",
  770. ["get","color"]
  771. ],
  772. "line-width": [
  773. "match",
  774. ["get", "layer"],
  775. "排水分区",0.5,
  776. "轮廓",1,
  777. 3.5
  778. ],
  779. "line-dasharray": [
  780. "match",
  781. ["get", "c_layer"],
  782. "轮廓", [1, 1],
  783. "尾水路径_路线1", [2, 2],
  784. "排水分区", [2, 2],
  785. [1]
  786. ]
  787. },
  788. "layout": {
  789. "line-join": [
  790. "match",
  791. ["get", "c_layer"],
  792. "轮廓", "round",
  793. "尾水路径_路线1", "round",
  794. "butt"
  795. ]
  796. },
  797. "minzoom": 7,
  798. "maxzoom": 24,
  799. "mType": "geojsonMvt",
  800. "columns": "*,st_asText(geometrys) as geometry"
  801. },
  802. {
  803. "id": "hb_wh_dhgx_merge_text",
  804. "key": "hb_wh_dhgx_merge",
  805. "type": "symbol",
  806. "filter": [
  807. "all",
  808. ["<=", ["zoom"], ["-", ["get", "max_z"], 0]],
  809. [">=", ["zoom"], ["-", ["get", "min_z"], 0]],
  810. ["in", ["get", "c_layer"],["literal", [""]]]
  811. ],
  812. "minzoom": 0,
  813. "maxzoom": 24,
  814. "paint": {
  815. "text-halo-color": "#ccefff",
  816. "text-color": "rgba(251, 0, 0, 1)",
  817. "text-halo-width": 1
  818. },
  819. "layout": {
  820. "icon-image": [
  821. "match",
  822. ["get", "c_layer"],
  823. "尾水路径_污水处理厂","污水处理厂扎点@2x",
  824. "尾水路径_净水厂","污水处理厂扎点@2x",
  825. "尾水路径_泵站","污水泵站扎点@2x",
  826. "transparent"
  827. ],
  828. "icon-allow-overlap": false,
  829. "icon-anchor": "center",
  830. "icon-size": 0.8,
  831. "text-allow-overlap": false,
  832. "text-field": "{name}",
  833. "text-font": [
  834. "KlokanTech Noto Sans Regular"
  835. ],
  836. "text-size": 14,
  837. "text-justify": "left",
  838. "text-anchor": "top",
  839. "text-line-height": 1.2,
  840. "text-max-width": 50,
  841. "text-offset": [0, 1.2],
  842. "text-optional": true
  843. },
  844. "mType": "geojsonMvt",
  845. "columns": "*,st_asText(geometrys) as geometry",
  846. "geom_column": "geometrys_center"
  847. },
  848. {
  849. "id": "hb_wh_dhgx_merge_line_text",
  850. "key": "hb_wh_dhgx_merge",
  851. "type": "symbol",
  852. "filter": [
  853. "all",
  854. ["<=", ["zoom"], ["-", ["get", "max_z"], 0]],
  855. [">=", ["zoom"], ["-", ["get", "min_z"], 0]],
  856. ["in", ["get", "geometry_type"], ["literal", ["2"]]],
  857. ["in", ["get", "c_layer"],["literal", [""]]]
  858. ],
  859. "minzoom": 4,
  860. "layout": {
  861. "symbol-placement": "line-center",
  862. "symbol-spacing": 40,
  863. "icon-image": [
  864. "match",
  865. ["get", "c_layer"],
  866. "管网概化图_雨水","hong",
  867. "管网概化图_污水","lan",
  868. "qqq"
  869. ],
  870. "icon-size": 1,
  871. "text-field": "{name}",
  872. "text-font": ["KlokanTech Noto Sans Regular"],
  873. "text-letter-spacing": 0.1,
  874. "text-rotation-alignment": "map",
  875. "text-size": 16,
  876. "text-anchor": "top",
  877. "text-offset": [1.5,1.5],
  878. "text-transform": "uppercase",
  879. "visibility": "visible"
  880. },
  881. "paint": {
  882. "text-color": "rgba(0,0,0,1)",
  883. "text-halo-color": "hsl(0, 0%, 100%)",
  884. "text-halo-width": 0
  885. },
  886. "mType": "mvt",
  887. "columns": "*,st_asText(geometrys) as geometry"
  888. },
  889. {
  890. "id": "水库管理范围",
  891. "key": "hb_wh_gxq_skglfw1",
  892. "type": "fill",
  893. "paint": {
  894. "fill-color": ["get","color"],
  895. "fill-opacity": 0.8
  896. },
  897. "layout": {
  898. "visibility": "none"
  899. },
  900. "minzoom": 7,
  901. "maxzoom": 24,
  902. "mType": "geojsonMvt",
  903. "columns": "*,st_asText(geometrys_center) as geometry"
  904. },
  905. {
  906. "id": "水库管理范围_text",
  907. "key": "hb_wh_gxq_skglfw1",
  908. "type": "symbol",
  909. "layout": {
  910. "text-field": "{name}",
  911. "text-font": ["KlokanTech Noto Sans Regular"],
  912. "text-letter-spacing": 0.1,
  913. "text-rotation-alignment": "map",
  914. "text-size": 20,
  915. "text-anchor": "top",
  916. "text-offset": [0,0],
  917. "text-transform": "uppercase",
  918. "visibility": "none"
  919. },
  920. "paint": {
  921. "text-color": "rgba(230,8,28,1)",
  922. "text-halo-color": "hsl(0, 0%, 100%)",
  923. "text-halo-width": 2
  924. },
  925. "minzoom": 7,
  926. "maxzoom": 24,
  927. "mType": "geojsonMvt",
  928. "geom_column": "geometrys_center",
  929. "columns": "*,st_asText(geometrys_center) as geometry"
  930. },
  931. {
  932. "id": "乡镇",
  933. "key": "hb_wh_gxq_xiang1",
  934. "type": "fill",
  935. "paint": {
  936. "fill-color": ["get","color"],
  937. "fill-opacity": 0.5
  938. },
  939. "layout": {
  940. "visibility": "none"
  941. },
  942. "minzoom": 7,
  943. "maxzoom": 24,
  944. "mType": "geojsonMvt",
  945. "columns": "*,st_asText(geometrys) as geometry"
  946. },
  947. {
  948. "id": "乡镇_text",
  949. "key": "hb_wh_gxq_xiang1",
  950. "type": "symbol",
  951. "minzoom": 1,
  952. "layout": {
  953. "text-field": "{name}",
  954. "text-font": ["KlokanTech Noto Sans Regular"],
  955. "text-letter-spacing": 0.1,
  956. "text-rotation-alignment": "map",
  957. "text-size": 16,
  958. "text-anchor": "top",
  959. "text-offset": [0,0],
  960. "text-transform": "uppercase",
  961. "visibility": "none"
  962. },
  963. "paint": {
  964. "text-color": "rgba(230,8,28,1)",
  965. "text-halo-color": "hsl(0, 0%, 100%)",
  966. "text-halo-width": 2
  967. },
  968. "mType": "geojsonMvt",
  969. "geom_column": "geometrys_center",
  970. "columns": "*,st_asText(geometrys_center) as geometry"
  971. },
  972. {
  973. "id": "村",
  974. "key": "hb_wh_gxq_cun2",
  975. "type": "fill",
  976. "filter": ["in", "type", ""],
  977. "paint": {
  978. "fill-color": ["get","color"],
  979. "fill-opacity": 0.7
  980. },
  981. "layout": {},
  982. "minzoom": 7,
  983. "maxzoom": 24,
  984. "mType": "geojsonMvt",
  985. "columns": "*,st_asText(geometrys) as geometry"
  986. },
  987. {
  988. "id": "村_text",
  989. "key": "hb_wh_gxq_cun2",
  990. "type": "symbol",
  991. "filter": ["in", "type", ""],
  992. "minzoom": 1,
  993. "layout": {
  994. "text-field": "{name}",
  995. "text-font": ["KlokanTech Noto Sans Regular"],
  996. "text-letter-spacing": 0.1,
  997. "text-rotation-alignment": "map",
  998. "text-size": 13,
  999. "text-anchor": "top",
  1000. "text-offset": [0,0],
  1001. "text-transform": "uppercase"
  1002. },
  1003. "paint": {
  1004. "text-color": "rgba(255,0,0,1)",
  1005. "text-halo-color": "hsl(0, 0%, 100%)",
  1006. "text-halo-width": 2
  1007. },
  1008. "mType": "geojsonMvt",
  1009. "geom_column": "geometrys_center",
  1010. "columns": "*,st_asText(geometrys_center) as geometry"
  1011. },
  1012.  
  1013. {
  1014. "id": "排水分区",
  1015. "key": "hb_wh_dhgx_psfq",
  1016. "type": "fill",
  1017. "filter": [
  1018. "all",
  1019. ["in", ["get", "p_type"],["literal", [""]]]
  1020. ],
  1021. "paint": {
  1022. "fill-color": ["get", "color"],
  1023. "fill-opacity": [
  1024. "match",
  1025. ["get", "level"],
  1026. "1",0.3,
  1027. "2",0.2,
  1028. "3",0.2,
  1029. "4",0.1,
  1030. 0.5
  1031. ]
  1032. },
  1033. "minzoom": 7,
  1034. "maxzoom": 24,
  1035. "mType": "geojsonMvt",
  1036. "geom_column": "geometrys",
  1037. "columns": "*,concat(type,p_name) as p_type,st_asText(geometrys) as geometry"
  1038. },
  1039. {
  1040. "id": "排水分区_text",
  1041. "key": "hb_wh_dhgx_psfq",
  1042. "type": "symbol",
  1043. "minzoom": 1,
  1044. "filter": [
  1045. "all",
  1046. ["in", ["get", "p_type"],["literal", [""]]]
  1047. ],
  1048. "layout": {
  1049. "text-field": "{name}",
  1050. "text-font": ["KlokanTech Noto Sans Regular"],
  1051. "text-letter-spacing": 0.1,
  1052. "text-rotation-alignment": "map",
  1053. "text-size": 13,
  1054. "text-anchor": "top",
  1055. "text-offset": [0,0],
  1056. "text-transform": "uppercase"
  1057. },
  1058. "paint": {
  1059. "text-color": [
  1060. "match",
  1061. ["get", "is_flag"],
  1062. 1,"rgba(60,60,60,1)",
  1063. "#22acfa"
  1064. ],
  1065. "text-halo-color": "rgba(255,255,255,1)",
  1066. "text-halo-width": 2
  1067. },
  1068. "mType": "geojsonMvt",
  1069. "geom_column": "geometrys_center",
  1070. "columns": "*,concat(type,p_name) as p_type,st_asText(geometrys_center) as geometry"
  1071. },
  1072.  
  1073. {
  1074. "id": "港渠",
  1075. "key": "hb_wh_dhgx_gq11",
  1076. "type": "fill",
  1077. "paint": {
  1078. "fill-color": "rgba(31,184,255,1)",
  1079. "fill-opacity": 0.8
  1080. },
  1081. "layout": {
  1082. "visibility": "none"
  1083. },
  1084. "minzoom": 7,
  1085. "maxzoom": 24,
  1086. "mType": "geojsonMvt",
  1087. "columns": "*,st_asText(geometrys) as geometry"
  1088. },
  1089. {
  1090. "id": "港渠_text",
  1091. "key": "hb_wh_dhgx_gq11",
  1092. "type": "symbol",
  1093. "minzoom": 1,
  1094.  
  1095. "layout": {
  1096. "text-field": "{name}",
  1097. "text-font": ["KlokanTech Noto Sans Regular"],
  1098. "text-letter-spacing": 0.1,
  1099. "text-rotation-alignment": "map",
  1100. "text-size": 20,
  1101. "text-anchor": "top",
  1102. "text-offset": [0,0],
  1103. "text-max-width": 10,
  1104. "text-transform": "uppercase",
  1105. "visibility": "none"
  1106. },
  1107. "paint": {
  1108. "text-color": "rgba(230,8,28,1)",
  1109. "text-halo-color": "hsl(0, 0%, 100%)",
  1110. "text-halo-width": 2
  1111. },
  1112. "mType": "geojsonMvt",
  1113. "geom_column": "geometrys_center",
  1114. "columns": "*,st_asText(geometrys_center) as geometry"
  1115. },
  1116. {
  1117. "id": "湖泊_text",
  1118. "key": "hb_wh_gxq_water1",
  1119. "type": "symbol",
  1120. "minzoom": 1,
  1121. "layout": {
  1122. "text-field": "{name}",
  1123. "text-font": ["KlokanTech Noto Sans Regular"],
  1124. "text-letter-spacing": 0.1,
  1125. "text-rotation-alignment": "map",
  1126. "text-size": 20,
  1127. "text-anchor": "top",
  1128. "text-offset": [0,0],
  1129. "text-transform": "uppercase"
  1130. },
  1131. "paint": {
  1132. "text-color": "#22acfa",
  1133. "text-halo-color": "rgba(255,255,255,1)",
  1134. "text-halo-width": 2
  1135. },
  1136. "mType": "geojsonMvt",
  1137. "geom_column": "geometrys_center",
  1138. "columns": "*,st_asText(geometrys_center) as geometry"
  1139. },
  1140. {
  1141. "id": "point",
  1142. "key": "point",
  1143. "type": "symbol",
  1144. "minzoom": 0,
  1145. "maxzoom": 24,
  1146. "filter": [
  1147. "in",
  1148. "type",
  1149. "",
  1150. "1_泵站",
  1151. "1_污水处理厂",
  1152. "1_调蓄池",
  1153. "rainwater_pipeline_water_level_GWGSWYX",
  1154. "问题管线",
  1155. "outlet_info1",
  1156. "outlet_info2",
  1157. "sewage_pump_station_info1",
  1158. "rain_water_pump_station_info1",
  1159. "waterlog_community",
  1160. "waterlog_community_text",
  1161. "rainwater_pipeline_quality1",
  1162. "rainwater_pipeline_quality_area1",
  1163. "sewage_pipeline_quality1",
  1164. "storage_tank_info1",
  1165. "clickPoint",
  1166. "temporary"
  1167. ],
  1168. "paint": {
  1169. "text-color": [
  1170. "match",
  1171. [
  1172. "get",
  1173. "type"
  1174. ],
  1175. "waterlog_community_text","#FFFFFF",
  1176. "#FFFFFF"
  1177. ],
  1178. "text-halo-blur": 1.5,
  1179. "text-halo-color": [
  1180. "match",
  1181. [
  1182. "get",
  1183. "type"
  1184. ],
  1185. "waterlog_community_text","rgba(255,0,0,1)",
  1186. "rgba(255,0,0,1)"
  1187. ],
  1188. "text-halo-width": 1.5,
  1189. "text-opacity": ["step", ["zoom"], 0, 11, 1]
  1190. },
  1191. "layout": {
  1192. "icon-image": [
  1193. "match",
  1194. ["get", "_image"],
  1195. "rain","雨量站扎点@2x",
  1196. "waterlog_point","排渍调度",
  1197. "port_channel_info","港渠扎点@2x",
  1198. "rainwater_pipeline_water_level","雨水管网液位扎点@2x",
  1199. "rainwater_pipeline_water_level_GWGSWYX","heigh",
  1200. "water_region_info","分区信息扎点@2x",
  1201. "waterlogging","渍水监测点扎点@2x",
  1202. "waterlogging_point_info","渍水点扎点@2x",
  1203. "sewage_pump_station_info","污水泵站扎点@2x",
  1204. "sewage_pump_station_info_city","污水泵站扎点@2x",
  1205. "sewage_pump_station_info_stop","stop",
  1206. "sewage_pump_station_info_city_stop","stop",
  1207. "sewage_pump_station_info1","污水泵站扎点@2x",
  1208. "sewage_factory_info","污水处理厂扎点@2x",
  1209. "channel_water_level","港渠水位扎点@2x",
  1210. "outlet_quality","排口水质扎点@2x",
  1211. "outlet_quality_city","排口水质扎点@2x",
  1212. "channel_quality","港渠水质扎点@2x",
  1213. "outlet_info","排口扎点@2x",
  1214. "outlet_info1","排口扎点@2x",
  1215. "outlet_info2","排口扎点@2x",
  1216. "lake_info","湖泊扎点@2x",
  1217. "diversion_well_info","分流井扎点@2x",
  1218. "lake_water_level","湖泊水位扎点@2x",
  1219. "water_gate_info","水闸扎点@2x",
  1220. "storage_tank_info","调蓄池扎点@2x",
  1221. "storage_tank_info1","调蓄池扎点@2x",
  1222. "1_调蓄池","调蓄池扎点@2x",
  1223. "outlet_water_level","排口水质扎点@2x",
  1224. "outlet_water_level_city","排口水质扎点@2x",
  1225. "region_info","分区信息扎点@2x",
  1226. "rain_water_pump_station_info","雨水泵站扎点@2x",
  1227. "rain_water_pump_station_info1","雨水泵站扎点@2x",
  1228. "sewage_pipeline_quality","污水管网水质扎点@2x",
  1229. "sewage_pipeline_quality_city","污水监测",
  1230. "sewage_pipeline_quality1","污水监测",
  1231. "drainage_info","排水户扎点@2x",
  1232. "rainwater_pipeline_quality","雨水管网水质扎点@2x",
  1233. "rainwater_pipeline_quality1","雨水管网水质扎点@2x",
  1234. "rainwater_pipeline_quality_city","雨水管网水质扎点@2x",
  1235. "rainwater_pipeline_quality_area","接驳口扎点@2x",
  1236. "rainwater_pipeline_quality_area1","接驳口扎点@2x",
  1237. "reservoir_info","水库扎点@2x",
  1238. "reservoir_water_level","水库范围i扎点@2x",
  1239. "sewage_factory_station_info","污水处理站",
  1240. "1_泵站", "污水泵站扎点@2x",
  1241. "1_污水处理厂", "污水厂",
  1242. "问题管线", "帮助",
  1243. "storehouse", "物资仓库@2x",
  1244. "dikeGood", "堤防备料@2x",
  1245. "泵车离线", "泵车离线",
  1246. "泵车在线", "泵车在线",
  1247. "waterlog_community", "渍水点扎点@2x",
  1248. "clickPoint", "selectedLocation",
  1249. "temporary", "selectedLocation",
  1250.  
  1251. "gangqu_video", "港渠视频",
  1252. "water_logging_video", "渍水点视频",
  1253. "pump_video", "泵站视频",
  1254.  
  1255. "QTCL","晴",
  1256. "WSHR","混",
  1257. "DXSZR","地",
  1258.  
  1259. "GJMY","溢",
  1260. "GWMG","满",
  1261. "GWGSWYX","高",
  1262. "GJMYFX","溢",
  1263.  
  1264. "YSHR","混",
  1265. "YDFX","堵",
  1266. "SZYC","异",
  1267.  
  1268. "tran"
  1269. ],
  1270. "icon-allow-overlap": true,
  1271. "icon-anchor": "center",
  1272. "icon-size": [
  1273. "match",
  1274. ["get", "_image"],
  1275. "泵车离线",0.5,
  1276. "泵车在线",0.5,
  1277. "1_污水处理厂",0.7,
  1278. "sewage_pipeline_quality1",0.7,
  1279. "sewage_pipeline_quality_city",0.7,
  1280. "GJMY",0.7,
  1281. "GWMG",0.7,
  1282. "GWGSWYX",0.7,
  1283. "GJMYFX",0.7,
  1284. "YSHR",0.7,
  1285. "YDFX",0.7,
  1286. "SZYC",0.7,
  1287. "gangqu_video",0.7,
  1288. "water_logging_video",0.7,
  1289. "pump_video",0.7,
  1290. 1
  1291. ],
  1292. "text-field": "{name}",
  1293. "text-font": [
  1294. "KlokanTech Noto Sans Regular"
  1295. ],
  1296. "text-allow-overlap": false,
  1297. "text-size": 13,
  1298. "text-justify": "left",
  1299. "text-anchor": "bottom",
  1300. "text-line-height": 1.3,
  1301. "text-max-width": 10,
  1302. "text-offset": [
  1303. "match",
  1304. ["get","name"],
  1305. "绣球山污水泵站",[0,3],
  1306. "湖滨泵站",[0,3],
  1307. "关东泵站",[0,3],
  1308. [3.5,-1.0]
  1309. ]
  1310. },
  1311. "mType": "geojson"
  1312. },
  1313. {
  1314. "id": "polygon",
  1315. "key": "polygon",
  1316. "filter": [
  1317. "in",
  1318. "type",
  1319. "",
  1320. "waterlog_community",
  1321. "temporary"
  1322. ],
  1323. "type": "fill",
  1324. "paint": {
  1325. "fill-opacity": 0.5,
  1326. "fill-color": [
  1327. "get",
  1328. "color"
  1329. ]
  1330. },
  1331. "layout": {},
  1332. "minzoom": 0,
  1333. "maxzoom": 24,
  1334. "mType": "geojson"
  1335. },
  1336. {
  1337. "id": "linestring",
  1338. "key": "linestring",
  1339. "type": "line",
  1340. "filter": [
  1341. "in",
  1342. "type",
  1343. "",
  1344. "分区流向",
  1345. "排口流向",
  1346. "waterlog_community",
  1347. "污水系统流向1",
  1348. "temporary"
  1349. ],
  1350. "paint": {
  1351. "line-color": [
  1352. "get",
  1353. "color"
  1354. ],
  1355. "line-width": [
  1356. "coalesce",
  1357. ["get","width"],
  1358. 4
  1359. ],
  1360. "line-dasharray": [
  1361. "match",
  1362. ["get", "lineType"],
  1363. 2, [2, 2],
  1364. [1]
  1365. ]
  1366. },
  1367. "layout": {},
  1368. "minzoom": 0,
  1369. "maxzoom": 24,
  1370. "mType": "geojson"
  1371. },
  1372. {
  1373. "id": "pipeline_info",
  1374. "key": "pip_pipeline_info",
  1375. "type": "line",
  1376. "filter": [
  1377. "all",
  1378. ["in", ["get", "管段类型"],["literal", [""]]]
  1379. ],
  1380. "paint": {
  1381. "line-color": [
  1382. "match",
  1383. ["concat", ["get", "管段类型"], ["get", "管线状态"]],
  1384. "YS0", "rgba(57, 255, 220, 1)",
  1385. "WS0", "rgba(255, 52, 72, 1)",
  1386. "HS0", "#ccff12",
  1387. "YS1", "rgba(197, 255, 57, 1)",
  1388. "WS1", "rgba(222, 0, 242, 1)",
  1389. "HS1", "#ccff12",
  1390. "#000000"
  1391. ],
  1392. "line-dasharray": [
  1393. "match",
  1394. ["get", "管线状态"],
  1395. 1, [2, 2],
  1396. [1]
  1397. ],
  1398. "line-width": 4
  1399. },
  1400. "layout": {},
  1401. "minzoom": 7,
  1402. "maxzoom": 24,
  1403. "isNotCache": true,
  1404. "mType": "geojsonMvt",
  1405. "columns": "pipeline_code AS 管段编码, pipeline_texture AS 管线材质, pipeline_diameter AS 管径, pipeline_type AS 管段类型, flow_direction AS 流向, drainage_system AS 流域, ys as 雨水系统, ws as 污水系统,st_asText(geometrys) as geometry"
  1406. },
  1407. {
  1408. "id": "pipeline_point",
  1409. "key": "pip_pipeline_point",
  1410. "type": "symbol",
  1411. "filter": [
  1412. "all",
  1413. ["in", ["get", "类型"],["literal", [""]]]
  1414. ],
  1415. "paint": {"text-color": "#333"},
  1416. "layout": {
  1417. "icon-ignore-placement":true,
  1418. "icon-image": [
  1419. "match",
  1420. ["concat", ["get", "类型"], ["get", "附属物"]],
  1421. "YS出水口","ys_排水口",
  1422. "YS检修井","ysj",
  1423. "YS污水井","wsj",
  1424. "YS污水箅","雨水箅",
  1425. "YS污水篦","污水箅",
  1426. "YS进水口","ys_排水口",
  1427. "YS雨水井","ysj",
  1428. "YS雨水箅","雨水箅",
  1429. "YS雨水篦","雨水箅",
  1430. "YS接驳口","雨水接驳",
  1431.  
  1432. "wS出水口","ws_排水口",
  1433. "wS检修井","wsj",
  1434. "wS污水井","wsj",
  1435. "wS污水箅","污水箅",
  1436. "wS污水篦","污水箅",
  1437. "wS进水口","ws_排水口",
  1438. "wS雨水井","wsj",
  1439. "wS雨水箅","污水箅",
  1440. "wS雨水篦","污水箅",
  1441. "wS接驳口","污水接驳",
  1442. "预留口"
  1443. ],
  1444. "icon-size": 1,
  1445. "text-font": [
  1446. "KlokanTech Noto Sans Regular"
  1447. ],
  1448. "text-size": 13,
  1449. "text-line-height": 3,
  1450. "text-anchor": "top"
  1451. },
  1452. "minzoom": 17,
  1453. "maxzoom": 24,
  1454. "isNotCache": true,
  1455. "mType": "geojsonMvt",
  1456. "columns": "point_number AS 外业点号,appendage AS 附属物, point_type AS 类型, area_water_name as 流域, ys as 雨水系统, ws as 污水系统,st_asText(geometrys) as geometry"
  1457. },
  1458. {
  1459. "id": "pipeline_info_text",
  1460. "key": "pip_pipeline_info",
  1461. "type": "symbol",
  1462. "minzoom": 17,
  1463. "maxzoom": 24,
  1464. "filter": [
  1465. "all",
  1466. ["in", ["get", "管段类型"],["literal", [""]]]
  1467. ],
  1468. "minzoom": 1,
  1469. "layout": {
  1470. "icon-ignore-placement":false,
  1471. "symbol-placement": "line-center",
  1472. "symbol-spacing": 40,
  1473. "icon-image": [
  1474. "match",
  1475. ["get", "管段类型"],
  1476. "YS","hong",
  1477. "WS","lan",
  1478. "qqq"
  1479. ],
  1480. "icon-rotate": [
  1481. "match",
  1482. ["get", "流向"],
  1483. "0",180,
  1484. "1",0,
  1485. 0
  1486. ],
  1487. "text-field": "{管线材质} {管径}",
  1488. "icon-size": 0.6,
  1489. "text-font": ["KlokanTech Noto Sans Regular"],
  1490. "text-letter-spacing": 0.1,
  1491. "text-rotation-alignment": "map",
  1492. "text-size": 16,
  1493. "text-anchor": "top",
  1494. "text-offset": [1,1],
  1495. "text-transform": "uppercase",
  1496. "visibility": "visible"
  1497. },
  1498. "paint": {
  1499. "text-color": [
  1500. "match",
  1501. ["get","管段类型"],
  1502. "YS","rgba(93,126,161,1)",
  1503. "WS","rgba(230,8,28,1)",
  1504. "#000"
  1505. ],
  1506. "text-halo-color": "hsl(0, 0%, 100%)",
  1507. "text-halo-width": 2
  1508. },
  1509. "isNotCache": true,
  1510. "mType": "geojsonMvt",
  1511. "columns": "pipeline_code AS 管段编码, pipeline_texture AS 管线材质, pipeline_diameter AS 管径, pipeline_type AS 管段类型, flow_direction AS 流向, drainage_system AS 流域, ys as 雨水系统, ws as 污水系统,st_asText(geometrys) as geometry"
  1512. },
  1513. {
  1514. "id": "建筑物",
  1515. "key": "hb_wh_dhgx_buildings",
  1516. "type": "fill-extrusion",
  1517. "minzoom": 10,
  1518. "layout": {
  1519. "visibility": "none"
  1520. },
  1521. "paint": {
  1522. "fill-extrusion-pattern": "material5",
  1523. "fill-extrusion-height": [
  1524. "+",
  1525. [
  1526. "get",
  1527. "height"
  1528. ],
  1529. 10
  1530. ],
  1531. "fill-extrusion-base": 0,
  1532. "fill-extrusion-color": "rgba(23,170,244, 1)",
  1533. "fill-extrusion-opacity": 1
  1534. },
  1535. "mType": "geojsonMvt",
  1536. "columns": "height"
  1537. },
  1538. {
  1539. "id": "建筑物_top",
  1540. "key": "hb_wh_dhgx_buildings",
  1541. "type": "fill-extrusion",
  1542. "minzoom": 10,
  1543. "layout": {
  1544. "visibility": "none"
  1545. },
  1546. "paint": {
  1547. "fill-extrusion-color": "rgba(213,213,213,1)",
  1548. "fill-extrusion-height": [
  1549. "+",
  1550. [
  1551. "get",
  1552. "height"
  1553. ],
  1554. 10.1
  1555. ],
  1556. "fill-extrusion-base": [
  1557. "+",
  1558. [
  1559. "get",
  1560. "height"
  1561. ],
  1562. 10
  1563. ],
  1564. "fill-extrusion-opacity": 1
  1565. },
  1566. "mType": "geojsonMvt",
  1567. "columns": "height"
  1568. },
  1569. {
  1570. "id": "trees",
  1571. "key": "hb_wh_dhgx_models",
  1572. "type": "model",
  1573. "minzoom": 10,
  1574. "layout": {
  1575. "model-id": ["get","model_id"],
  1576. "visibility": "none"
  1577. },
  1578. "paint": {
  1579. "model-cutoff-fade-range":0.5,
  1580. "model-color": ["get","color"],
  1581. "model-color-mix-intensity": ["get","mix_intensity"],
  1582. "model-opacity": ["get","opacity"],
  1583. "model-rotation": ["get","rotation"],
  1584. "model-scale": ["get","scale"]
  1585. },
  1586. "mType": "geojsonMvt",
  1587. "columns": "id,st_asText ( geometrys ) AS geometry,color,mix_intensity :: FLOAT as mix_intensity,fade_range :: FLOAT as fade_range,opacity :: FLOAT as opacity,string_to_array( rotation, ',' ) :: FLOAT [] as rotation,string_to_array( SCALE, ',' ) :: FLOAT [] as scale,model_id "
  1588. }
  1589. ],
  1590. "orders": [
  1591. ["all_boundary"],
  1592. ["hb_wh_dhgx_merge_border"],
  1593. ["hb_wh_dhgx_merge_text"],
  1594. ["poi_label"],
  1595. ["place_label_city"],
  1596. ["road_major_label"],
  1597. ["place_label_other"],
  1598. ["排水分区_text"],
  1599. ["point"]
  1600. ],
  1601. "filter": {
  1602. "污水分区1": {
  1603. "layerName": ["hb_wh_dhgx_merge", "hb_wh_dhgx_merge_border", "hb_wh_dhgx_merge_text"],
  1604. "filter": [
  1605. ["排水分区_污水分区_1", "排水分区_污水分区_2", "排水分区_污水分区_3", "排水分区_污水分区_4"],
  1606. ["排水分区_污水分区_1", "排水分区_污水分区_2", "排水分区_污水分区_3", "排水分区_污水分区_4"],
  1607. ["排水分区_污水分区_1", "排水分区_污水分区_2", "排水分区_污水分区_3", "排水分区_污水分区_4"]
  1608. ]
  1609. },
  1610. "雨水分区1": {
  1611. "layerName": ["hb_wh_dhgx_merge", "hb_wh_dhgx_merge_border", "hb_wh_dhgx_merge_text"],
  1612. "filter": [
  1613. ["排水分区_雨水分区_1", "排水分区_雨水分区_2", "排水分区_雨水分区_3", "排水分区_雨水分区_4"],
  1614. ["排水分区_雨水分区_1", "排水分区_雨水分区_2", "排水分区_雨水分区_3", "排水分区_雨水分区_4"],
  1615. ["排水分区_雨水分区_1", "排水分区_雨水分区_2", "排水分区_雨水分区_3", "排水分区_雨水分区_4"]
  1616. ]
  1617. },
  1618.  
  1619. "污水分区": {
  1620. "layerName": ["排水分区", "排水分区_text"],
  1621. "filter": [["WS1"], ["WS1"]]
  1622. },
  1623. "雨水分区": {
  1624. "layerName": ["排水分区", "排水分区_text"],
  1625. "filter": [["YS1"], ["YS1"]]
  1626. },
  1627. "排水分区_close": {
  1628. "layerName": ["排水分区", "排水分区_text"],
  1629. "filter": [
  1630. [
  1631. "WS龙王咀污水系统",
  1632. "WS荣军2#片",
  1633. "WS龙王咀片",
  1634. "WS荣军4#片",
  1635. "WS荣军1#片",
  1636. "WS虹景1#片",
  1637. "WS荣军3#片",
  1638. "WS鲁巷片",
  1639. "WS关南片",
  1640. "WS",
  1641. "YS1",
  1642. "YS",
  1643. "WS民院1#片",
  1644. "YS豹澥湖汇水区",
  1645. "WS绣球山片",
  1646. "WS关南2#片",
  1647. "YS茶山刘闸3#片",
  1648. "YS茶山刘",
  1649. "YS龙王咀",
  1650. "YS民院闸10#片",
  1651. "YS民院闸11#片",
  1652. "YS民院闸6#片",
  1653. "YS龙王咀2#片",
  1654. "YS民院闸5#片",
  1655. "YS民院闸7#片",
  1656. "YS尾水箱涵片",
  1657. "WS关东片",
  1658. "YS民院闸8#片",
  1659. "YS水蓝郡片",
  1660. "YS民院闸1#片",
  1661. "YS民院闸4#片",
  1662. "YS民院闸3#片",
  1663. "YS南湖汇水区",
  1664. "YS民院闸片",
  1665. "YS龙王咀1#片",
  1666. "YS茶山刘闸2#片",
  1667. "YS民院闸2#片",
  1668. "WS民院片",
  1669. "WS关南1#片",
  1670. "WS关南3#片",
  1671. "WS虹景2#片",
  1672. "WS关南4#片",
  1673. "YS民院闸9#片",
  1674. "YS水蓝郡",
  1675. "YS尾水箱涵",
  1676. "YS南湖大道",
  1677. "YS锦绣良缘",
  1678. "YS财经政法片",
  1679. "WS华科片",
  1680. "WS民院2#片",
  1681. "YS茶山刘闸4#片",
  1682. "YS南湖大道片",
  1683. "YS锦绣良缘片",
  1684. "WS1",
  1685. "YS茶山刘闸1#片",
  1686. "WS荣军片",
  1687. "WS虹景片",
  1688. "YS财经政法"
  1689. ],
  1690. [
  1691. "WS龙王咀污水系统",
  1692. "WS荣军2#片",
  1693. "WS龙王咀片",
  1694. "WS荣军4#片",
  1695. "WS荣军1#片",
  1696. "WS虹景1#片",
  1697. "WS荣军3#片",
  1698. "WS鲁巷片",
  1699. "WS关南片",
  1700. "WS",
  1701. "YS1",
  1702. "YS",
  1703. "WS民院1#片",
  1704. "YS豹澥湖汇水区",
  1705. "WS绣球山片",
  1706. "WS关南2#片",
  1707. "YS茶山刘闸3#片",
  1708. "YS茶山刘",
  1709. "YS龙王咀",
  1710. "YS民院闸10#片",
  1711. "YS民院闸11#片",
  1712. "YS民院闸6#片",
  1713. "YS龙王咀2#片",
  1714. "YS民院闸5#片",
  1715. "YS民院闸7#片",
  1716. "YS尾水箱涵片",
  1717. "WS关东片",
  1718. "YS民院闸8#片",
  1719. "YS水蓝郡片",
  1720. "YS民院闸1#片",
  1721. "YS民院闸4#片",
  1722. "YS民院闸3#片",
  1723. "YS南湖汇水区",
  1724. "YS民院闸片",
  1725. "YS龙王咀1#片",
  1726. "YS茶山刘闸2#片",
  1727. "YS民院闸2#片",
  1728. "WS民院片",
  1729. "WS关南1#片",
  1730. "WS关南3#片",
  1731. "WS虹景2#片",
  1732. "WS关南4#片",
  1733. "YS民院闸9#片",
  1734. "YS水蓝郡",
  1735. "YS尾水箱涵",
  1736. "YS南湖大道",
  1737. "YS锦绣良缘",
  1738. "YS财经政法片",
  1739. "WS华科片",
  1740. "WS民院2#片",
  1741. "YS茶山刘闸4#片",
  1742. "YS南湖大道片",
  1743. "YS锦绣良缘片",
  1744. "WS1",
  1745. "YS茶山刘闸1#片",
  1746. "WS荣军片",
  1747. "WS虹景片",
  1748. "YS财经政法"
  1749. ]
  1750. ]
  1751. },
  1752. "渍水风险点": {
  1753. "layerName": ["渍水风险点_symbol", "渍水风险点_line", "渍水风险点_fill"],
  1754. "filter": [[], [], []]
  1755. },
  1756. "尾水路径": {
  1757. "layerName": ["hb_wh_dhgx_merge_text", "hb_wh_dhgx_merge_border", "hb_wh_dhgx_merge_line_text"],
  1758. "filter": [
  1759. ["尾水路径_污水处理厂", "尾水路径_泵站", "尾水路径_标注", "尾水路径_净水厂"],
  1760. ["尾水路径_路线", "尾水路径_路线1", "尾水路径_河道"],
  1761. ["尾水路径_路线", "尾水路径_路线1", "尾水路径_河道"]
  1762. ]
  1763. },
  1764. "雨水管网": { "layerName": ["pipeline_info", "pipeline_point", "pipeline_info_text"], "filter": [["YS"], ["YS"], ["YS"]] },
  1765. "污水管网": {
  1766. "layerName": ["pipeline_info", "pipeline_point", "pipeline_info_text"],
  1767. "filter": [
  1768. ["WS", "HS"],
  1769. ["WS", "HS"],
  1770. ["WS", "HS"]
  1771. ]
  1772. },
  1773. "污水系统流向1": {
  1774. "layerName": ["linestring"],
  1775. "filter": [["污水系统流向1"]]
  1776. },
  1777. "污水管网1": {
  1778. "layerName": ["pipeline_info1", "pipeline_point1"],
  1779. "filter": [["污水"], ["污水"], ["污水"]]
  1780. },
  1781. "雨水管网1": {
  1782. "layerName": ["pipeline_info1", "pipeline_point1"],
  1783. "filter": [["雨水"], ["雨水"], ["雨水"]]
  1784. },
  1785. "outlet_water_level": {
  1786. "layerName": ["point"],
  1787. "filter": [["outlet_water_level", "outlet_water_level_city"]]
  1788. },
  1789.  
  1790. "outlet_quality": {
  1791. "layerName": ["point"],
  1792. "filter": [["outlet_quality", "outlet_quality_city"]]
  1793. },
  1794. "sewage_pump_station_info": {
  1795. "layerName": ["point"],
  1796. "filter": [
  1797. [
  1798. "sewage_pump_station_info",
  1799. "sewage_pump_station_info_city",
  1800. "sewage_pump_station_info_stop",
  1801. "sewage_pump_station_info_city_stop"
  1802. ]
  1803. ]
  1804. },
  1805.  
  1806. "花山镇": { "layerName": ["村", "村_text"], "filter": [["花山镇"], ["花山镇"]] },
  1807. "滨湖街": { "layerName": ["村", "村_text"], "filter": [["滨湖街"], ["滨湖街"]] },
  1808. "牛山湖养殖场": { "layerName": ["村", "村_text"], "filter": [["牛山湖养殖场"], ["牛山湖养殖场"]] },
  1809. "流芳街": { "layerName": ["村", "村_text"], "filter": [["流芳街"], ["流芳街"]] },
  1810. "九峰乡": { "layerName": ["村", "村_text"], "filter": [["九峰乡"], ["九峰乡"]] },
  1811. "关东街": { "layerName": ["村", "村_text"], "filter": [["关东街"], ["关东街"]] },
  1812. "佛祖岭街": { "layerName": ["村", "村_text"], "filter": [["佛祖岭街"], ["佛祖岭街"]] },
  1813. "豹澥镇": { "layerName": ["村", "村_text"], "filter": [["豹澥镇"], ["豹澥镇"]] },
  1814. "左岭镇": { "layerName": ["村", "村_text"], "filter": [["左岭镇"], ["左岭镇"]] },
  1815. "豹澥湖": { "layerName": ["村", "村_text"], "filter": [["豹澥湖"], ["豹澥湖"]] },
  1816.  
  1817. "东湖": { "layerName": ["港渠", "港渠_text"], "filter": [[], []] },
  1818. "梁子湖": { "layerName": ["港渠", "港渠_text"], "filter": [[], []] },
  1819. "严西湖": { "layerName": ["港渠", "港渠_text"], "filter": [[], []] },
  1820. "严家湖": { "layerName": ["港渠", "港渠_text"], "filter": [[], []] },
  1821. "牛山湖": { "layerName": ["港渠", "港渠_text"], "filter": [[], []] },
  1822. "豹澥湖": { "layerName": ["港渠", "港渠_text"], "filter": [[], []] },
  1823. "南湖": { "layerName": ["港渠", "港渠_text"], "filter": [[], []] },
  1824. "车墩湖": { "layerName": ["港渠", "港渠_text"], "filter": [[], []] },
  1825. "汤逊湖": { "layerName": ["港渠", "港渠_text"], "filter": [[], []] },
  1826. "严东湖": { "layerName": ["港渠", "港渠_text"], "filter": [[], []] },
  1827. "五加湖": { "layerName": ["港渠", "港渠_text"], "filter": [[], []] }
  1828. }
  1829. }