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