diff --git a/src/assets/geojson/kaifengPSFQ1.json b/src/assets/geojson/kaifengPSFQ1.json new file mode 100644 index 0000000..098b9e9 --- /dev/null +++ b/src/assets/geojson/kaifengPSFQ1.json @@ -0,0 +1,1727 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.20348354002192, + 34.836305000846721 + ], + [ + 114.20395943222309, + 34.769680092683473 + ], + [ + 114.21609468335294, + 34.772773391991052 + ], + [ + 114.21680852165468, + 34.761114033062427 + ], + [ + 114.22204333586751, + 34.7608760869619 + ], + [ + 114.22228128196798, + 34.748264943631 + ], + [ + 114.23632010190249, + 34.747313159228611 + ], + [ + 114.23774777850588, + 34.726135956276835 + ], + [ + 114.24107902391415, + 34.725184171874446 + ], + [ + 114.26874025810696, + 34.725332888187324 + ], + [ + 114.2684428254812, + 34.756860746514576 + ], + [ + 114.28019141419747, + 34.756712030201697 + ], + [ + 114.28034013051035, + 34.748086484055534 + ], + [ + 114.28866824403076, + 34.747789051429834 + ], + [ + 114.2877759461536, + 34.739907086848007 + ], + [ + 114.30056554905991, + 34.739460937909428 + ], + [ + 114.30205271218858, + 34.745260874111125 + ], + [ + 114.29372459866795, + 34.764891427409225 + ], + [ + 114.29655020861242, + 34.822147207862031 + ], + [ + 114.29208871922663, + 34.831516335572474 + ], + [ + 114.29238615185238, + 34.845346952668876 + ], + [ + 114.28851952771788, + 34.846090534233213 + ], + [ + 114.28703236458909, + 34.841331612221552 + ], + [ + 114.28301702414194, + 34.841777761160131 + ], + [ + 114.27171458436408, + 34.841034179595795 + ], + [ + 114.25728910201622, + 34.840588030657216 + ], + [ + 114.25684295307781, + 34.84222391009871 + ], + [ + 114.25000200268585, + 34.841629044847252 + ], + [ + 114.24435078279703, + 34.841480328534374 + ], + [ + 114.24417232322173, + 34.839874192355467 + ], + [ + 114.20348354002192, + 34.836305000846721 + ] + ] + ] + }, + "properties": { + "FID": 0, + "name": "城乡一体化海绵建设示范区", + "code": "CX", + "area": "76.74", + "designrain": "21.3", + "totallflow": "70%", + "fillcolor": "rgba(213, 141, 255, 0.6)", + "outcolor": "rgba(175, 39, 255, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + 114.29745989792139, + 34.711462719857309 + ], + [ + 114.30269471213421, + 34.711938612058361 + ], + [ + 114.30388444263713, + 34.714793965265414 + ], + [ + 114.28699026949562, + 34.714556019164888 + ], + [ + 114.28699026949562, + 34.705038175141567 + ], + [ + 114.29603222131789, + 34.705038175141567 + ], + [ + 114.29484249081486, + 34.709321204952175 + ], + [ + 114.29745989792139, + 34.708845312750839 + ], + [ + 114.29745989792139, + 34.711462719857309 + ] + ] + ], + [ + [ + [ + 114.42782507230424, + 34.74187609083026 + ], + [ + 114.42539802207818, + 34.744160373395857 + ], + [ + 114.42154329524874, + 34.747158494263147 + ], + [ + 114.4165464271365, + 34.749014473847751 + ], + [ + 114.40740929687433, + 34.754011341960108 + ], + [ + 114.40412564068617, + 34.756438392185999 + ], + [ + 114.40569608495002, + 34.758008836449847 + ], + [ + 114.40583885261026, + 34.759864816034451 + ], + [ + 114.40455394366711, + 34.761578027958592 + ], + [ + 114.40269796408256, + 34.762434633920748 + ], + [ + 114.40212689344128, + 34.763576775203489 + ], + [ + 114.40141305513941, + 34.765432754788037 + ], + [ + 114.39884323725312, + 34.767431502032935 + ], + [ + 114.3989860049137, + 34.769144713957076 + ], + [ + 114.40055644917743, + 34.772999440786521 + ], + [ + 114.40069921683767, + 34.775283723352118 + ], + [ + 114.40098475215837, + 34.776568632295266 + ], + [ + 114.40012814619627, + 34.779852288483312 + ], + [ + 114.39922395101405, + 34.78389737219328 + ], + [ + 114.39732038220939, + 34.786990671500803 + ], + [ + 114.39613065170647, + 34.78889424030541 + ], + [ + 114.39565475950531, + 34.791511647411937 + ], + [ + 114.39565475950531, + 34.794842892819986 + ], + [ + 114.395892705606, + 34.797698246027039 + ], + [ + 114.39755832831008, + 34.801743329737008 + ], + [ + 114.398748058813, + 34.805550467346222 + ], + [ + 114.40136546591953, + 34.808881712754498 + ], + [ + 114.40065162761766, + 34.813878580866628 + ], + [ + 114.39969984321522, + 34.816258041872459 + ], + [ + 114.39803422051114, + 34.817923664576597 + ], + [ + 114.39494092120356, + 34.819589287280735 + ], + [ + 114.39922395101405, + 34.828393293002307 + ], + [ + 114.39041994529259, + 34.832914268913271 + ], + [ + 114.38566102328093, + 34.837435244824462 + ], + [ + 114.38114004736997, + 34.837911137025628 + ], + [ + 114.38090210126927, + 34.84409773564073 + ], + [ + 114.29238615185238, + 34.845346952668876 + ], + [ + 114.29208871922663, + 34.831516335572474 + ], + [ + 114.29655020861242, + 34.822147207862031 + ], + [ + 114.29372459866795, + 34.764891427409225 + ], + [ + 114.30205271218858, + 34.745260874111125 + ], + [ + 114.30056554905991, + 34.739460937909428 + ], + [ + 114.304473813762, + 34.738449666981978 + ], + [ + 114.31047005549658, + 34.73716475803883 + ], + [ + 114.31532415594847, + 34.736022616755918 + ], + [ + 114.31047005549658, + 34.724886739248689 + ], + [ + 114.31403924700533, + 34.723030759664084 + ], + [ + 114.31532415594847, + 34.724743971588282 + ], + [ + 114.31703736787267, + 34.728313163097027 + ], + [ + 114.3181795091557, + 34.732167889926473 + ], + [ + 114.32089209470212, + 34.738306899321515 + ], + [ + 114.3357399313785, + 34.736593687397374 + ], + [ + 114.33602546669943, + 34.734166637171313 + ], + [ + 114.37128907880572, + 34.73202512226618 + ], + [ + 114.38128281503009, + 34.731025748643788 + ], + [ + 114.38485200653884, + 34.730026375021339 + ], + [ + 114.38385263291639, + 34.714893003024201 + ], + [ + 114.38585138016128, + 34.710324437893007 + ], + [ + 114.38956333933061, + 34.705898640422106 + ], + [ + 114.42411311313504, + 34.705470337441113 + ], + [ + 114.42397034547491, + 34.706898014044555 + ], + [ + 114.42582632505935, + 34.707326317025718 + ], + [ + 114.4268256986818, + 34.705898640422106 + ], + [ + 114.4271112340025, + 34.707040781704961 + ], + [ + 114.42925274890763, + 34.70775462000671 + ], + [ + 114.42968105188879, + 34.708753993629102 + ], + [ + 114.43082319317148, + 34.709039528949859 + ], + [ + 114.43096596083183, + 34.706612478723969 + ], + [ + 114.43253640509568, + 34.706326943403269 + ], + [ + 114.43424961701999, + 34.707897387666947 + ], + [ + 114.43410684935952, + 34.711038276194699 + ], + [ + 114.43496345532174, + 34.711752114496448 + ], + [ + 114.43767604086827, + 34.712894255779304 + ], + [ + 114.43796157618897, + 34.715606841325894 + ], + [ + 114.43781880852873, + 34.718462194532947 + ], + [ + 114.43781880852873, + 34.721460315400236 + ], + [ + 114.43867541449072, + 34.725315042229681 + ], + [ + 114.43353577871812, + 34.729883607360875 + ], + [ + 114.43367854637859, + 34.731596819285187 + ], + [ + 114.43196533445439, + 34.735451546114518 + ], + [ + 114.43010935486984, + 34.738021364000815 + ], + [ + 114.42782507230424, + 34.74187609083026 + ] + ] + ], + [ + [ + [ + 114.30340855043607, + 34.858751356118148 + ], + [ + 114.28699026949562, + 34.859703140520537 + ], + [ + 114.28675232339526, + 34.848995565994301 + ], + [ + 114.30792952634704, + 34.848995565994301 + ], + [ + 114.30888131074926, + 34.853754488005961 + ], + [ + 114.30317060433538, + 34.853516541905265 + ], + [ + 114.30340855043607, + 34.858751356118148 + ] + ] + ] + ] + }, + "properties": { + "FID": 1, + "name": "城区海绵提升示范区", + "code": "CQ", + "area": "98.87", + "designrain": "19.8", + "totallflow": "68%", + "fillcolor": "rgba(250, 255, 114, 0.6)", + "outcolor": "rgba(247, 255, 30, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.33342576855114, + 34.819331555601366 + ], + [ + 114.33356853621137, + 34.818903252620373 + ], + [ + 114.33214085960799, + 34.818189414318624 + ], + [ + 114.33028488002333, + 34.815334061111628 + ], + [ + 114.32957104172169, + 34.811622101942419 + ], + [ + 114.32899997108018, + 34.806482466169768 + ], + [ + 114.32785782979738, + 34.803056042321487 + ], + [ + 114.32614461787318, + 34.801057295076646 + ], + [ + 114.32571631489225, + 34.795774891643532 + ], + [ + 114.32685845617493, + 34.795774891643532 + ], + [ + 114.32514524425073, + 34.786209458400208 + ], + [ + 114.32828613277854, + 34.786066690739915 + ], + [ + 114.33342576855114, + 34.785210084777759 + ], + [ + 114.33728049538058, + 34.784639014136303 + ], + [ + 114.34199182817201, + 34.783639640513911 + ], + [ + 114.34784530224636, + 34.78249749923117 + ], + [ + 114.35726796782944, + 34.781783660929307 + ], + [ + 114.35812457379166, + 34.784353478815603 + ], + [ + 114.3594094827348, + 34.787066064362364 + ], + [ + 114.36097992699865, + 34.789493114588197 + ], + [ + 114.3614082299797, + 34.79263400311595 + ], + [ + 114.3622648359418, + 34.795774891643532 + ], + [ + 114.36269313892285, + 34.798915780171285 + ], + [ + 114.3642635831867, + 34.800057921454197 + ], + [ + 114.36512018914868, + 34.80248497168003 + ], + [ + 114.36469188616763, + 34.806054163188776 + ], + [ + 114.3642635831867, + 34.808481213414836 + ], + [ + 114.36569125979008, + 34.813478081527023 + ], + [ + 114.36711893639358, + 34.817761111337461 + ], + [ + 114.36554849212985, + 34.818474949639153 + ], + [ + 114.35983778571574, + 34.819188787941073 + ], + [ + 114.35355600866046, + 34.819759858582358 + ], + [ + 114.34684592862391, + 34.820045393903058 + ], + [ + 114.34341950477551, + 34.819902626242765 + ], + [ + 114.33985031326677, + 34.819331555601366 + ], + [ + 114.33342576855114, + 34.819331555601366 + ] + ] + ] + }, + "properties": { + "FID": 2, + "name": "古城海绵保护示范区", + "code": "GC", + "area": "12.79", + "designrain": "17.9", + "totallflow": "65%", + "fillcolor": "rgba(15, 216, 164, 0.6)", + "outcolor": "rgba(24, 255, 0, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.40136546591953, + 34.808881712754498 + ], + [ + 114.398748058813, + 34.805550467346222 + ], + [ + 114.39755832831008, + 34.801743329737008 + ], + [ + 114.395892705606, + 34.797698246027039 + ], + [ + 114.39565475950531, + 34.794842892819986 + ], + [ + 114.39565475950531, + 34.791511647411937 + ], + [ + 114.39613065170647, + 34.78889424030541 + ], + [ + 114.39732038220939, + 34.786990671500803 + ], + [ + 114.39922395101405, + 34.78389737219328 + ], + [ + 114.40012814619627, + 34.779852288483312 + ], + [ + 114.40098475215837, + 34.776568632295266 + ], + [ + 114.40069921683767, + 34.775283723352118 + ], + [ + 114.40055644917743, + 34.772999440786521 + ], + [ + 114.3989860049137, + 34.769144713957076 + ], + [ + 114.39884323725312, + 34.767431502032935 + ], + [ + 114.40141305513941, + 34.765432754788037 + ], + [ + 114.40212689344128, + 34.763576775203489 + ], + [ + 114.40269796408256, + 34.762434633920748 + ], + [ + 114.40455394366711, + 34.761578027958592 + ], + [ + 114.40583885261026, + 34.759864816034451 + ], + [ + 114.40569608495002, + 34.758008836449847 + ], + [ + 114.40412564068617, + 34.756438392185999 + ], + [ + 114.40740929687433, + 34.754011341960108 + ], + [ + 114.4165464271365, + 34.749014473847751 + ], + [ + 114.42154329524874, + 34.747158494263147 + ], + [ + 114.42539802207818, + 34.744160373395857 + ], + [ + 114.42782507230424, + 34.74187609083026 + ], + [ + 114.43010935486984, + 34.738021364000815 + ], + [ + 114.43196533445439, + 34.735451546114518 + ], + [ + 114.43367854637859, + 34.731596819285187 + ], + [ + 114.43353577871812, + 34.729883607360875 + ], + [ + 114.43867541449072, + 34.725315042229681 + ], + [ + 114.44342825085062, + 34.720520471565806 + ], + [ + 114.44913895726449, + 34.717094047717524 + ], + [ + 114.45542073432, + 34.713096553227786 + ], + [ + 114.46550964898472, + 34.708527988096421 + ], + [ + 114.47559856364933, + 34.702436567921609 + ], + [ + 114.47902498749784, + 34.700342642236478 + ], + [ + 114.48321283886798, + 34.706434062411347 + ], + [ + 114.48416462327043, + 34.744505438504632 + ], + [ + 114.48416462327043, + 34.764873624714596 + ], + [ + 114.48454533703136, + 34.767538621041183 + ], + [ + 114.48530676455312, + 34.770774688008999 + ], + [ + 114.48568747831405, + 34.778960033869112 + ], + [ + 114.48492605079218, + 34.788477877892433 + ], + [ + 114.48549712143358, + 34.797043937513365 + ], + [ + 114.48778140399918, + 34.798376435676744 + ], + [ + 114.48759104711871, + 34.807323209058609 + ], + [ + 114.48530676455312, + 34.807894279700065 + ], + [ + 114.48530676455312, + 34.811130346667881 + ], + [ + 114.48530676455312, + 34.814747127396799 + ], + [ + 114.48473569391172, + 34.815698911799018 + ], + [ + 114.48321283886798, + 34.816650696201464 + ], + [ + 114.48092855630239, + 34.817792837484319 + ], + [ + 114.47731177557364, + 34.817983194364615 + ], + [ + 114.47597927741026, + 34.817983194364615 + ], + [ + 114.47388535172513, + 34.819315692527994 + ], + [ + 114.47026857099638, + 34.81950604940846 + ], + [ + 114.45123288294974, + 34.812843558592192 + ], + [ + 114.43238755178345, + 34.813033915472658 + ], + [ + 114.42858041417412, + 34.807894279700065 + ], + [ + 114.40136546591953, + 34.808881712754498 + ] + ] + ] + }, + "properties": { + "FID": 3, + "name": "汴东海绵建设示范区", + "code": "BD", + "area": "52.62", + "designrain": "21.3", + "totallflow": "70%", + "fillcolor": "rgba(53, 63, 255, 0.6)", + "outcolor": "rgba(33, 101, 255, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.20652118157352, + 34.696789313801105 + ], + [ + 114.20723501987527, + 34.68536790097312 + ], + [ + 114.20699707377457, + 34.671329081038664 + ], + [ + 114.20675912767399, + 34.663476859719481 + ], + [ + 114.20414172056769, + 34.656814368903156 + ], + [ + 114.20200020566233, + 34.648724201483276 + ], + [ + 114.19938279855603, + 34.639444303560651 + ], + [ + 114.22151178591025, + 34.635637165951209 + ], + [ + 114.22008410930664, + 34.622788076519839 + ], + [ + 114.22960195332996, + 34.620884507715004 + ], + [ + 114.22936400722938, + 34.596851951556232 + ], + [ + 114.28099831105601, + 34.596851951556232 + ], + [ + 114.28290187986056, + 34.675612110849102 + ], + [ + 114.25577602439409, + 34.675136218648106 + ], + [ + 114.21794259440151, + 34.682512547766123 + ], + [ + 114.21770464830081, + 34.696789313801105 + ], + [ + 114.20652118157352, + 34.696789313801105 + ] + ] + ] + }, + "properties": { + "FID": 4, + "name": "产城融合海绵建设示范区", + "code": "CC", + "area": "24.13", + "designrain": "25.3", + "totallflow": "75%", + "fillcolor": "rgba(127, 255, 241, 0.6)", + "outcolor": "rgba(34, 255, 231, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.14668053986202, + 34.747563591878873 + ], + [ + 114.14709031418386, + 34.736129692501208 + ], + [ + 114.1420934460715, + 34.736367638601848 + ], + [ + 114.14116457923512, + 34.719180858836296 + ], + [ + 114.24084107781346, + 34.718521681058121 + ], + [ + 114.24107902391415, + 34.725184171874446 + ], + [ + 114.23774777850588, + 34.726135956276835 + ], + [ + 114.23632010190249, + 34.747313159228611 + ], + [ + 114.22228128196798, + 34.748264943631 + ], + [ + 114.22204333586751, + 34.7608760869619 + ], + [ + 114.21680852165468, + 34.761114033062427 + ], + [ + 114.21609468335294, + 34.772773391991052 + ], + [ + 114.20395943222309, + 34.769680092683473 + ], + [ + 114.20348354002192, + 34.836305000846721 + ], + [ + 114.19627802948764, + 34.835169152718493 + ], + [ + 114.19653705479629, + 34.83401665939283 + ], + [ + 114.19642463274454, + 34.833382272819335 + ], + [ + 114.19623552425173, + 34.832213918895491 + ], + [ + 114.19447309513782, + 34.832362099778152 + ], + [ + 114.19366442896876, + 34.829315412513211 + ], + [ + 114.18974249158805, + 34.829877144855459 + ], + [ + 114.18954734019383, + 34.829253610994101 + ], + [ + 114.19064869337967, + 34.829104588213681 + ], + [ + 114.19004001692838, + 34.827427176778144 + ], + [ + 114.19096119900962, + 34.827391591556648 + ], + [ + 114.19136405475865, + 34.828944457107639 + ], + [ + 114.19301655970878, + 34.828613100019709 + ], + [ + 114.19251519567251, + 34.826681410391927 + ], + [ + 114.19324093941088, + 34.826545151781829 + ], + [ + 114.1924887580517, + 34.823580794482268 + ], + [ + 114.18968507971636, + 34.822251675401901 + ], + [ + 114.18923853945466, + 34.820318909062564 + ], + [ + 114.18830492037409, + 34.820053067617494 + ], + [ + 114.18489825962899, + 34.820091947234573 + ], + [ + 114.18470802637, + 34.819657646129428 + ], + [ + 114.18390994817787, + 34.819826155127828 + ], + [ + 114.18341164253115, + 34.820488303561717 + ], + [ + 114.17909076878027, + 34.818976845219026 + ], + [ + 114.17921598679948, + 34.820811108999692 + ], + [ + 114.17742905147759, + 34.821154668894394 + ], + [ + 114.17638550926392, + 34.820639165469743 + ], + [ + 114.17728608786979, + 34.823441961648143 + ], + [ + 114.17626017013288, + 34.823577584871941 + ], + [ + 114.17541824990633, + 34.82122684578394 + ], + [ + 114.17383931451116, + 34.821349099743429 + ], + [ + 114.17390690477146, + 34.822552783254309 + ], + [ + 114.17179824201469, + 34.823225466905114 + ], + [ + 114.1712936897809, + 34.822355535144027 + ], + [ + 114.16951111574303, + 34.822695070583052 + ], + [ + 114.16905704291548, + 34.820464709238024 + ], + [ + 114.16496850460919, + 34.821144399339914 + ], + [ + 114.1266269495336, + 34.810844768084337 + ], + [ + 114.1299005933281, + 34.802259738131454 + ], + [ + 114.1310583919676, + 34.802171767392679 + ], + [ + 114.13104057649832, + 34.801642044593848 + ], + [ + 114.1320932163934, + 34.801643766706093 + ], + [ + 114.13198585668806, + 34.801179558835031 + ], + [ + 114.13166576015499, + 34.80102931349478 + ], + [ + 114.13285135078593, + 34.799497009442405 + ], + [ + 114.13724073576327, + 34.798705429152903 + ], + [ + 114.13612664930338, + 34.797610927386359 + ], + [ + 114.13972815499369, + 34.796849779366937 + ], + [ + 114.13932802530462, + 34.794926831836108 + ], + [ + 114.13965316579618, + 34.794767273177172 + ], + [ + 114.13956015299254, + 34.793107250598609 + ], + [ + 114.1410248952061, + 34.792834712422234 + ], + [ + 114.1406915009419, + 34.790296047360755 + ], + [ + 114.14108038179904, + 34.790283271833118 + ], + [ + 114.14103498583256, + 34.789975185934281 + ], + [ + 114.14293442482233, + 34.789862041526135 + ], + [ + 114.14301008543111, + 34.790367297853209 + ], + [ + 114.14366822959039, + 34.790366522821046 + ], + [ + 114.14405906076081, + 34.791475355986108 + ], + [ + 114.14748972163989, + 34.791120835413381 + ], + [ + 114.1475512642229, + 34.791665037338134 + ], + [ + 114.14798158320616, + 34.791591130820791 + ], + [ + 114.14715602877277, + 34.787257335397612 + ], + [ + 114.14769780694894, + 34.78715959454172 + ], + [ + 114.14692745829154, + 34.783833851252382 + ], + [ + 114.14745199863455, + 34.783701077846445 + ], + [ + 114.14743679934338, + 34.783352728523539 + ], + [ + 114.14963780016831, + 34.783289979883989 + ], + [ + 114.14961368029071, + 34.782943081673579 + ], + [ + 114.15011825093598, + 34.782965045498656 + ], + [ + 114.15020225072249, + 34.782087356527541 + ], + [ + 114.15178118576978, + 34.782109056213869 + ], + [ + 114.15317382781609, + 34.782296572129553 + ], + [ + 114.15324387078851, + 34.781362009383088 + ], + [ + 114.15562421031336, + 34.781340953190579 + ], + [ + 114.15556340882472, + 34.781812421138454 + ], + [ + 114.15644941061078, + 34.78178817930376 + ], + [ + 114.15651695151678, + 34.781361666139446 + ], + [ + 114.15783089481056, + 34.781465883237104 + ], + [ + 114.16045710497667, + 34.78080343490376 + ], + [ + 114.16028365458646, + 34.779720996993262 + ], + [ + 114.15882725674999, + 34.779781745681873 + ], + [ + 114.15871954518605, + 34.778863344003582 + ], + [ + 114.16399048142978, + 34.778369040752978 + ], + [ + 114.16393633391169, + 34.777930031295568 + ], + [ + 114.1625246579224, + 34.778019740560126 + ], + [ + 114.16241710877, + 34.777171768920027 + ], + [ + 114.16379236727232, + 34.776971564408939 + ], + [ + 114.1638645981418, + 34.7773748101298 + ], + [ + 114.16503353021437, + 34.777272807288114 + ], + [ + 114.16466881260999, + 34.772454179409351 + ], + [ + 114.16671470924678, + 34.772153873102241 + ], + [ + 114.16666906620969, + 34.771362398220674 + ], + [ + 114.16739993937949, + 34.771158064961014 + ], + [ + 114.1672732482798, + 34.770230782089925 + ], + [ + 114.16813681942995, + 34.769575922143417 + ], + [ + 114.16812482248918, + 34.767067632291116 + ], + [ + 114.1674290606453, + 34.766982197607092 + ], + [ + 114.1674617062456, + 34.764793147799708 + ], + [ + 114.16640292317891, + 34.764666978058926 + ], + [ + 114.16322804306344, + 34.76234641664638 + ], + [ + 114.16018910851733, + 34.76240451963173 + ], + [ + 114.15989133368498, + 34.761565551194792 + ], + [ + 114.16089700667055, + 34.761351292273957 + ], + [ + 114.16060938787405, + 34.76026458089035 + ], + [ + 114.15605748203529, + 34.761285538640664 + ], + [ + 114.15579621469544, + 34.760439753262574 + ], + [ + 114.15528159328153, + 34.760544252593377 + ], + [ + 114.15552735885035, + 34.76136173998475 + ], + [ + 114.15478777936539, + 34.762351909242625 + ], + [ + 114.15379139546167, + 34.7625663318139 + ], + [ + 114.1533091089924, + 34.76128891022563 + ], + [ + 114.15181750487602, + 34.76145092234492 + ], + [ + 114.15213574984887, + 34.76267120477894 + ], + [ + 114.15169897266753, + 34.76268670943216 + ], + [ + 114.15124830357308, + 34.762403885731146 + ], + [ + 114.1483465995783, + 34.762615522848421 + ], + [ + 114.14781988788786, + 34.761212267259339 + ], + [ + 114.14699828824848, + 34.761337253256386 + ], + [ + 114.14686303452027, + 34.760525441555671 + ], + [ + 114.14731702473375, + 34.760445727879642 + ], + [ + 114.14651468136879, + 34.757754283145573 + ], + [ + 114.14713995760553, + 34.75744930560063 + ], + [ + 114.14705010809666, + 34.756953013274824 + ], + [ + 114.1466180589141, + 34.756705299688122 + ], + [ + 114.14657736566335, + 34.755459953100512 + ], + [ + 114.14725898740096, + 34.755410569963431 + ], + [ + 114.14662882794869, + 34.751966776758877 + ], + [ + 114.14714399430477, + 34.751934633833059 + ], + [ + 114.14739600683038, + 34.753421356239016 + ], + [ + 114.14899285758077, + 34.753163442310949 + ], + [ + 114.14850929117506, + 34.749626357934801 + ], + [ + 114.1497559914684, + 34.749574744163056 + ], + [ + 114.14939605044674, + 34.747846889345283 + ], + [ + 114.14801750621189, + 34.747996651414496 + ], + [ + 114.14791470831244, + 34.747485383100752 + ], + [ + 114.14734080941821, + 34.747547804800377 + ], + [ + 114.14753041114363, + 34.748432174148263 + ], + [ + 114.14670764897892, + 34.748555928958069 + ], + [ + 114.14668053986202, + 34.747563591878873 + ] + ] + ] + }, + "properties": { + "FID": 5, + "name": "郑开同城海绵建设示范区", + "code": "ZK", + "area": "64.04", + "designrain": "22.9", + "totallflow": "72%", + "fillcolor": "rgba(99, 172, 255, 0.6)", + "outcolor": "rgba(22, 131, 255, 1)" + } + } + ] +} \ No newline at end of file diff --git a/src/assets/geojson/kaifengPSFQ1.json b/src/assets/geojson/kaifengPSFQ1.json new file mode 100644 index 0000000..098b9e9 --- /dev/null +++ b/src/assets/geojson/kaifengPSFQ1.json @@ -0,0 +1,1727 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.20348354002192, + 34.836305000846721 + ], + [ + 114.20395943222309, + 34.769680092683473 + ], + [ + 114.21609468335294, + 34.772773391991052 + ], + [ + 114.21680852165468, + 34.761114033062427 + ], + [ + 114.22204333586751, + 34.7608760869619 + ], + [ + 114.22228128196798, + 34.748264943631 + ], + [ + 114.23632010190249, + 34.747313159228611 + ], + [ + 114.23774777850588, + 34.726135956276835 + ], + [ + 114.24107902391415, + 34.725184171874446 + ], + [ + 114.26874025810696, + 34.725332888187324 + ], + [ + 114.2684428254812, + 34.756860746514576 + ], + [ + 114.28019141419747, + 34.756712030201697 + ], + [ + 114.28034013051035, + 34.748086484055534 + ], + [ + 114.28866824403076, + 34.747789051429834 + ], + [ + 114.2877759461536, + 34.739907086848007 + ], + [ + 114.30056554905991, + 34.739460937909428 + ], + [ + 114.30205271218858, + 34.745260874111125 + ], + [ + 114.29372459866795, + 34.764891427409225 + ], + [ + 114.29655020861242, + 34.822147207862031 + ], + [ + 114.29208871922663, + 34.831516335572474 + ], + [ + 114.29238615185238, + 34.845346952668876 + ], + [ + 114.28851952771788, + 34.846090534233213 + ], + [ + 114.28703236458909, + 34.841331612221552 + ], + [ + 114.28301702414194, + 34.841777761160131 + ], + [ + 114.27171458436408, + 34.841034179595795 + ], + [ + 114.25728910201622, + 34.840588030657216 + ], + [ + 114.25684295307781, + 34.84222391009871 + ], + [ + 114.25000200268585, + 34.841629044847252 + ], + [ + 114.24435078279703, + 34.841480328534374 + ], + [ + 114.24417232322173, + 34.839874192355467 + ], + [ + 114.20348354002192, + 34.836305000846721 + ] + ] + ] + }, + "properties": { + "FID": 0, + "name": "城乡一体化海绵建设示范区", + "code": "CX", + "area": "76.74", + "designrain": "21.3", + "totallflow": "70%", + "fillcolor": "rgba(213, 141, 255, 0.6)", + "outcolor": "rgba(175, 39, 255, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + 114.29745989792139, + 34.711462719857309 + ], + [ + 114.30269471213421, + 34.711938612058361 + ], + [ + 114.30388444263713, + 34.714793965265414 + ], + [ + 114.28699026949562, + 34.714556019164888 + ], + [ + 114.28699026949562, + 34.705038175141567 + ], + [ + 114.29603222131789, + 34.705038175141567 + ], + [ + 114.29484249081486, + 34.709321204952175 + ], + [ + 114.29745989792139, + 34.708845312750839 + ], + [ + 114.29745989792139, + 34.711462719857309 + ] + ] + ], + [ + [ + [ + 114.42782507230424, + 34.74187609083026 + ], + [ + 114.42539802207818, + 34.744160373395857 + ], + [ + 114.42154329524874, + 34.747158494263147 + ], + [ + 114.4165464271365, + 34.749014473847751 + ], + [ + 114.40740929687433, + 34.754011341960108 + ], + [ + 114.40412564068617, + 34.756438392185999 + ], + [ + 114.40569608495002, + 34.758008836449847 + ], + [ + 114.40583885261026, + 34.759864816034451 + ], + [ + 114.40455394366711, + 34.761578027958592 + ], + [ + 114.40269796408256, + 34.762434633920748 + ], + [ + 114.40212689344128, + 34.763576775203489 + ], + [ + 114.40141305513941, + 34.765432754788037 + ], + [ + 114.39884323725312, + 34.767431502032935 + ], + [ + 114.3989860049137, + 34.769144713957076 + ], + [ + 114.40055644917743, + 34.772999440786521 + ], + [ + 114.40069921683767, + 34.775283723352118 + ], + [ + 114.40098475215837, + 34.776568632295266 + ], + [ + 114.40012814619627, + 34.779852288483312 + ], + [ + 114.39922395101405, + 34.78389737219328 + ], + [ + 114.39732038220939, + 34.786990671500803 + ], + [ + 114.39613065170647, + 34.78889424030541 + ], + [ + 114.39565475950531, + 34.791511647411937 + ], + [ + 114.39565475950531, + 34.794842892819986 + ], + [ + 114.395892705606, + 34.797698246027039 + ], + [ + 114.39755832831008, + 34.801743329737008 + ], + [ + 114.398748058813, + 34.805550467346222 + ], + [ + 114.40136546591953, + 34.808881712754498 + ], + [ + 114.40065162761766, + 34.813878580866628 + ], + [ + 114.39969984321522, + 34.816258041872459 + ], + [ + 114.39803422051114, + 34.817923664576597 + ], + [ + 114.39494092120356, + 34.819589287280735 + ], + [ + 114.39922395101405, + 34.828393293002307 + ], + [ + 114.39041994529259, + 34.832914268913271 + ], + [ + 114.38566102328093, + 34.837435244824462 + ], + [ + 114.38114004736997, + 34.837911137025628 + ], + [ + 114.38090210126927, + 34.84409773564073 + ], + [ + 114.29238615185238, + 34.845346952668876 + ], + [ + 114.29208871922663, + 34.831516335572474 + ], + [ + 114.29655020861242, + 34.822147207862031 + ], + [ + 114.29372459866795, + 34.764891427409225 + ], + [ + 114.30205271218858, + 34.745260874111125 + ], + [ + 114.30056554905991, + 34.739460937909428 + ], + [ + 114.304473813762, + 34.738449666981978 + ], + [ + 114.31047005549658, + 34.73716475803883 + ], + [ + 114.31532415594847, + 34.736022616755918 + ], + [ + 114.31047005549658, + 34.724886739248689 + ], + [ + 114.31403924700533, + 34.723030759664084 + ], + [ + 114.31532415594847, + 34.724743971588282 + ], + [ + 114.31703736787267, + 34.728313163097027 + ], + [ + 114.3181795091557, + 34.732167889926473 + ], + [ + 114.32089209470212, + 34.738306899321515 + ], + [ + 114.3357399313785, + 34.736593687397374 + ], + [ + 114.33602546669943, + 34.734166637171313 + ], + [ + 114.37128907880572, + 34.73202512226618 + ], + [ + 114.38128281503009, + 34.731025748643788 + ], + [ + 114.38485200653884, + 34.730026375021339 + ], + [ + 114.38385263291639, + 34.714893003024201 + ], + [ + 114.38585138016128, + 34.710324437893007 + ], + [ + 114.38956333933061, + 34.705898640422106 + ], + [ + 114.42411311313504, + 34.705470337441113 + ], + [ + 114.42397034547491, + 34.706898014044555 + ], + [ + 114.42582632505935, + 34.707326317025718 + ], + [ + 114.4268256986818, + 34.705898640422106 + ], + [ + 114.4271112340025, + 34.707040781704961 + ], + [ + 114.42925274890763, + 34.70775462000671 + ], + [ + 114.42968105188879, + 34.708753993629102 + ], + [ + 114.43082319317148, + 34.709039528949859 + ], + [ + 114.43096596083183, + 34.706612478723969 + ], + [ + 114.43253640509568, + 34.706326943403269 + ], + [ + 114.43424961701999, + 34.707897387666947 + ], + [ + 114.43410684935952, + 34.711038276194699 + ], + [ + 114.43496345532174, + 34.711752114496448 + ], + [ + 114.43767604086827, + 34.712894255779304 + ], + [ + 114.43796157618897, + 34.715606841325894 + ], + [ + 114.43781880852873, + 34.718462194532947 + ], + [ + 114.43781880852873, + 34.721460315400236 + ], + [ + 114.43867541449072, + 34.725315042229681 + ], + [ + 114.43353577871812, + 34.729883607360875 + ], + [ + 114.43367854637859, + 34.731596819285187 + ], + [ + 114.43196533445439, + 34.735451546114518 + ], + [ + 114.43010935486984, + 34.738021364000815 + ], + [ + 114.42782507230424, + 34.74187609083026 + ] + ] + ], + [ + [ + [ + 114.30340855043607, + 34.858751356118148 + ], + [ + 114.28699026949562, + 34.859703140520537 + ], + [ + 114.28675232339526, + 34.848995565994301 + ], + [ + 114.30792952634704, + 34.848995565994301 + ], + [ + 114.30888131074926, + 34.853754488005961 + ], + [ + 114.30317060433538, + 34.853516541905265 + ], + [ + 114.30340855043607, + 34.858751356118148 + ] + ] + ] + ] + }, + "properties": { + "FID": 1, + "name": "城区海绵提升示范区", + "code": "CQ", + "area": "98.87", + "designrain": "19.8", + "totallflow": "68%", + "fillcolor": "rgba(250, 255, 114, 0.6)", + "outcolor": "rgba(247, 255, 30, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.33342576855114, + 34.819331555601366 + ], + [ + 114.33356853621137, + 34.818903252620373 + ], + [ + 114.33214085960799, + 34.818189414318624 + ], + [ + 114.33028488002333, + 34.815334061111628 + ], + [ + 114.32957104172169, + 34.811622101942419 + ], + [ + 114.32899997108018, + 34.806482466169768 + ], + [ + 114.32785782979738, + 34.803056042321487 + ], + [ + 114.32614461787318, + 34.801057295076646 + ], + [ + 114.32571631489225, + 34.795774891643532 + ], + [ + 114.32685845617493, + 34.795774891643532 + ], + [ + 114.32514524425073, + 34.786209458400208 + ], + [ + 114.32828613277854, + 34.786066690739915 + ], + [ + 114.33342576855114, + 34.785210084777759 + ], + [ + 114.33728049538058, + 34.784639014136303 + ], + [ + 114.34199182817201, + 34.783639640513911 + ], + [ + 114.34784530224636, + 34.78249749923117 + ], + [ + 114.35726796782944, + 34.781783660929307 + ], + [ + 114.35812457379166, + 34.784353478815603 + ], + [ + 114.3594094827348, + 34.787066064362364 + ], + [ + 114.36097992699865, + 34.789493114588197 + ], + [ + 114.3614082299797, + 34.79263400311595 + ], + [ + 114.3622648359418, + 34.795774891643532 + ], + [ + 114.36269313892285, + 34.798915780171285 + ], + [ + 114.3642635831867, + 34.800057921454197 + ], + [ + 114.36512018914868, + 34.80248497168003 + ], + [ + 114.36469188616763, + 34.806054163188776 + ], + [ + 114.3642635831867, + 34.808481213414836 + ], + [ + 114.36569125979008, + 34.813478081527023 + ], + [ + 114.36711893639358, + 34.817761111337461 + ], + [ + 114.36554849212985, + 34.818474949639153 + ], + [ + 114.35983778571574, + 34.819188787941073 + ], + [ + 114.35355600866046, + 34.819759858582358 + ], + [ + 114.34684592862391, + 34.820045393903058 + ], + [ + 114.34341950477551, + 34.819902626242765 + ], + [ + 114.33985031326677, + 34.819331555601366 + ], + [ + 114.33342576855114, + 34.819331555601366 + ] + ] + ] + }, + "properties": { + "FID": 2, + "name": "古城海绵保护示范区", + "code": "GC", + "area": "12.79", + "designrain": "17.9", + "totallflow": "65%", + "fillcolor": "rgba(15, 216, 164, 0.6)", + "outcolor": "rgba(24, 255, 0, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.40136546591953, + 34.808881712754498 + ], + [ + 114.398748058813, + 34.805550467346222 + ], + [ + 114.39755832831008, + 34.801743329737008 + ], + [ + 114.395892705606, + 34.797698246027039 + ], + [ + 114.39565475950531, + 34.794842892819986 + ], + [ + 114.39565475950531, + 34.791511647411937 + ], + [ + 114.39613065170647, + 34.78889424030541 + ], + [ + 114.39732038220939, + 34.786990671500803 + ], + [ + 114.39922395101405, + 34.78389737219328 + ], + [ + 114.40012814619627, + 34.779852288483312 + ], + [ + 114.40098475215837, + 34.776568632295266 + ], + [ + 114.40069921683767, + 34.775283723352118 + ], + [ + 114.40055644917743, + 34.772999440786521 + ], + [ + 114.3989860049137, + 34.769144713957076 + ], + [ + 114.39884323725312, + 34.767431502032935 + ], + [ + 114.40141305513941, + 34.765432754788037 + ], + [ + 114.40212689344128, + 34.763576775203489 + ], + [ + 114.40269796408256, + 34.762434633920748 + ], + [ + 114.40455394366711, + 34.761578027958592 + ], + [ + 114.40583885261026, + 34.759864816034451 + ], + [ + 114.40569608495002, + 34.758008836449847 + ], + [ + 114.40412564068617, + 34.756438392185999 + ], + [ + 114.40740929687433, + 34.754011341960108 + ], + [ + 114.4165464271365, + 34.749014473847751 + ], + [ + 114.42154329524874, + 34.747158494263147 + ], + [ + 114.42539802207818, + 34.744160373395857 + ], + [ + 114.42782507230424, + 34.74187609083026 + ], + [ + 114.43010935486984, + 34.738021364000815 + ], + [ + 114.43196533445439, + 34.735451546114518 + ], + [ + 114.43367854637859, + 34.731596819285187 + ], + [ + 114.43353577871812, + 34.729883607360875 + ], + [ + 114.43867541449072, + 34.725315042229681 + ], + [ + 114.44342825085062, + 34.720520471565806 + ], + [ + 114.44913895726449, + 34.717094047717524 + ], + [ + 114.45542073432, + 34.713096553227786 + ], + [ + 114.46550964898472, + 34.708527988096421 + ], + [ + 114.47559856364933, + 34.702436567921609 + ], + [ + 114.47902498749784, + 34.700342642236478 + ], + [ + 114.48321283886798, + 34.706434062411347 + ], + [ + 114.48416462327043, + 34.744505438504632 + ], + [ + 114.48416462327043, + 34.764873624714596 + ], + [ + 114.48454533703136, + 34.767538621041183 + ], + [ + 114.48530676455312, + 34.770774688008999 + ], + [ + 114.48568747831405, + 34.778960033869112 + ], + [ + 114.48492605079218, + 34.788477877892433 + ], + [ + 114.48549712143358, + 34.797043937513365 + ], + [ + 114.48778140399918, + 34.798376435676744 + ], + [ + 114.48759104711871, + 34.807323209058609 + ], + [ + 114.48530676455312, + 34.807894279700065 + ], + [ + 114.48530676455312, + 34.811130346667881 + ], + [ + 114.48530676455312, + 34.814747127396799 + ], + [ + 114.48473569391172, + 34.815698911799018 + ], + [ + 114.48321283886798, + 34.816650696201464 + ], + [ + 114.48092855630239, + 34.817792837484319 + ], + [ + 114.47731177557364, + 34.817983194364615 + ], + [ + 114.47597927741026, + 34.817983194364615 + ], + [ + 114.47388535172513, + 34.819315692527994 + ], + [ + 114.47026857099638, + 34.81950604940846 + ], + [ + 114.45123288294974, + 34.812843558592192 + ], + [ + 114.43238755178345, + 34.813033915472658 + ], + [ + 114.42858041417412, + 34.807894279700065 + ], + [ + 114.40136546591953, + 34.808881712754498 + ] + ] + ] + }, + "properties": { + "FID": 3, + "name": "汴东海绵建设示范区", + "code": "BD", + "area": "52.62", + "designrain": "21.3", + "totallflow": "70%", + "fillcolor": "rgba(53, 63, 255, 0.6)", + "outcolor": "rgba(33, 101, 255, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.20652118157352, + 34.696789313801105 + ], + [ + 114.20723501987527, + 34.68536790097312 + ], + [ + 114.20699707377457, + 34.671329081038664 + ], + [ + 114.20675912767399, + 34.663476859719481 + ], + [ + 114.20414172056769, + 34.656814368903156 + ], + [ + 114.20200020566233, + 34.648724201483276 + ], + [ + 114.19938279855603, + 34.639444303560651 + ], + [ + 114.22151178591025, + 34.635637165951209 + ], + [ + 114.22008410930664, + 34.622788076519839 + ], + [ + 114.22960195332996, + 34.620884507715004 + ], + [ + 114.22936400722938, + 34.596851951556232 + ], + [ + 114.28099831105601, + 34.596851951556232 + ], + [ + 114.28290187986056, + 34.675612110849102 + ], + [ + 114.25577602439409, + 34.675136218648106 + ], + [ + 114.21794259440151, + 34.682512547766123 + ], + [ + 114.21770464830081, + 34.696789313801105 + ], + [ + 114.20652118157352, + 34.696789313801105 + ] + ] + ] + }, + "properties": { + "FID": 4, + "name": "产城融合海绵建设示范区", + "code": "CC", + "area": "24.13", + "designrain": "25.3", + "totallflow": "75%", + "fillcolor": "rgba(127, 255, 241, 0.6)", + "outcolor": "rgba(34, 255, 231, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.14668053986202, + 34.747563591878873 + ], + [ + 114.14709031418386, + 34.736129692501208 + ], + [ + 114.1420934460715, + 34.736367638601848 + ], + [ + 114.14116457923512, + 34.719180858836296 + ], + [ + 114.24084107781346, + 34.718521681058121 + ], + [ + 114.24107902391415, + 34.725184171874446 + ], + [ + 114.23774777850588, + 34.726135956276835 + ], + [ + 114.23632010190249, + 34.747313159228611 + ], + [ + 114.22228128196798, + 34.748264943631 + ], + [ + 114.22204333586751, + 34.7608760869619 + ], + [ + 114.21680852165468, + 34.761114033062427 + ], + [ + 114.21609468335294, + 34.772773391991052 + ], + [ + 114.20395943222309, + 34.769680092683473 + ], + [ + 114.20348354002192, + 34.836305000846721 + ], + [ + 114.19627802948764, + 34.835169152718493 + ], + [ + 114.19653705479629, + 34.83401665939283 + ], + [ + 114.19642463274454, + 34.833382272819335 + ], + [ + 114.19623552425173, + 34.832213918895491 + ], + [ + 114.19447309513782, + 34.832362099778152 + ], + [ + 114.19366442896876, + 34.829315412513211 + ], + [ + 114.18974249158805, + 34.829877144855459 + ], + [ + 114.18954734019383, + 34.829253610994101 + ], + [ + 114.19064869337967, + 34.829104588213681 + ], + [ + 114.19004001692838, + 34.827427176778144 + ], + [ + 114.19096119900962, + 34.827391591556648 + ], + [ + 114.19136405475865, + 34.828944457107639 + ], + [ + 114.19301655970878, + 34.828613100019709 + ], + [ + 114.19251519567251, + 34.826681410391927 + ], + [ + 114.19324093941088, + 34.826545151781829 + ], + [ + 114.1924887580517, + 34.823580794482268 + ], + [ + 114.18968507971636, + 34.822251675401901 + ], + [ + 114.18923853945466, + 34.820318909062564 + ], + [ + 114.18830492037409, + 34.820053067617494 + ], + [ + 114.18489825962899, + 34.820091947234573 + ], + [ + 114.18470802637, + 34.819657646129428 + ], + [ + 114.18390994817787, + 34.819826155127828 + ], + [ + 114.18341164253115, + 34.820488303561717 + ], + [ + 114.17909076878027, + 34.818976845219026 + ], + [ + 114.17921598679948, + 34.820811108999692 + ], + [ + 114.17742905147759, + 34.821154668894394 + ], + [ + 114.17638550926392, + 34.820639165469743 + ], + [ + 114.17728608786979, + 34.823441961648143 + ], + [ + 114.17626017013288, + 34.823577584871941 + ], + [ + 114.17541824990633, + 34.82122684578394 + ], + [ + 114.17383931451116, + 34.821349099743429 + ], + [ + 114.17390690477146, + 34.822552783254309 + ], + [ + 114.17179824201469, + 34.823225466905114 + ], + [ + 114.1712936897809, + 34.822355535144027 + ], + [ + 114.16951111574303, + 34.822695070583052 + ], + [ + 114.16905704291548, + 34.820464709238024 + ], + [ + 114.16496850460919, + 34.821144399339914 + ], + [ + 114.1266269495336, + 34.810844768084337 + ], + [ + 114.1299005933281, + 34.802259738131454 + ], + [ + 114.1310583919676, + 34.802171767392679 + ], + [ + 114.13104057649832, + 34.801642044593848 + ], + [ + 114.1320932163934, + 34.801643766706093 + ], + [ + 114.13198585668806, + 34.801179558835031 + ], + [ + 114.13166576015499, + 34.80102931349478 + ], + [ + 114.13285135078593, + 34.799497009442405 + ], + [ + 114.13724073576327, + 34.798705429152903 + ], + [ + 114.13612664930338, + 34.797610927386359 + ], + [ + 114.13972815499369, + 34.796849779366937 + ], + [ + 114.13932802530462, + 34.794926831836108 + ], + [ + 114.13965316579618, + 34.794767273177172 + ], + [ + 114.13956015299254, + 34.793107250598609 + ], + [ + 114.1410248952061, + 34.792834712422234 + ], + [ + 114.1406915009419, + 34.790296047360755 + ], + [ + 114.14108038179904, + 34.790283271833118 + ], + [ + 114.14103498583256, + 34.789975185934281 + ], + [ + 114.14293442482233, + 34.789862041526135 + ], + [ + 114.14301008543111, + 34.790367297853209 + ], + [ + 114.14366822959039, + 34.790366522821046 + ], + [ + 114.14405906076081, + 34.791475355986108 + ], + [ + 114.14748972163989, + 34.791120835413381 + ], + [ + 114.1475512642229, + 34.791665037338134 + ], + [ + 114.14798158320616, + 34.791591130820791 + ], + [ + 114.14715602877277, + 34.787257335397612 + ], + [ + 114.14769780694894, + 34.78715959454172 + ], + [ + 114.14692745829154, + 34.783833851252382 + ], + [ + 114.14745199863455, + 34.783701077846445 + ], + [ + 114.14743679934338, + 34.783352728523539 + ], + [ + 114.14963780016831, + 34.783289979883989 + ], + [ + 114.14961368029071, + 34.782943081673579 + ], + [ + 114.15011825093598, + 34.782965045498656 + ], + [ + 114.15020225072249, + 34.782087356527541 + ], + [ + 114.15178118576978, + 34.782109056213869 + ], + [ + 114.15317382781609, + 34.782296572129553 + ], + [ + 114.15324387078851, + 34.781362009383088 + ], + [ + 114.15562421031336, + 34.781340953190579 + ], + [ + 114.15556340882472, + 34.781812421138454 + ], + [ + 114.15644941061078, + 34.78178817930376 + ], + [ + 114.15651695151678, + 34.781361666139446 + ], + [ + 114.15783089481056, + 34.781465883237104 + ], + [ + 114.16045710497667, + 34.78080343490376 + ], + [ + 114.16028365458646, + 34.779720996993262 + ], + [ + 114.15882725674999, + 34.779781745681873 + ], + [ + 114.15871954518605, + 34.778863344003582 + ], + [ + 114.16399048142978, + 34.778369040752978 + ], + [ + 114.16393633391169, + 34.777930031295568 + ], + [ + 114.1625246579224, + 34.778019740560126 + ], + [ + 114.16241710877, + 34.777171768920027 + ], + [ + 114.16379236727232, + 34.776971564408939 + ], + [ + 114.1638645981418, + 34.7773748101298 + ], + [ + 114.16503353021437, + 34.777272807288114 + ], + [ + 114.16466881260999, + 34.772454179409351 + ], + [ + 114.16671470924678, + 34.772153873102241 + ], + [ + 114.16666906620969, + 34.771362398220674 + ], + [ + 114.16739993937949, + 34.771158064961014 + ], + [ + 114.1672732482798, + 34.770230782089925 + ], + [ + 114.16813681942995, + 34.769575922143417 + ], + [ + 114.16812482248918, + 34.767067632291116 + ], + [ + 114.1674290606453, + 34.766982197607092 + ], + [ + 114.1674617062456, + 34.764793147799708 + ], + [ + 114.16640292317891, + 34.764666978058926 + ], + [ + 114.16322804306344, + 34.76234641664638 + ], + [ + 114.16018910851733, + 34.76240451963173 + ], + [ + 114.15989133368498, + 34.761565551194792 + ], + [ + 114.16089700667055, + 34.761351292273957 + ], + [ + 114.16060938787405, + 34.76026458089035 + ], + [ + 114.15605748203529, + 34.761285538640664 + ], + [ + 114.15579621469544, + 34.760439753262574 + ], + [ + 114.15528159328153, + 34.760544252593377 + ], + [ + 114.15552735885035, + 34.76136173998475 + ], + [ + 114.15478777936539, + 34.762351909242625 + ], + [ + 114.15379139546167, + 34.7625663318139 + ], + [ + 114.1533091089924, + 34.76128891022563 + ], + [ + 114.15181750487602, + 34.76145092234492 + ], + [ + 114.15213574984887, + 34.76267120477894 + ], + [ + 114.15169897266753, + 34.76268670943216 + ], + [ + 114.15124830357308, + 34.762403885731146 + ], + [ + 114.1483465995783, + 34.762615522848421 + ], + [ + 114.14781988788786, + 34.761212267259339 + ], + [ + 114.14699828824848, + 34.761337253256386 + ], + [ + 114.14686303452027, + 34.760525441555671 + ], + [ + 114.14731702473375, + 34.760445727879642 + ], + [ + 114.14651468136879, + 34.757754283145573 + ], + [ + 114.14713995760553, + 34.75744930560063 + ], + [ + 114.14705010809666, + 34.756953013274824 + ], + [ + 114.1466180589141, + 34.756705299688122 + ], + [ + 114.14657736566335, + 34.755459953100512 + ], + [ + 114.14725898740096, + 34.755410569963431 + ], + [ + 114.14662882794869, + 34.751966776758877 + ], + [ + 114.14714399430477, + 34.751934633833059 + ], + [ + 114.14739600683038, + 34.753421356239016 + ], + [ + 114.14899285758077, + 34.753163442310949 + ], + [ + 114.14850929117506, + 34.749626357934801 + ], + [ + 114.1497559914684, + 34.749574744163056 + ], + [ + 114.14939605044674, + 34.747846889345283 + ], + [ + 114.14801750621189, + 34.747996651414496 + ], + [ + 114.14791470831244, + 34.747485383100752 + ], + [ + 114.14734080941821, + 34.747547804800377 + ], + [ + 114.14753041114363, + 34.748432174148263 + ], + [ + 114.14670764897892, + 34.748555928958069 + ], + [ + 114.14668053986202, + 34.747563591878873 + ] + ] + ] + }, + "properties": { + "FID": 5, + "name": "郑开同城海绵建设示范区", + "code": "ZK", + "area": "64.04", + "designrain": "22.9", + "totallflow": "72%", + "fillcolor": "rgba(99, 172, 255, 0.6)", + "outcolor": "rgba(22, 131, 255, 1)" + } + } + ] +} \ No newline at end of file diff --git a/src/assets/geojson/kaifengPSFQlabel1.json b/src/assets/geojson/kaifengPSFQlabel1.json new file mode 100644 index 0000000..0bb5788 --- /dev/null +++ b/src/assets/geojson/kaifengPSFQlabel1.json @@ -0,0 +1 @@ +{"type":"FeatureCollection","features":[{"type":"Feature","id":0,"geometry":{"type":"Point","coordinates":[114.25209740441721,34.790502095924182]},"properties":{"FID":0,"name":"城乡一体化海绵建设示范区"}},{"type":"Feature","id":1,"geometry":{"type":"Point","coordinates":[114.34614389231814,34.762948287529525]},"properties":{"FID":1,"name":"城区海绵提升示范区"}},{"type":"Feature","id":2,"geometry":{"type":"Point","coordinates":[114.34590040543742,34.801709050482714]},"properties":{"FID":2,"name":"古城海绵保护示范区"}},{"type":"Feature","id":3,"geometry":{"type":"Point","coordinates":[114.44844842563191,34.768566207792162]},"properties":{"FID":3,"name":"汴东海绵建设示范区"}},{"type":"Feature","id":4,"geometry":{"type":"Point","coordinates":[114.24583441098309,34.642501613622528]},"properties":{"FID":4,"name":"产城融合海绵建设示范区"}},{"type":"Feature","id":5,"geometry":{"type":"Point","coordinates":[114.18304590708578,34.766210864832203]},"properties":{"FID":5,"name":"郑开同城海绵建设示范区"}}]} \ No newline at end of file diff --git a/src/assets/geojson/kaifengPSFQ1.json b/src/assets/geojson/kaifengPSFQ1.json new file mode 100644 index 0000000..098b9e9 --- /dev/null +++ b/src/assets/geojson/kaifengPSFQ1.json @@ -0,0 +1,1727 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.20348354002192, + 34.836305000846721 + ], + [ + 114.20395943222309, + 34.769680092683473 + ], + [ + 114.21609468335294, + 34.772773391991052 + ], + [ + 114.21680852165468, + 34.761114033062427 + ], + [ + 114.22204333586751, + 34.7608760869619 + ], + [ + 114.22228128196798, + 34.748264943631 + ], + [ + 114.23632010190249, + 34.747313159228611 + ], + [ + 114.23774777850588, + 34.726135956276835 + ], + [ + 114.24107902391415, + 34.725184171874446 + ], + [ + 114.26874025810696, + 34.725332888187324 + ], + [ + 114.2684428254812, + 34.756860746514576 + ], + [ + 114.28019141419747, + 34.756712030201697 + ], + [ + 114.28034013051035, + 34.748086484055534 + ], + [ + 114.28866824403076, + 34.747789051429834 + ], + [ + 114.2877759461536, + 34.739907086848007 + ], + [ + 114.30056554905991, + 34.739460937909428 + ], + [ + 114.30205271218858, + 34.745260874111125 + ], + [ + 114.29372459866795, + 34.764891427409225 + ], + [ + 114.29655020861242, + 34.822147207862031 + ], + [ + 114.29208871922663, + 34.831516335572474 + ], + [ + 114.29238615185238, + 34.845346952668876 + ], + [ + 114.28851952771788, + 34.846090534233213 + ], + [ + 114.28703236458909, + 34.841331612221552 + ], + [ + 114.28301702414194, + 34.841777761160131 + ], + [ + 114.27171458436408, + 34.841034179595795 + ], + [ + 114.25728910201622, + 34.840588030657216 + ], + [ + 114.25684295307781, + 34.84222391009871 + ], + [ + 114.25000200268585, + 34.841629044847252 + ], + [ + 114.24435078279703, + 34.841480328534374 + ], + [ + 114.24417232322173, + 34.839874192355467 + ], + [ + 114.20348354002192, + 34.836305000846721 + ] + ] + ] + }, + "properties": { + "FID": 0, + "name": "城乡一体化海绵建设示范区", + "code": "CX", + "area": "76.74", + "designrain": "21.3", + "totallflow": "70%", + "fillcolor": "rgba(213, 141, 255, 0.6)", + "outcolor": "rgba(175, 39, 255, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + 114.29745989792139, + 34.711462719857309 + ], + [ + 114.30269471213421, + 34.711938612058361 + ], + [ + 114.30388444263713, + 34.714793965265414 + ], + [ + 114.28699026949562, + 34.714556019164888 + ], + [ + 114.28699026949562, + 34.705038175141567 + ], + [ + 114.29603222131789, + 34.705038175141567 + ], + [ + 114.29484249081486, + 34.709321204952175 + ], + [ + 114.29745989792139, + 34.708845312750839 + ], + [ + 114.29745989792139, + 34.711462719857309 + ] + ] + ], + [ + [ + [ + 114.42782507230424, + 34.74187609083026 + ], + [ + 114.42539802207818, + 34.744160373395857 + ], + [ + 114.42154329524874, + 34.747158494263147 + ], + [ + 114.4165464271365, + 34.749014473847751 + ], + [ + 114.40740929687433, + 34.754011341960108 + ], + [ + 114.40412564068617, + 34.756438392185999 + ], + [ + 114.40569608495002, + 34.758008836449847 + ], + [ + 114.40583885261026, + 34.759864816034451 + ], + [ + 114.40455394366711, + 34.761578027958592 + ], + [ + 114.40269796408256, + 34.762434633920748 + ], + [ + 114.40212689344128, + 34.763576775203489 + ], + [ + 114.40141305513941, + 34.765432754788037 + ], + [ + 114.39884323725312, + 34.767431502032935 + ], + [ + 114.3989860049137, + 34.769144713957076 + ], + [ + 114.40055644917743, + 34.772999440786521 + ], + [ + 114.40069921683767, + 34.775283723352118 + ], + [ + 114.40098475215837, + 34.776568632295266 + ], + [ + 114.40012814619627, + 34.779852288483312 + ], + [ + 114.39922395101405, + 34.78389737219328 + ], + [ + 114.39732038220939, + 34.786990671500803 + ], + [ + 114.39613065170647, + 34.78889424030541 + ], + [ + 114.39565475950531, + 34.791511647411937 + ], + [ + 114.39565475950531, + 34.794842892819986 + ], + [ + 114.395892705606, + 34.797698246027039 + ], + [ + 114.39755832831008, + 34.801743329737008 + ], + [ + 114.398748058813, + 34.805550467346222 + ], + [ + 114.40136546591953, + 34.808881712754498 + ], + [ + 114.40065162761766, + 34.813878580866628 + ], + [ + 114.39969984321522, + 34.816258041872459 + ], + [ + 114.39803422051114, + 34.817923664576597 + ], + [ + 114.39494092120356, + 34.819589287280735 + ], + [ + 114.39922395101405, + 34.828393293002307 + ], + [ + 114.39041994529259, + 34.832914268913271 + ], + [ + 114.38566102328093, + 34.837435244824462 + ], + [ + 114.38114004736997, + 34.837911137025628 + ], + [ + 114.38090210126927, + 34.84409773564073 + ], + [ + 114.29238615185238, + 34.845346952668876 + ], + [ + 114.29208871922663, + 34.831516335572474 + ], + [ + 114.29655020861242, + 34.822147207862031 + ], + [ + 114.29372459866795, + 34.764891427409225 + ], + [ + 114.30205271218858, + 34.745260874111125 + ], + [ + 114.30056554905991, + 34.739460937909428 + ], + [ + 114.304473813762, + 34.738449666981978 + ], + [ + 114.31047005549658, + 34.73716475803883 + ], + [ + 114.31532415594847, + 34.736022616755918 + ], + [ + 114.31047005549658, + 34.724886739248689 + ], + [ + 114.31403924700533, + 34.723030759664084 + ], + [ + 114.31532415594847, + 34.724743971588282 + ], + [ + 114.31703736787267, + 34.728313163097027 + ], + [ + 114.3181795091557, + 34.732167889926473 + ], + [ + 114.32089209470212, + 34.738306899321515 + ], + [ + 114.3357399313785, + 34.736593687397374 + ], + [ + 114.33602546669943, + 34.734166637171313 + ], + [ + 114.37128907880572, + 34.73202512226618 + ], + [ + 114.38128281503009, + 34.731025748643788 + ], + [ + 114.38485200653884, + 34.730026375021339 + ], + [ + 114.38385263291639, + 34.714893003024201 + ], + [ + 114.38585138016128, + 34.710324437893007 + ], + [ + 114.38956333933061, + 34.705898640422106 + ], + [ + 114.42411311313504, + 34.705470337441113 + ], + [ + 114.42397034547491, + 34.706898014044555 + ], + [ + 114.42582632505935, + 34.707326317025718 + ], + [ + 114.4268256986818, + 34.705898640422106 + ], + [ + 114.4271112340025, + 34.707040781704961 + ], + [ + 114.42925274890763, + 34.70775462000671 + ], + [ + 114.42968105188879, + 34.708753993629102 + ], + [ + 114.43082319317148, + 34.709039528949859 + ], + [ + 114.43096596083183, + 34.706612478723969 + ], + [ + 114.43253640509568, + 34.706326943403269 + ], + [ + 114.43424961701999, + 34.707897387666947 + ], + [ + 114.43410684935952, + 34.711038276194699 + ], + [ + 114.43496345532174, + 34.711752114496448 + ], + [ + 114.43767604086827, + 34.712894255779304 + ], + [ + 114.43796157618897, + 34.715606841325894 + ], + [ + 114.43781880852873, + 34.718462194532947 + ], + [ + 114.43781880852873, + 34.721460315400236 + ], + [ + 114.43867541449072, + 34.725315042229681 + ], + [ + 114.43353577871812, + 34.729883607360875 + ], + [ + 114.43367854637859, + 34.731596819285187 + ], + [ + 114.43196533445439, + 34.735451546114518 + ], + [ + 114.43010935486984, + 34.738021364000815 + ], + [ + 114.42782507230424, + 34.74187609083026 + ] + ] + ], + [ + [ + [ + 114.30340855043607, + 34.858751356118148 + ], + [ + 114.28699026949562, + 34.859703140520537 + ], + [ + 114.28675232339526, + 34.848995565994301 + ], + [ + 114.30792952634704, + 34.848995565994301 + ], + [ + 114.30888131074926, + 34.853754488005961 + ], + [ + 114.30317060433538, + 34.853516541905265 + ], + [ + 114.30340855043607, + 34.858751356118148 + ] + ] + ] + ] + }, + "properties": { + "FID": 1, + "name": "城区海绵提升示范区", + "code": "CQ", + "area": "98.87", + "designrain": "19.8", + "totallflow": "68%", + "fillcolor": "rgba(250, 255, 114, 0.6)", + "outcolor": "rgba(247, 255, 30, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.33342576855114, + 34.819331555601366 + ], + [ + 114.33356853621137, + 34.818903252620373 + ], + [ + 114.33214085960799, + 34.818189414318624 + ], + [ + 114.33028488002333, + 34.815334061111628 + ], + [ + 114.32957104172169, + 34.811622101942419 + ], + [ + 114.32899997108018, + 34.806482466169768 + ], + [ + 114.32785782979738, + 34.803056042321487 + ], + [ + 114.32614461787318, + 34.801057295076646 + ], + [ + 114.32571631489225, + 34.795774891643532 + ], + [ + 114.32685845617493, + 34.795774891643532 + ], + [ + 114.32514524425073, + 34.786209458400208 + ], + [ + 114.32828613277854, + 34.786066690739915 + ], + [ + 114.33342576855114, + 34.785210084777759 + ], + [ + 114.33728049538058, + 34.784639014136303 + ], + [ + 114.34199182817201, + 34.783639640513911 + ], + [ + 114.34784530224636, + 34.78249749923117 + ], + [ + 114.35726796782944, + 34.781783660929307 + ], + [ + 114.35812457379166, + 34.784353478815603 + ], + [ + 114.3594094827348, + 34.787066064362364 + ], + [ + 114.36097992699865, + 34.789493114588197 + ], + [ + 114.3614082299797, + 34.79263400311595 + ], + [ + 114.3622648359418, + 34.795774891643532 + ], + [ + 114.36269313892285, + 34.798915780171285 + ], + [ + 114.3642635831867, + 34.800057921454197 + ], + [ + 114.36512018914868, + 34.80248497168003 + ], + [ + 114.36469188616763, + 34.806054163188776 + ], + [ + 114.3642635831867, + 34.808481213414836 + ], + [ + 114.36569125979008, + 34.813478081527023 + ], + [ + 114.36711893639358, + 34.817761111337461 + ], + [ + 114.36554849212985, + 34.818474949639153 + ], + [ + 114.35983778571574, + 34.819188787941073 + ], + [ + 114.35355600866046, + 34.819759858582358 + ], + [ + 114.34684592862391, + 34.820045393903058 + ], + [ + 114.34341950477551, + 34.819902626242765 + ], + [ + 114.33985031326677, + 34.819331555601366 + ], + [ + 114.33342576855114, + 34.819331555601366 + ] + ] + ] + }, + "properties": { + "FID": 2, + "name": "古城海绵保护示范区", + "code": "GC", + "area": "12.79", + "designrain": "17.9", + "totallflow": "65%", + "fillcolor": "rgba(15, 216, 164, 0.6)", + "outcolor": "rgba(24, 255, 0, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.40136546591953, + 34.808881712754498 + ], + [ + 114.398748058813, + 34.805550467346222 + ], + [ + 114.39755832831008, + 34.801743329737008 + ], + [ + 114.395892705606, + 34.797698246027039 + ], + [ + 114.39565475950531, + 34.794842892819986 + ], + [ + 114.39565475950531, + 34.791511647411937 + ], + [ + 114.39613065170647, + 34.78889424030541 + ], + [ + 114.39732038220939, + 34.786990671500803 + ], + [ + 114.39922395101405, + 34.78389737219328 + ], + [ + 114.40012814619627, + 34.779852288483312 + ], + [ + 114.40098475215837, + 34.776568632295266 + ], + [ + 114.40069921683767, + 34.775283723352118 + ], + [ + 114.40055644917743, + 34.772999440786521 + ], + [ + 114.3989860049137, + 34.769144713957076 + ], + [ + 114.39884323725312, + 34.767431502032935 + ], + [ + 114.40141305513941, + 34.765432754788037 + ], + [ + 114.40212689344128, + 34.763576775203489 + ], + [ + 114.40269796408256, + 34.762434633920748 + ], + [ + 114.40455394366711, + 34.761578027958592 + ], + [ + 114.40583885261026, + 34.759864816034451 + ], + [ + 114.40569608495002, + 34.758008836449847 + ], + [ + 114.40412564068617, + 34.756438392185999 + ], + [ + 114.40740929687433, + 34.754011341960108 + ], + [ + 114.4165464271365, + 34.749014473847751 + ], + [ + 114.42154329524874, + 34.747158494263147 + ], + [ + 114.42539802207818, + 34.744160373395857 + ], + [ + 114.42782507230424, + 34.74187609083026 + ], + [ + 114.43010935486984, + 34.738021364000815 + ], + [ + 114.43196533445439, + 34.735451546114518 + ], + [ + 114.43367854637859, + 34.731596819285187 + ], + [ + 114.43353577871812, + 34.729883607360875 + ], + [ + 114.43867541449072, + 34.725315042229681 + ], + [ + 114.44342825085062, + 34.720520471565806 + ], + [ + 114.44913895726449, + 34.717094047717524 + ], + [ + 114.45542073432, + 34.713096553227786 + ], + [ + 114.46550964898472, + 34.708527988096421 + ], + [ + 114.47559856364933, + 34.702436567921609 + ], + [ + 114.47902498749784, + 34.700342642236478 + ], + [ + 114.48321283886798, + 34.706434062411347 + ], + [ + 114.48416462327043, + 34.744505438504632 + ], + [ + 114.48416462327043, + 34.764873624714596 + ], + [ + 114.48454533703136, + 34.767538621041183 + ], + [ + 114.48530676455312, + 34.770774688008999 + ], + [ + 114.48568747831405, + 34.778960033869112 + ], + [ + 114.48492605079218, + 34.788477877892433 + ], + [ + 114.48549712143358, + 34.797043937513365 + ], + [ + 114.48778140399918, + 34.798376435676744 + ], + [ + 114.48759104711871, + 34.807323209058609 + ], + [ + 114.48530676455312, + 34.807894279700065 + ], + [ + 114.48530676455312, + 34.811130346667881 + ], + [ + 114.48530676455312, + 34.814747127396799 + ], + [ + 114.48473569391172, + 34.815698911799018 + ], + [ + 114.48321283886798, + 34.816650696201464 + ], + [ + 114.48092855630239, + 34.817792837484319 + ], + [ + 114.47731177557364, + 34.817983194364615 + ], + [ + 114.47597927741026, + 34.817983194364615 + ], + [ + 114.47388535172513, + 34.819315692527994 + ], + [ + 114.47026857099638, + 34.81950604940846 + ], + [ + 114.45123288294974, + 34.812843558592192 + ], + [ + 114.43238755178345, + 34.813033915472658 + ], + [ + 114.42858041417412, + 34.807894279700065 + ], + [ + 114.40136546591953, + 34.808881712754498 + ] + ] + ] + }, + "properties": { + "FID": 3, + "name": "汴东海绵建设示范区", + "code": "BD", + "area": "52.62", + "designrain": "21.3", + "totallflow": "70%", + "fillcolor": "rgba(53, 63, 255, 0.6)", + "outcolor": "rgba(33, 101, 255, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.20652118157352, + 34.696789313801105 + ], + [ + 114.20723501987527, + 34.68536790097312 + ], + [ + 114.20699707377457, + 34.671329081038664 + ], + [ + 114.20675912767399, + 34.663476859719481 + ], + [ + 114.20414172056769, + 34.656814368903156 + ], + [ + 114.20200020566233, + 34.648724201483276 + ], + [ + 114.19938279855603, + 34.639444303560651 + ], + [ + 114.22151178591025, + 34.635637165951209 + ], + [ + 114.22008410930664, + 34.622788076519839 + ], + [ + 114.22960195332996, + 34.620884507715004 + ], + [ + 114.22936400722938, + 34.596851951556232 + ], + [ + 114.28099831105601, + 34.596851951556232 + ], + [ + 114.28290187986056, + 34.675612110849102 + ], + [ + 114.25577602439409, + 34.675136218648106 + ], + [ + 114.21794259440151, + 34.682512547766123 + ], + [ + 114.21770464830081, + 34.696789313801105 + ], + [ + 114.20652118157352, + 34.696789313801105 + ] + ] + ] + }, + "properties": { + "FID": 4, + "name": "产城融合海绵建设示范区", + "code": "CC", + "area": "24.13", + "designrain": "25.3", + "totallflow": "75%", + "fillcolor": "rgba(127, 255, 241, 0.6)", + "outcolor": "rgba(34, 255, 231, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.14668053986202, + 34.747563591878873 + ], + [ + 114.14709031418386, + 34.736129692501208 + ], + [ + 114.1420934460715, + 34.736367638601848 + ], + [ + 114.14116457923512, + 34.719180858836296 + ], + [ + 114.24084107781346, + 34.718521681058121 + ], + [ + 114.24107902391415, + 34.725184171874446 + ], + [ + 114.23774777850588, + 34.726135956276835 + ], + [ + 114.23632010190249, + 34.747313159228611 + ], + [ + 114.22228128196798, + 34.748264943631 + ], + [ + 114.22204333586751, + 34.7608760869619 + ], + [ + 114.21680852165468, + 34.761114033062427 + ], + [ + 114.21609468335294, + 34.772773391991052 + ], + [ + 114.20395943222309, + 34.769680092683473 + ], + [ + 114.20348354002192, + 34.836305000846721 + ], + [ + 114.19627802948764, + 34.835169152718493 + ], + [ + 114.19653705479629, + 34.83401665939283 + ], + [ + 114.19642463274454, + 34.833382272819335 + ], + [ + 114.19623552425173, + 34.832213918895491 + ], + [ + 114.19447309513782, + 34.832362099778152 + ], + [ + 114.19366442896876, + 34.829315412513211 + ], + [ + 114.18974249158805, + 34.829877144855459 + ], + [ + 114.18954734019383, + 34.829253610994101 + ], + [ + 114.19064869337967, + 34.829104588213681 + ], + [ + 114.19004001692838, + 34.827427176778144 + ], + [ + 114.19096119900962, + 34.827391591556648 + ], + [ + 114.19136405475865, + 34.828944457107639 + ], + [ + 114.19301655970878, + 34.828613100019709 + ], + [ + 114.19251519567251, + 34.826681410391927 + ], + [ + 114.19324093941088, + 34.826545151781829 + ], + [ + 114.1924887580517, + 34.823580794482268 + ], + [ + 114.18968507971636, + 34.822251675401901 + ], + [ + 114.18923853945466, + 34.820318909062564 + ], + [ + 114.18830492037409, + 34.820053067617494 + ], + [ + 114.18489825962899, + 34.820091947234573 + ], + [ + 114.18470802637, + 34.819657646129428 + ], + [ + 114.18390994817787, + 34.819826155127828 + ], + [ + 114.18341164253115, + 34.820488303561717 + ], + [ + 114.17909076878027, + 34.818976845219026 + ], + [ + 114.17921598679948, + 34.820811108999692 + ], + [ + 114.17742905147759, + 34.821154668894394 + ], + [ + 114.17638550926392, + 34.820639165469743 + ], + [ + 114.17728608786979, + 34.823441961648143 + ], + [ + 114.17626017013288, + 34.823577584871941 + ], + [ + 114.17541824990633, + 34.82122684578394 + ], + [ + 114.17383931451116, + 34.821349099743429 + ], + [ + 114.17390690477146, + 34.822552783254309 + ], + [ + 114.17179824201469, + 34.823225466905114 + ], + [ + 114.1712936897809, + 34.822355535144027 + ], + [ + 114.16951111574303, + 34.822695070583052 + ], + [ + 114.16905704291548, + 34.820464709238024 + ], + [ + 114.16496850460919, + 34.821144399339914 + ], + [ + 114.1266269495336, + 34.810844768084337 + ], + [ + 114.1299005933281, + 34.802259738131454 + ], + [ + 114.1310583919676, + 34.802171767392679 + ], + [ + 114.13104057649832, + 34.801642044593848 + ], + [ + 114.1320932163934, + 34.801643766706093 + ], + [ + 114.13198585668806, + 34.801179558835031 + ], + [ + 114.13166576015499, + 34.80102931349478 + ], + [ + 114.13285135078593, + 34.799497009442405 + ], + [ + 114.13724073576327, + 34.798705429152903 + ], + [ + 114.13612664930338, + 34.797610927386359 + ], + [ + 114.13972815499369, + 34.796849779366937 + ], + [ + 114.13932802530462, + 34.794926831836108 + ], + [ + 114.13965316579618, + 34.794767273177172 + ], + [ + 114.13956015299254, + 34.793107250598609 + ], + [ + 114.1410248952061, + 34.792834712422234 + ], + [ + 114.1406915009419, + 34.790296047360755 + ], + [ + 114.14108038179904, + 34.790283271833118 + ], + [ + 114.14103498583256, + 34.789975185934281 + ], + [ + 114.14293442482233, + 34.789862041526135 + ], + [ + 114.14301008543111, + 34.790367297853209 + ], + [ + 114.14366822959039, + 34.790366522821046 + ], + [ + 114.14405906076081, + 34.791475355986108 + ], + [ + 114.14748972163989, + 34.791120835413381 + ], + [ + 114.1475512642229, + 34.791665037338134 + ], + [ + 114.14798158320616, + 34.791591130820791 + ], + [ + 114.14715602877277, + 34.787257335397612 + ], + [ + 114.14769780694894, + 34.78715959454172 + ], + [ + 114.14692745829154, + 34.783833851252382 + ], + [ + 114.14745199863455, + 34.783701077846445 + ], + [ + 114.14743679934338, + 34.783352728523539 + ], + [ + 114.14963780016831, + 34.783289979883989 + ], + [ + 114.14961368029071, + 34.782943081673579 + ], + [ + 114.15011825093598, + 34.782965045498656 + ], + [ + 114.15020225072249, + 34.782087356527541 + ], + [ + 114.15178118576978, + 34.782109056213869 + ], + [ + 114.15317382781609, + 34.782296572129553 + ], + [ + 114.15324387078851, + 34.781362009383088 + ], + [ + 114.15562421031336, + 34.781340953190579 + ], + [ + 114.15556340882472, + 34.781812421138454 + ], + [ + 114.15644941061078, + 34.78178817930376 + ], + [ + 114.15651695151678, + 34.781361666139446 + ], + [ + 114.15783089481056, + 34.781465883237104 + ], + [ + 114.16045710497667, + 34.78080343490376 + ], + [ + 114.16028365458646, + 34.779720996993262 + ], + [ + 114.15882725674999, + 34.779781745681873 + ], + [ + 114.15871954518605, + 34.778863344003582 + ], + [ + 114.16399048142978, + 34.778369040752978 + ], + [ + 114.16393633391169, + 34.777930031295568 + ], + [ + 114.1625246579224, + 34.778019740560126 + ], + [ + 114.16241710877, + 34.777171768920027 + ], + [ + 114.16379236727232, + 34.776971564408939 + ], + [ + 114.1638645981418, + 34.7773748101298 + ], + [ + 114.16503353021437, + 34.777272807288114 + ], + [ + 114.16466881260999, + 34.772454179409351 + ], + [ + 114.16671470924678, + 34.772153873102241 + ], + [ + 114.16666906620969, + 34.771362398220674 + ], + [ + 114.16739993937949, + 34.771158064961014 + ], + [ + 114.1672732482798, + 34.770230782089925 + ], + [ + 114.16813681942995, + 34.769575922143417 + ], + [ + 114.16812482248918, + 34.767067632291116 + ], + [ + 114.1674290606453, + 34.766982197607092 + ], + [ + 114.1674617062456, + 34.764793147799708 + ], + [ + 114.16640292317891, + 34.764666978058926 + ], + [ + 114.16322804306344, + 34.76234641664638 + ], + [ + 114.16018910851733, + 34.76240451963173 + ], + [ + 114.15989133368498, + 34.761565551194792 + ], + [ + 114.16089700667055, + 34.761351292273957 + ], + [ + 114.16060938787405, + 34.76026458089035 + ], + [ + 114.15605748203529, + 34.761285538640664 + ], + [ + 114.15579621469544, + 34.760439753262574 + ], + [ + 114.15528159328153, + 34.760544252593377 + ], + [ + 114.15552735885035, + 34.76136173998475 + ], + [ + 114.15478777936539, + 34.762351909242625 + ], + [ + 114.15379139546167, + 34.7625663318139 + ], + [ + 114.1533091089924, + 34.76128891022563 + ], + [ + 114.15181750487602, + 34.76145092234492 + ], + [ + 114.15213574984887, + 34.76267120477894 + ], + [ + 114.15169897266753, + 34.76268670943216 + ], + [ + 114.15124830357308, + 34.762403885731146 + ], + [ + 114.1483465995783, + 34.762615522848421 + ], + [ + 114.14781988788786, + 34.761212267259339 + ], + [ + 114.14699828824848, + 34.761337253256386 + ], + [ + 114.14686303452027, + 34.760525441555671 + ], + [ + 114.14731702473375, + 34.760445727879642 + ], + [ + 114.14651468136879, + 34.757754283145573 + ], + [ + 114.14713995760553, + 34.75744930560063 + ], + [ + 114.14705010809666, + 34.756953013274824 + ], + [ + 114.1466180589141, + 34.756705299688122 + ], + [ + 114.14657736566335, + 34.755459953100512 + ], + [ + 114.14725898740096, + 34.755410569963431 + ], + [ + 114.14662882794869, + 34.751966776758877 + ], + [ + 114.14714399430477, + 34.751934633833059 + ], + [ + 114.14739600683038, + 34.753421356239016 + ], + [ + 114.14899285758077, + 34.753163442310949 + ], + [ + 114.14850929117506, + 34.749626357934801 + ], + [ + 114.1497559914684, + 34.749574744163056 + ], + [ + 114.14939605044674, + 34.747846889345283 + ], + [ + 114.14801750621189, + 34.747996651414496 + ], + [ + 114.14791470831244, + 34.747485383100752 + ], + [ + 114.14734080941821, + 34.747547804800377 + ], + [ + 114.14753041114363, + 34.748432174148263 + ], + [ + 114.14670764897892, + 34.748555928958069 + ], + [ + 114.14668053986202, + 34.747563591878873 + ] + ] + ] + }, + "properties": { + "FID": 5, + "name": "郑开同城海绵建设示范区", + "code": "ZK", + "area": "64.04", + "designrain": "22.9", + "totallflow": "72%", + "fillcolor": "rgba(99, 172, 255, 0.6)", + "outcolor": "rgba(22, 131, 255, 1)" + } + } + ] +} \ No newline at end of file diff --git a/src/assets/geojson/kaifengPSFQlabel1.json b/src/assets/geojson/kaifengPSFQlabel1.json new file mode 100644 index 0000000..0bb5788 --- /dev/null +++ b/src/assets/geojson/kaifengPSFQlabel1.json @@ -0,0 +1 @@ +{"type":"FeatureCollection","features":[{"type":"Feature","id":0,"geometry":{"type":"Point","coordinates":[114.25209740441721,34.790502095924182]},"properties":{"FID":0,"name":"城乡一体化海绵建设示范区"}},{"type":"Feature","id":1,"geometry":{"type":"Point","coordinates":[114.34614389231814,34.762948287529525]},"properties":{"FID":1,"name":"城区海绵提升示范区"}},{"type":"Feature","id":2,"geometry":{"type":"Point","coordinates":[114.34590040543742,34.801709050482714]},"properties":{"FID":2,"name":"古城海绵保护示范区"}},{"type":"Feature","id":3,"geometry":{"type":"Point","coordinates":[114.44844842563191,34.768566207792162]},"properties":{"FID":3,"name":"汴东海绵建设示范区"}},{"type":"Feature","id":4,"geometry":{"type":"Point","coordinates":[114.24583441098309,34.642501613622528]},"properties":{"FID":4,"name":"产城融合海绵建设示范区"}},{"type":"Feature","id":5,"geometry":{"type":"Point","coordinates":[114.18304590708578,34.766210864832203]},"properties":{"FID":5,"name":"郑开同城海绵建设示范区"}}]} \ No newline at end of file diff --git a/src/utils/gis/AMapUtils.js b/src/utils/gis/AMapUtils.js index 5168270..a866309 100644 --- a/src/utils/gis/AMapUtils.js +++ b/src/utils/gis/AMapUtils.js @@ -1,155 +1,207 @@ -import lodash from "lodash"; +import { feature } from '@turf/turf'; +import lodash from 'lodash'; export default class AMapUtils { + static _default = { + options: { + rotateEnable: true, + pitchEnable: true, + zoom: 10, + pitch: 0, + rotation: 0, + viewMode: '3D', //开启3D视图,默认为关闭 + zooms: [2, 20], + mapStyle: 'amap://styles/light', + center: [114.33999667685148, 34.80389630895566], + }, + keys: { + temporary: 'temporary', + }, + events: { + click: 'click', + }, + }; - static _default = { - options: { - rotateEnable: true, - pitchEnable: true, - zoom: 10, - pitch: 0, - rotation: 0, - viewMode: '3D', //开启3D视图,默认为关闭 - zooms: [2, 20], - mapStyle: 'amap://styles/light', - center: [114.33999667685148, 34.80389630895566] - }, - keys: { - temporary: 'temporary' - }, - events: { - click: 'click' - } - } + _map = null; - _map = null; + callbacks = { + click: [], + }; - callbacks = { - click: [] - } + constructor(container, options = {}) { + this.initMap(container, options); + } + initMap(container, options) { + this._map = new AMap.Map(container, Object.assign(AMapUtils._default.options, options)); + } - constructor(container, options = {}) { - this.initMap(container, options); - } + /*自动定位*/ + showCityInfo() { + let self = this; + var citysearch = new AMap.CitySearch(); + citysearch.getLocalCity(function (status, result) { + if (!(status === 'complete' && result.info === 'OK')) return; + if (result && result.city && result.bounds) { + var cityinfo = result.city; + var citybounds = result.bounds; + self._map.setBounds(citybounds); + } + }); + } - initMap(container, options) { - this._map = new AMap.Map(container, Object.assign(AMapUtils._default.options, options)); - } - - /*自动定位*/ - showCityInfo() { - let self = this; - var citysearch = new AMap.CitySearch() - citysearch.getLocalCity(function (status, result) { - if (!(status === 'complete' && result.info === 'OK')) return; - if (result && result.city && result.bounds) { - var cityinfo = result.city - var citybounds = result.bounds - self._map.setBounds(citybounds); - } + geojsonToMap(geojson) { + let self = this; + geojson = gcoord.transform(geojson, gcoord.WGS84, gcoord.AMap); + let labelsLayer = new AMap.LabelsLayer({ collision: false, zooms: [0, 20], zIndex: 1000 }); + let geoJSON = new AMap.GeoJSON({ + geoJSON: geojson, + getMarker: (feature, lnglats) => { + const { properties } = feature; + const { mapParams } = properties; + let overLay = new AMap.LabelMarker({ + position: lnglats, + zooms: [0, 20], + opacity: 1, + zIndex: 2, + anchor: 'bottom-center', + offset: new AMap.Pixel(0, 0), + icon: { + type: 'image', + image: mapParams.icon || '//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png', + anchor: 'bottom-center', + size: mapParams.size || [15, 20], + }, + text: { + content: mapParams.name || '', + zooms: [15, 20], + style: { + fontSize: 15, + }, + }, + extData: properties, }); - } - - geojsonToMap(geojson) { - let self = this; - geojson = gcoord.transform(geojson, gcoord.WGS84, gcoord.AMap); - let labelsLayer = new AMap.LabelsLayer({ collision: false, zooms: [0, 20], zIndex: 1000 }); - let geoJSON = new AMap.GeoJSON({ - geoJSON: geojson, - getMarker: (feature, lnglats) => { - const { properties } = feature; - const { mapParams } = properties; - let overLay = new AMap.LabelMarker({ - position: lnglats, - zooms: [0, 20], - opacity: 1, - zIndex: 2, - anchor: 'bottom-center', - offset: new AMap.Pixel(0, 0), - icon: { - type: 'image', - image: mapParams.icon || '//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png', - anchor: 'bottom-center', - size: mapParams.size || [15, 20] - }, - text: { - content: mapParams.name || '', - zooms: [15, 20], - style: { - fontSize: 15, - } - }, - extData: properties - }); - overLay.newfiberId = mapParams.group || AMapUtils._default.keys.temporary; - labelsLayer.add(overLay); - // return overLay; - }, - getPolyline: (feature, lnglats) => { - const { properties } = feature; - const { mapParams } = properties; - let overLay = new AMap.Polyline({ - path: lnglats, - isOutline: true, - outlineColor: '#ffeeff', - borderWeight: 3, - strokeColor: "#3366FF", - strokeOpacity: 1, - strokeWeight: 6, - // 折线样式还支持 'dashed' - strokeStyle: "dashed", - // strokeStyle是dashed时有效 - strokeDasharray: [15, 5], - lineJoin: 'round', - lineCap: 'round', - zIndex: 50, - extData: properties - }); - overLay.newfiberId = mapParams.group || AMapUtils._default.keys.temporary; - return overLay; - }, - getPolygon: (feature, lnglats) => { - const { properties } = feature; - const { mapParams } = properties; - let overLay = new AMap.Polygon({ - path: data, - fillColor: '#ccebc5', - strokeOpacity: 1, - fillOpacity: 0.5, - strokeColor: '#2b8cbe', - strokeWeight: 1, - strokeStyle: 'dashed', - strokeDasharray: [5, 5], - extData: properties - }); - overLay.newfiberId = mapParams.group || AMapUtils._default.keys.temporary; - return overLay; - }, + overLay.newfiberId = mapParams.group || AMapUtils._default.keys.temporary; + labelsLayer.add(overLay); + // return overLay; + }, + getPolyline: (feature, lnglats) => { + const { properties } = feature; + const { mapParams } = properties; + let overLay = new AMap.Polyline({ + path: lnglats, + isOutline: true, + outlineColor: '#ffeeff', + borderWeight: 3, + strokeColor: '#3366FF', + strokeOpacity: 1, + strokeWeight: 6, + // 折线样式还支持 'dashed' + strokeStyle: 'dashed', + // strokeStyle是dashed时有效 + strokeDasharray: [15, 5], + lineJoin: 'round', + lineCap: 'round', + zIndex: 50, + extData: properties, }); - let arrays = geoJSON.getOverlays().filter(Boolean); - let arrays1 = labelsLayer.getAllOverlays().filter(Boolean); - if (arrays1.length) this._map.add(labelsLayer); - if (arrays.length) this._map.add(geoJSON); - this._map.setFitView(null, false, [150, 60, 100, 60]); - arrays.concat(arrays1).forEach(i => i.on('click', lodash.debounce(function (a) { - self.callbacks.click.forEach(i => i(a.target, [a.lnglat.lng, a.lnglat.lat])) - }, 500))); - } + overLay.newfiberId = mapParams.group || AMapUtils._default.keys.temporary; + return overLay; + }, + getPolygon: (feature, lnglats) => { + const { properties } = feature; + const { mapParams } = properties; + let overLay = new AMap.Polygon({ + path: data, + fillColor: '#ccebc5', + strokeOpacity: 1, + fillOpacity: 0.5, + strokeColor: '#2b8cbe', + strokeWeight: 1, + strokeStyle: 'dashed', + strokeDasharray: [5, 5], + extData: properties, + }); + overLay.newfiberId = mapParams.group || AMapUtils._default.keys.temporary; + return overLay; + }, + }); + let arrays = geoJSON.getOverlays().filter(Boolean); + let arrays1 = labelsLayer.getAllOverlays().filter(Boolean); + if (arrays1.length) this._map.add(labelsLayer); + if (arrays.length) this._map.add(geoJSON); + this._map.setFitView(null, false, [150, 60, 100, 60]); + arrays.concat(arrays1).forEach((i) => + i.on( + 'click', + lodash.debounce(function (a) { + self.callbacks.click.forEach((i) => i(a.target, [a.lnglat.lng, a.lnglat.lat])); + }, 500) + ) + ); + } + addGeojsonPolygon(Geojson, layerName) { + let geojsonPolygon = new AMap.GeoJSON({ + geoJSON: Geojson, + // 还可以自定义getMarker和getPolyline + getPolygon: (geojson, lnglats) => { + // 计算面积 + let eachPolygon = new AMap.Polygon({ + path: lnglats, + strokeColor: geojson.properties.outcolor || 'rgba(190, 161, 58, 1)', + strokeWeight: 2, + fillColor: geojson.properties.fillcolor || 'rgba(151 ,255 ,255,.2)', + }); + eachPolygon.newfiberId = layerName; + return eachPolygon; + }, + }); + this._map.add(geojsonPolygon); + } + //添加纯文本标注 + addLabelLayer(geojson, layerName) { + geojson.features.forEach((feature) => { + gcoord.transform(feature, gcoord.WGS84, gcoord.AMap); + let labelLayer = new AMap.Text({ + text: feature.properties.name, //标记显示的文本内容 + anchor: 'center', //设置文本标记锚点位置 + draggable: true, //是否可拖拽 + cursor: 'pointer', //指定鼠标悬停时的鼠标样式。 + style: { + background: 'none', + padding: '5px 10px', + 'border-radius': '4px', + color: '#1c92ff', + 'text-align': 'center', + 'font-family': 'Microsoft YaHei', + 'font-size': '15px', + 'font-style': 'normal', + 'font-weight': 800, + 'line-height': 'normal', + 'box-shadow': '0 2px 6px 0 rgba(97, 113, 166, 0)', + 'box-shadow': '0 2px 4px rgba(108, 167, 255, 1), 0 0 4px rgba(108, 167, 255, 1)', + border: '1px solid rgba(108, 167, 255, 1)', + }, + position: feature.geometry.coordinates, //点标记在地图上显示的位置 + }); + labelLayer.newfiberId = layerName; + this._map.add(labelLayer); //将文本标记设置到地图上 + gcoord.transform(feature, gcoord.AMap, gcoord.WGS84); + }); + } + removeByIds(ids = []) { + this.getOverLaysByIds(ids).forEach((i) => i.remove()); + } - removeByIds(ids = []) { - this.getOverLaysByIds(ids).forEach(i => i.remove()); - } + setVisibleByIds(ids = [], visible) { + this.getOverLaysByIds(ids).forEach((i) => i[visible ? 'show' : 'hide']()); + } - setVisibleByIds(ids = [], visible) { - this.getOverLaysByIds(ids).forEach(i => i[visible ? 'show' : 'hide']()); - } + getOverLaysByIds(ids = []) { + return this._map.getAllOverlays().filter((i) => ids.includes(i.newfiberId)); + } - getOverLaysByIds(ids = []) { - return this._map.getAllOverlays().filter(i => ids.includes(i.newfiberId)); - } - - registerEvent(type = AMapUtils._default.events.click, callback = () => { }) { - let self = this; - self.callbacks[type].push(callback); - } + registerEvent(type = AMapUtils._default.events.click, callback = () => {}) { + let self = this; + self.callbacks[type].push(callback); + } } diff --git a/src/assets/geojson/kaifengPSFQ1.json b/src/assets/geojson/kaifengPSFQ1.json new file mode 100644 index 0000000..098b9e9 --- /dev/null +++ b/src/assets/geojson/kaifengPSFQ1.json @@ -0,0 +1,1727 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.20348354002192, + 34.836305000846721 + ], + [ + 114.20395943222309, + 34.769680092683473 + ], + [ + 114.21609468335294, + 34.772773391991052 + ], + [ + 114.21680852165468, + 34.761114033062427 + ], + [ + 114.22204333586751, + 34.7608760869619 + ], + [ + 114.22228128196798, + 34.748264943631 + ], + [ + 114.23632010190249, + 34.747313159228611 + ], + [ + 114.23774777850588, + 34.726135956276835 + ], + [ + 114.24107902391415, + 34.725184171874446 + ], + [ + 114.26874025810696, + 34.725332888187324 + ], + [ + 114.2684428254812, + 34.756860746514576 + ], + [ + 114.28019141419747, + 34.756712030201697 + ], + [ + 114.28034013051035, + 34.748086484055534 + ], + [ + 114.28866824403076, + 34.747789051429834 + ], + [ + 114.2877759461536, + 34.739907086848007 + ], + [ + 114.30056554905991, + 34.739460937909428 + ], + [ + 114.30205271218858, + 34.745260874111125 + ], + [ + 114.29372459866795, + 34.764891427409225 + ], + [ + 114.29655020861242, + 34.822147207862031 + ], + [ + 114.29208871922663, + 34.831516335572474 + ], + [ + 114.29238615185238, + 34.845346952668876 + ], + [ + 114.28851952771788, + 34.846090534233213 + ], + [ + 114.28703236458909, + 34.841331612221552 + ], + [ + 114.28301702414194, + 34.841777761160131 + ], + [ + 114.27171458436408, + 34.841034179595795 + ], + [ + 114.25728910201622, + 34.840588030657216 + ], + [ + 114.25684295307781, + 34.84222391009871 + ], + [ + 114.25000200268585, + 34.841629044847252 + ], + [ + 114.24435078279703, + 34.841480328534374 + ], + [ + 114.24417232322173, + 34.839874192355467 + ], + [ + 114.20348354002192, + 34.836305000846721 + ] + ] + ] + }, + "properties": { + "FID": 0, + "name": "城乡一体化海绵建设示范区", + "code": "CX", + "area": "76.74", + "designrain": "21.3", + "totallflow": "70%", + "fillcolor": "rgba(213, 141, 255, 0.6)", + "outcolor": "rgba(175, 39, 255, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "MultiPolygon", + "coordinates": [ + [ + [ + [ + 114.29745989792139, + 34.711462719857309 + ], + [ + 114.30269471213421, + 34.711938612058361 + ], + [ + 114.30388444263713, + 34.714793965265414 + ], + [ + 114.28699026949562, + 34.714556019164888 + ], + [ + 114.28699026949562, + 34.705038175141567 + ], + [ + 114.29603222131789, + 34.705038175141567 + ], + [ + 114.29484249081486, + 34.709321204952175 + ], + [ + 114.29745989792139, + 34.708845312750839 + ], + [ + 114.29745989792139, + 34.711462719857309 + ] + ] + ], + [ + [ + [ + 114.42782507230424, + 34.74187609083026 + ], + [ + 114.42539802207818, + 34.744160373395857 + ], + [ + 114.42154329524874, + 34.747158494263147 + ], + [ + 114.4165464271365, + 34.749014473847751 + ], + [ + 114.40740929687433, + 34.754011341960108 + ], + [ + 114.40412564068617, + 34.756438392185999 + ], + [ + 114.40569608495002, + 34.758008836449847 + ], + [ + 114.40583885261026, + 34.759864816034451 + ], + [ + 114.40455394366711, + 34.761578027958592 + ], + [ + 114.40269796408256, + 34.762434633920748 + ], + [ + 114.40212689344128, + 34.763576775203489 + ], + [ + 114.40141305513941, + 34.765432754788037 + ], + [ + 114.39884323725312, + 34.767431502032935 + ], + [ + 114.3989860049137, + 34.769144713957076 + ], + [ + 114.40055644917743, + 34.772999440786521 + ], + [ + 114.40069921683767, + 34.775283723352118 + ], + [ + 114.40098475215837, + 34.776568632295266 + ], + [ + 114.40012814619627, + 34.779852288483312 + ], + [ + 114.39922395101405, + 34.78389737219328 + ], + [ + 114.39732038220939, + 34.786990671500803 + ], + [ + 114.39613065170647, + 34.78889424030541 + ], + [ + 114.39565475950531, + 34.791511647411937 + ], + [ + 114.39565475950531, + 34.794842892819986 + ], + [ + 114.395892705606, + 34.797698246027039 + ], + [ + 114.39755832831008, + 34.801743329737008 + ], + [ + 114.398748058813, + 34.805550467346222 + ], + [ + 114.40136546591953, + 34.808881712754498 + ], + [ + 114.40065162761766, + 34.813878580866628 + ], + [ + 114.39969984321522, + 34.816258041872459 + ], + [ + 114.39803422051114, + 34.817923664576597 + ], + [ + 114.39494092120356, + 34.819589287280735 + ], + [ + 114.39922395101405, + 34.828393293002307 + ], + [ + 114.39041994529259, + 34.832914268913271 + ], + [ + 114.38566102328093, + 34.837435244824462 + ], + [ + 114.38114004736997, + 34.837911137025628 + ], + [ + 114.38090210126927, + 34.84409773564073 + ], + [ + 114.29238615185238, + 34.845346952668876 + ], + [ + 114.29208871922663, + 34.831516335572474 + ], + [ + 114.29655020861242, + 34.822147207862031 + ], + [ + 114.29372459866795, + 34.764891427409225 + ], + [ + 114.30205271218858, + 34.745260874111125 + ], + [ + 114.30056554905991, + 34.739460937909428 + ], + [ + 114.304473813762, + 34.738449666981978 + ], + [ + 114.31047005549658, + 34.73716475803883 + ], + [ + 114.31532415594847, + 34.736022616755918 + ], + [ + 114.31047005549658, + 34.724886739248689 + ], + [ + 114.31403924700533, + 34.723030759664084 + ], + [ + 114.31532415594847, + 34.724743971588282 + ], + [ + 114.31703736787267, + 34.728313163097027 + ], + [ + 114.3181795091557, + 34.732167889926473 + ], + [ + 114.32089209470212, + 34.738306899321515 + ], + [ + 114.3357399313785, + 34.736593687397374 + ], + [ + 114.33602546669943, + 34.734166637171313 + ], + [ + 114.37128907880572, + 34.73202512226618 + ], + [ + 114.38128281503009, + 34.731025748643788 + ], + [ + 114.38485200653884, + 34.730026375021339 + ], + [ + 114.38385263291639, + 34.714893003024201 + ], + [ + 114.38585138016128, + 34.710324437893007 + ], + [ + 114.38956333933061, + 34.705898640422106 + ], + [ + 114.42411311313504, + 34.705470337441113 + ], + [ + 114.42397034547491, + 34.706898014044555 + ], + [ + 114.42582632505935, + 34.707326317025718 + ], + [ + 114.4268256986818, + 34.705898640422106 + ], + [ + 114.4271112340025, + 34.707040781704961 + ], + [ + 114.42925274890763, + 34.70775462000671 + ], + [ + 114.42968105188879, + 34.708753993629102 + ], + [ + 114.43082319317148, + 34.709039528949859 + ], + [ + 114.43096596083183, + 34.706612478723969 + ], + [ + 114.43253640509568, + 34.706326943403269 + ], + [ + 114.43424961701999, + 34.707897387666947 + ], + [ + 114.43410684935952, + 34.711038276194699 + ], + [ + 114.43496345532174, + 34.711752114496448 + ], + [ + 114.43767604086827, + 34.712894255779304 + ], + [ + 114.43796157618897, + 34.715606841325894 + ], + [ + 114.43781880852873, + 34.718462194532947 + ], + [ + 114.43781880852873, + 34.721460315400236 + ], + [ + 114.43867541449072, + 34.725315042229681 + ], + [ + 114.43353577871812, + 34.729883607360875 + ], + [ + 114.43367854637859, + 34.731596819285187 + ], + [ + 114.43196533445439, + 34.735451546114518 + ], + [ + 114.43010935486984, + 34.738021364000815 + ], + [ + 114.42782507230424, + 34.74187609083026 + ] + ] + ], + [ + [ + [ + 114.30340855043607, + 34.858751356118148 + ], + [ + 114.28699026949562, + 34.859703140520537 + ], + [ + 114.28675232339526, + 34.848995565994301 + ], + [ + 114.30792952634704, + 34.848995565994301 + ], + [ + 114.30888131074926, + 34.853754488005961 + ], + [ + 114.30317060433538, + 34.853516541905265 + ], + [ + 114.30340855043607, + 34.858751356118148 + ] + ] + ] + ] + }, + "properties": { + "FID": 1, + "name": "城区海绵提升示范区", + "code": "CQ", + "area": "98.87", + "designrain": "19.8", + "totallflow": "68%", + "fillcolor": "rgba(250, 255, 114, 0.6)", + "outcolor": "rgba(247, 255, 30, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.33342576855114, + 34.819331555601366 + ], + [ + 114.33356853621137, + 34.818903252620373 + ], + [ + 114.33214085960799, + 34.818189414318624 + ], + [ + 114.33028488002333, + 34.815334061111628 + ], + [ + 114.32957104172169, + 34.811622101942419 + ], + [ + 114.32899997108018, + 34.806482466169768 + ], + [ + 114.32785782979738, + 34.803056042321487 + ], + [ + 114.32614461787318, + 34.801057295076646 + ], + [ + 114.32571631489225, + 34.795774891643532 + ], + [ + 114.32685845617493, + 34.795774891643532 + ], + [ + 114.32514524425073, + 34.786209458400208 + ], + [ + 114.32828613277854, + 34.786066690739915 + ], + [ + 114.33342576855114, + 34.785210084777759 + ], + [ + 114.33728049538058, + 34.784639014136303 + ], + [ + 114.34199182817201, + 34.783639640513911 + ], + [ + 114.34784530224636, + 34.78249749923117 + ], + [ + 114.35726796782944, + 34.781783660929307 + ], + [ + 114.35812457379166, + 34.784353478815603 + ], + [ + 114.3594094827348, + 34.787066064362364 + ], + [ + 114.36097992699865, + 34.789493114588197 + ], + [ + 114.3614082299797, + 34.79263400311595 + ], + [ + 114.3622648359418, + 34.795774891643532 + ], + [ + 114.36269313892285, + 34.798915780171285 + ], + [ + 114.3642635831867, + 34.800057921454197 + ], + [ + 114.36512018914868, + 34.80248497168003 + ], + [ + 114.36469188616763, + 34.806054163188776 + ], + [ + 114.3642635831867, + 34.808481213414836 + ], + [ + 114.36569125979008, + 34.813478081527023 + ], + [ + 114.36711893639358, + 34.817761111337461 + ], + [ + 114.36554849212985, + 34.818474949639153 + ], + [ + 114.35983778571574, + 34.819188787941073 + ], + [ + 114.35355600866046, + 34.819759858582358 + ], + [ + 114.34684592862391, + 34.820045393903058 + ], + [ + 114.34341950477551, + 34.819902626242765 + ], + [ + 114.33985031326677, + 34.819331555601366 + ], + [ + 114.33342576855114, + 34.819331555601366 + ] + ] + ] + }, + "properties": { + "FID": 2, + "name": "古城海绵保护示范区", + "code": "GC", + "area": "12.79", + "designrain": "17.9", + "totallflow": "65%", + "fillcolor": "rgba(15, 216, 164, 0.6)", + "outcolor": "rgba(24, 255, 0, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.40136546591953, + 34.808881712754498 + ], + [ + 114.398748058813, + 34.805550467346222 + ], + [ + 114.39755832831008, + 34.801743329737008 + ], + [ + 114.395892705606, + 34.797698246027039 + ], + [ + 114.39565475950531, + 34.794842892819986 + ], + [ + 114.39565475950531, + 34.791511647411937 + ], + [ + 114.39613065170647, + 34.78889424030541 + ], + [ + 114.39732038220939, + 34.786990671500803 + ], + [ + 114.39922395101405, + 34.78389737219328 + ], + [ + 114.40012814619627, + 34.779852288483312 + ], + [ + 114.40098475215837, + 34.776568632295266 + ], + [ + 114.40069921683767, + 34.775283723352118 + ], + [ + 114.40055644917743, + 34.772999440786521 + ], + [ + 114.3989860049137, + 34.769144713957076 + ], + [ + 114.39884323725312, + 34.767431502032935 + ], + [ + 114.40141305513941, + 34.765432754788037 + ], + [ + 114.40212689344128, + 34.763576775203489 + ], + [ + 114.40269796408256, + 34.762434633920748 + ], + [ + 114.40455394366711, + 34.761578027958592 + ], + [ + 114.40583885261026, + 34.759864816034451 + ], + [ + 114.40569608495002, + 34.758008836449847 + ], + [ + 114.40412564068617, + 34.756438392185999 + ], + [ + 114.40740929687433, + 34.754011341960108 + ], + [ + 114.4165464271365, + 34.749014473847751 + ], + [ + 114.42154329524874, + 34.747158494263147 + ], + [ + 114.42539802207818, + 34.744160373395857 + ], + [ + 114.42782507230424, + 34.74187609083026 + ], + [ + 114.43010935486984, + 34.738021364000815 + ], + [ + 114.43196533445439, + 34.735451546114518 + ], + [ + 114.43367854637859, + 34.731596819285187 + ], + [ + 114.43353577871812, + 34.729883607360875 + ], + [ + 114.43867541449072, + 34.725315042229681 + ], + [ + 114.44342825085062, + 34.720520471565806 + ], + [ + 114.44913895726449, + 34.717094047717524 + ], + [ + 114.45542073432, + 34.713096553227786 + ], + [ + 114.46550964898472, + 34.708527988096421 + ], + [ + 114.47559856364933, + 34.702436567921609 + ], + [ + 114.47902498749784, + 34.700342642236478 + ], + [ + 114.48321283886798, + 34.706434062411347 + ], + [ + 114.48416462327043, + 34.744505438504632 + ], + [ + 114.48416462327043, + 34.764873624714596 + ], + [ + 114.48454533703136, + 34.767538621041183 + ], + [ + 114.48530676455312, + 34.770774688008999 + ], + [ + 114.48568747831405, + 34.778960033869112 + ], + [ + 114.48492605079218, + 34.788477877892433 + ], + [ + 114.48549712143358, + 34.797043937513365 + ], + [ + 114.48778140399918, + 34.798376435676744 + ], + [ + 114.48759104711871, + 34.807323209058609 + ], + [ + 114.48530676455312, + 34.807894279700065 + ], + [ + 114.48530676455312, + 34.811130346667881 + ], + [ + 114.48530676455312, + 34.814747127396799 + ], + [ + 114.48473569391172, + 34.815698911799018 + ], + [ + 114.48321283886798, + 34.816650696201464 + ], + [ + 114.48092855630239, + 34.817792837484319 + ], + [ + 114.47731177557364, + 34.817983194364615 + ], + [ + 114.47597927741026, + 34.817983194364615 + ], + [ + 114.47388535172513, + 34.819315692527994 + ], + [ + 114.47026857099638, + 34.81950604940846 + ], + [ + 114.45123288294974, + 34.812843558592192 + ], + [ + 114.43238755178345, + 34.813033915472658 + ], + [ + 114.42858041417412, + 34.807894279700065 + ], + [ + 114.40136546591953, + 34.808881712754498 + ] + ] + ] + }, + "properties": { + "FID": 3, + "name": "汴东海绵建设示范区", + "code": "BD", + "area": "52.62", + "designrain": "21.3", + "totallflow": "70%", + "fillcolor": "rgba(53, 63, 255, 0.6)", + "outcolor": "rgba(33, 101, 255, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.20652118157352, + 34.696789313801105 + ], + [ + 114.20723501987527, + 34.68536790097312 + ], + [ + 114.20699707377457, + 34.671329081038664 + ], + [ + 114.20675912767399, + 34.663476859719481 + ], + [ + 114.20414172056769, + 34.656814368903156 + ], + [ + 114.20200020566233, + 34.648724201483276 + ], + [ + 114.19938279855603, + 34.639444303560651 + ], + [ + 114.22151178591025, + 34.635637165951209 + ], + [ + 114.22008410930664, + 34.622788076519839 + ], + [ + 114.22960195332996, + 34.620884507715004 + ], + [ + 114.22936400722938, + 34.596851951556232 + ], + [ + 114.28099831105601, + 34.596851951556232 + ], + [ + 114.28290187986056, + 34.675612110849102 + ], + [ + 114.25577602439409, + 34.675136218648106 + ], + [ + 114.21794259440151, + 34.682512547766123 + ], + [ + 114.21770464830081, + 34.696789313801105 + ], + [ + 114.20652118157352, + 34.696789313801105 + ] + ] + ] + }, + "properties": { + "FID": 4, + "name": "产城融合海绵建设示范区", + "code": "CC", + "area": "24.13", + "designrain": "25.3", + "totallflow": "75%", + "fillcolor": "rgba(127, 255, 241, 0.6)", + "outcolor": "rgba(34, 255, 231, 1)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Polygon", + "coordinates": [ + [ + [ + 114.14668053986202, + 34.747563591878873 + ], + [ + 114.14709031418386, + 34.736129692501208 + ], + [ + 114.1420934460715, + 34.736367638601848 + ], + [ + 114.14116457923512, + 34.719180858836296 + ], + [ + 114.24084107781346, + 34.718521681058121 + ], + [ + 114.24107902391415, + 34.725184171874446 + ], + [ + 114.23774777850588, + 34.726135956276835 + ], + [ + 114.23632010190249, + 34.747313159228611 + ], + [ + 114.22228128196798, + 34.748264943631 + ], + [ + 114.22204333586751, + 34.7608760869619 + ], + [ + 114.21680852165468, + 34.761114033062427 + ], + [ + 114.21609468335294, + 34.772773391991052 + ], + [ + 114.20395943222309, + 34.769680092683473 + ], + [ + 114.20348354002192, + 34.836305000846721 + ], + [ + 114.19627802948764, + 34.835169152718493 + ], + [ + 114.19653705479629, + 34.83401665939283 + ], + [ + 114.19642463274454, + 34.833382272819335 + ], + [ + 114.19623552425173, + 34.832213918895491 + ], + [ + 114.19447309513782, + 34.832362099778152 + ], + [ + 114.19366442896876, + 34.829315412513211 + ], + [ + 114.18974249158805, + 34.829877144855459 + ], + [ + 114.18954734019383, + 34.829253610994101 + ], + [ + 114.19064869337967, + 34.829104588213681 + ], + [ + 114.19004001692838, + 34.827427176778144 + ], + [ + 114.19096119900962, + 34.827391591556648 + ], + [ + 114.19136405475865, + 34.828944457107639 + ], + [ + 114.19301655970878, + 34.828613100019709 + ], + [ + 114.19251519567251, + 34.826681410391927 + ], + [ + 114.19324093941088, + 34.826545151781829 + ], + [ + 114.1924887580517, + 34.823580794482268 + ], + [ + 114.18968507971636, + 34.822251675401901 + ], + [ + 114.18923853945466, + 34.820318909062564 + ], + [ + 114.18830492037409, + 34.820053067617494 + ], + [ + 114.18489825962899, + 34.820091947234573 + ], + [ + 114.18470802637, + 34.819657646129428 + ], + [ + 114.18390994817787, + 34.819826155127828 + ], + [ + 114.18341164253115, + 34.820488303561717 + ], + [ + 114.17909076878027, + 34.818976845219026 + ], + [ + 114.17921598679948, + 34.820811108999692 + ], + [ + 114.17742905147759, + 34.821154668894394 + ], + [ + 114.17638550926392, + 34.820639165469743 + ], + [ + 114.17728608786979, + 34.823441961648143 + ], + [ + 114.17626017013288, + 34.823577584871941 + ], + [ + 114.17541824990633, + 34.82122684578394 + ], + [ + 114.17383931451116, + 34.821349099743429 + ], + [ + 114.17390690477146, + 34.822552783254309 + ], + [ + 114.17179824201469, + 34.823225466905114 + ], + [ + 114.1712936897809, + 34.822355535144027 + ], + [ + 114.16951111574303, + 34.822695070583052 + ], + [ + 114.16905704291548, + 34.820464709238024 + ], + [ + 114.16496850460919, + 34.821144399339914 + ], + [ + 114.1266269495336, + 34.810844768084337 + ], + [ + 114.1299005933281, + 34.802259738131454 + ], + [ + 114.1310583919676, + 34.802171767392679 + ], + [ + 114.13104057649832, + 34.801642044593848 + ], + [ + 114.1320932163934, + 34.801643766706093 + ], + [ + 114.13198585668806, + 34.801179558835031 + ], + [ + 114.13166576015499, + 34.80102931349478 + ], + [ + 114.13285135078593, + 34.799497009442405 + ], + [ + 114.13724073576327, + 34.798705429152903 + ], + [ + 114.13612664930338, + 34.797610927386359 + ], + [ + 114.13972815499369, + 34.796849779366937 + ], + [ + 114.13932802530462, + 34.794926831836108 + ], + [ + 114.13965316579618, + 34.794767273177172 + ], + [ + 114.13956015299254, + 34.793107250598609 + ], + [ + 114.1410248952061, + 34.792834712422234 + ], + [ + 114.1406915009419, + 34.790296047360755 + ], + [ + 114.14108038179904, + 34.790283271833118 + ], + [ + 114.14103498583256, + 34.789975185934281 + ], + [ + 114.14293442482233, + 34.789862041526135 + ], + [ + 114.14301008543111, + 34.790367297853209 + ], + [ + 114.14366822959039, + 34.790366522821046 + ], + [ + 114.14405906076081, + 34.791475355986108 + ], + [ + 114.14748972163989, + 34.791120835413381 + ], + [ + 114.1475512642229, + 34.791665037338134 + ], + [ + 114.14798158320616, + 34.791591130820791 + ], + [ + 114.14715602877277, + 34.787257335397612 + ], + [ + 114.14769780694894, + 34.78715959454172 + ], + [ + 114.14692745829154, + 34.783833851252382 + ], + [ + 114.14745199863455, + 34.783701077846445 + ], + [ + 114.14743679934338, + 34.783352728523539 + ], + [ + 114.14963780016831, + 34.783289979883989 + ], + [ + 114.14961368029071, + 34.782943081673579 + ], + [ + 114.15011825093598, + 34.782965045498656 + ], + [ + 114.15020225072249, + 34.782087356527541 + ], + [ + 114.15178118576978, + 34.782109056213869 + ], + [ + 114.15317382781609, + 34.782296572129553 + ], + [ + 114.15324387078851, + 34.781362009383088 + ], + [ + 114.15562421031336, + 34.781340953190579 + ], + [ + 114.15556340882472, + 34.781812421138454 + ], + [ + 114.15644941061078, + 34.78178817930376 + ], + [ + 114.15651695151678, + 34.781361666139446 + ], + [ + 114.15783089481056, + 34.781465883237104 + ], + [ + 114.16045710497667, + 34.78080343490376 + ], + [ + 114.16028365458646, + 34.779720996993262 + ], + [ + 114.15882725674999, + 34.779781745681873 + ], + [ + 114.15871954518605, + 34.778863344003582 + ], + [ + 114.16399048142978, + 34.778369040752978 + ], + [ + 114.16393633391169, + 34.777930031295568 + ], + [ + 114.1625246579224, + 34.778019740560126 + ], + [ + 114.16241710877, + 34.777171768920027 + ], + [ + 114.16379236727232, + 34.776971564408939 + ], + [ + 114.1638645981418, + 34.7773748101298 + ], + [ + 114.16503353021437, + 34.777272807288114 + ], + [ + 114.16466881260999, + 34.772454179409351 + ], + [ + 114.16671470924678, + 34.772153873102241 + ], + [ + 114.16666906620969, + 34.771362398220674 + ], + [ + 114.16739993937949, + 34.771158064961014 + ], + [ + 114.1672732482798, + 34.770230782089925 + ], + [ + 114.16813681942995, + 34.769575922143417 + ], + [ + 114.16812482248918, + 34.767067632291116 + ], + [ + 114.1674290606453, + 34.766982197607092 + ], + [ + 114.1674617062456, + 34.764793147799708 + ], + [ + 114.16640292317891, + 34.764666978058926 + ], + [ + 114.16322804306344, + 34.76234641664638 + ], + [ + 114.16018910851733, + 34.76240451963173 + ], + [ + 114.15989133368498, + 34.761565551194792 + ], + [ + 114.16089700667055, + 34.761351292273957 + ], + [ + 114.16060938787405, + 34.76026458089035 + ], + [ + 114.15605748203529, + 34.761285538640664 + ], + [ + 114.15579621469544, + 34.760439753262574 + ], + [ + 114.15528159328153, + 34.760544252593377 + ], + [ + 114.15552735885035, + 34.76136173998475 + ], + [ + 114.15478777936539, + 34.762351909242625 + ], + [ + 114.15379139546167, + 34.7625663318139 + ], + [ + 114.1533091089924, + 34.76128891022563 + ], + [ + 114.15181750487602, + 34.76145092234492 + ], + [ + 114.15213574984887, + 34.76267120477894 + ], + [ + 114.15169897266753, + 34.76268670943216 + ], + [ + 114.15124830357308, + 34.762403885731146 + ], + [ + 114.1483465995783, + 34.762615522848421 + ], + [ + 114.14781988788786, + 34.761212267259339 + ], + [ + 114.14699828824848, + 34.761337253256386 + ], + [ + 114.14686303452027, + 34.760525441555671 + ], + [ + 114.14731702473375, + 34.760445727879642 + ], + [ + 114.14651468136879, + 34.757754283145573 + ], + [ + 114.14713995760553, + 34.75744930560063 + ], + [ + 114.14705010809666, + 34.756953013274824 + ], + [ + 114.1466180589141, + 34.756705299688122 + ], + [ + 114.14657736566335, + 34.755459953100512 + ], + [ + 114.14725898740096, + 34.755410569963431 + ], + [ + 114.14662882794869, + 34.751966776758877 + ], + [ + 114.14714399430477, + 34.751934633833059 + ], + [ + 114.14739600683038, + 34.753421356239016 + ], + [ + 114.14899285758077, + 34.753163442310949 + ], + [ + 114.14850929117506, + 34.749626357934801 + ], + [ + 114.1497559914684, + 34.749574744163056 + ], + [ + 114.14939605044674, + 34.747846889345283 + ], + [ + 114.14801750621189, + 34.747996651414496 + ], + [ + 114.14791470831244, + 34.747485383100752 + ], + [ + 114.14734080941821, + 34.747547804800377 + ], + [ + 114.14753041114363, + 34.748432174148263 + ], + [ + 114.14670764897892, + 34.748555928958069 + ], + [ + 114.14668053986202, + 34.747563591878873 + ] + ] + ] + }, + "properties": { + "FID": 5, + "name": "郑开同城海绵建设示范区", + "code": "ZK", + "area": "64.04", + "designrain": "22.9", + "totallflow": "72%", + "fillcolor": "rgba(99, 172, 255, 0.6)", + "outcolor": "rgba(22, 131, 255, 1)" + } + } + ] +} \ No newline at end of file diff --git a/src/assets/geojson/kaifengPSFQlabel1.json b/src/assets/geojson/kaifengPSFQlabel1.json new file mode 100644 index 0000000..0bb5788 --- /dev/null +++ b/src/assets/geojson/kaifengPSFQlabel1.json @@ -0,0 +1 @@ +{"type":"FeatureCollection","features":[{"type":"Feature","id":0,"geometry":{"type":"Point","coordinates":[114.25209740441721,34.790502095924182]},"properties":{"FID":0,"name":"城乡一体化海绵建设示范区"}},{"type":"Feature","id":1,"geometry":{"type":"Point","coordinates":[114.34614389231814,34.762948287529525]},"properties":{"FID":1,"name":"城区海绵提升示范区"}},{"type":"Feature","id":2,"geometry":{"type":"Point","coordinates":[114.34590040543742,34.801709050482714]},"properties":{"FID":2,"name":"古城海绵保护示范区"}},{"type":"Feature","id":3,"geometry":{"type":"Point","coordinates":[114.44844842563191,34.768566207792162]},"properties":{"FID":3,"name":"汴东海绵建设示范区"}},{"type":"Feature","id":4,"geometry":{"type":"Point","coordinates":[114.24583441098309,34.642501613622528]},"properties":{"FID":4,"name":"产城融合海绵建设示范区"}},{"type":"Feature","id":5,"geometry":{"type":"Point","coordinates":[114.18304590708578,34.766210864832203]},"properties":{"FID":5,"name":"郑开同城海绵建设示范区"}}]} \ No newline at end of file diff --git a/src/utils/gis/AMapUtils.js b/src/utils/gis/AMapUtils.js index 5168270..a866309 100644 --- a/src/utils/gis/AMapUtils.js +++ b/src/utils/gis/AMapUtils.js @@ -1,155 +1,207 @@ -import lodash from "lodash"; +import { feature } from '@turf/turf'; +import lodash from 'lodash'; export default class AMapUtils { + static _default = { + options: { + rotateEnable: true, + pitchEnable: true, + zoom: 10, + pitch: 0, + rotation: 0, + viewMode: '3D', //开启3D视图,默认为关闭 + zooms: [2, 20], + mapStyle: 'amap://styles/light', + center: [114.33999667685148, 34.80389630895566], + }, + keys: { + temporary: 'temporary', + }, + events: { + click: 'click', + }, + }; - static _default = { - options: { - rotateEnable: true, - pitchEnable: true, - zoom: 10, - pitch: 0, - rotation: 0, - viewMode: '3D', //开启3D视图,默认为关闭 - zooms: [2, 20], - mapStyle: 'amap://styles/light', - center: [114.33999667685148, 34.80389630895566] - }, - keys: { - temporary: 'temporary' - }, - events: { - click: 'click' - } - } + _map = null; - _map = null; + callbacks = { + click: [], + }; - callbacks = { - click: [] - } + constructor(container, options = {}) { + this.initMap(container, options); + } + initMap(container, options) { + this._map = new AMap.Map(container, Object.assign(AMapUtils._default.options, options)); + } - constructor(container, options = {}) { - this.initMap(container, options); - } + /*自动定位*/ + showCityInfo() { + let self = this; + var citysearch = new AMap.CitySearch(); + citysearch.getLocalCity(function (status, result) { + if (!(status === 'complete' && result.info === 'OK')) return; + if (result && result.city && result.bounds) { + var cityinfo = result.city; + var citybounds = result.bounds; + self._map.setBounds(citybounds); + } + }); + } - initMap(container, options) { - this._map = new AMap.Map(container, Object.assign(AMapUtils._default.options, options)); - } - - /*自动定位*/ - showCityInfo() { - let self = this; - var citysearch = new AMap.CitySearch() - citysearch.getLocalCity(function (status, result) { - if (!(status === 'complete' && result.info === 'OK')) return; - if (result && result.city && result.bounds) { - var cityinfo = result.city - var citybounds = result.bounds - self._map.setBounds(citybounds); - } + geojsonToMap(geojson) { + let self = this; + geojson = gcoord.transform(geojson, gcoord.WGS84, gcoord.AMap); + let labelsLayer = new AMap.LabelsLayer({ collision: false, zooms: [0, 20], zIndex: 1000 }); + let geoJSON = new AMap.GeoJSON({ + geoJSON: geojson, + getMarker: (feature, lnglats) => { + const { properties } = feature; + const { mapParams } = properties; + let overLay = new AMap.LabelMarker({ + position: lnglats, + zooms: [0, 20], + opacity: 1, + zIndex: 2, + anchor: 'bottom-center', + offset: new AMap.Pixel(0, 0), + icon: { + type: 'image', + image: mapParams.icon || '//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png', + anchor: 'bottom-center', + size: mapParams.size || [15, 20], + }, + text: { + content: mapParams.name || '', + zooms: [15, 20], + style: { + fontSize: 15, + }, + }, + extData: properties, }); - } - - geojsonToMap(geojson) { - let self = this; - geojson = gcoord.transform(geojson, gcoord.WGS84, gcoord.AMap); - let labelsLayer = new AMap.LabelsLayer({ collision: false, zooms: [0, 20], zIndex: 1000 }); - let geoJSON = new AMap.GeoJSON({ - geoJSON: geojson, - getMarker: (feature, lnglats) => { - const { properties } = feature; - const { mapParams } = properties; - let overLay = new AMap.LabelMarker({ - position: lnglats, - zooms: [0, 20], - opacity: 1, - zIndex: 2, - anchor: 'bottom-center', - offset: new AMap.Pixel(0, 0), - icon: { - type: 'image', - image: mapParams.icon || '//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png', - anchor: 'bottom-center', - size: mapParams.size || [15, 20] - }, - text: { - content: mapParams.name || '', - zooms: [15, 20], - style: { - fontSize: 15, - } - }, - extData: properties - }); - overLay.newfiberId = mapParams.group || AMapUtils._default.keys.temporary; - labelsLayer.add(overLay); - // return overLay; - }, - getPolyline: (feature, lnglats) => { - const { properties } = feature; - const { mapParams } = properties; - let overLay = new AMap.Polyline({ - path: lnglats, - isOutline: true, - outlineColor: '#ffeeff', - borderWeight: 3, - strokeColor: "#3366FF", - strokeOpacity: 1, - strokeWeight: 6, - // 折线样式还支持 'dashed' - strokeStyle: "dashed", - // strokeStyle是dashed时有效 - strokeDasharray: [15, 5], - lineJoin: 'round', - lineCap: 'round', - zIndex: 50, - extData: properties - }); - overLay.newfiberId = mapParams.group || AMapUtils._default.keys.temporary; - return overLay; - }, - getPolygon: (feature, lnglats) => { - const { properties } = feature; - const { mapParams } = properties; - let overLay = new AMap.Polygon({ - path: data, - fillColor: '#ccebc5', - strokeOpacity: 1, - fillOpacity: 0.5, - strokeColor: '#2b8cbe', - strokeWeight: 1, - strokeStyle: 'dashed', - strokeDasharray: [5, 5], - extData: properties - }); - overLay.newfiberId = mapParams.group || AMapUtils._default.keys.temporary; - return overLay; - }, + overLay.newfiberId = mapParams.group || AMapUtils._default.keys.temporary; + labelsLayer.add(overLay); + // return overLay; + }, + getPolyline: (feature, lnglats) => { + const { properties } = feature; + const { mapParams } = properties; + let overLay = new AMap.Polyline({ + path: lnglats, + isOutline: true, + outlineColor: '#ffeeff', + borderWeight: 3, + strokeColor: '#3366FF', + strokeOpacity: 1, + strokeWeight: 6, + // 折线样式还支持 'dashed' + strokeStyle: 'dashed', + // strokeStyle是dashed时有效 + strokeDasharray: [15, 5], + lineJoin: 'round', + lineCap: 'round', + zIndex: 50, + extData: properties, }); - let arrays = geoJSON.getOverlays().filter(Boolean); - let arrays1 = labelsLayer.getAllOverlays().filter(Boolean); - if (arrays1.length) this._map.add(labelsLayer); - if (arrays.length) this._map.add(geoJSON); - this._map.setFitView(null, false, [150, 60, 100, 60]); - arrays.concat(arrays1).forEach(i => i.on('click', lodash.debounce(function (a) { - self.callbacks.click.forEach(i => i(a.target, [a.lnglat.lng, a.lnglat.lat])) - }, 500))); - } + overLay.newfiberId = mapParams.group || AMapUtils._default.keys.temporary; + return overLay; + }, + getPolygon: (feature, lnglats) => { + const { properties } = feature; + const { mapParams } = properties; + let overLay = new AMap.Polygon({ + path: data, + fillColor: '#ccebc5', + strokeOpacity: 1, + fillOpacity: 0.5, + strokeColor: '#2b8cbe', + strokeWeight: 1, + strokeStyle: 'dashed', + strokeDasharray: [5, 5], + extData: properties, + }); + overLay.newfiberId = mapParams.group || AMapUtils._default.keys.temporary; + return overLay; + }, + }); + let arrays = geoJSON.getOverlays().filter(Boolean); + let arrays1 = labelsLayer.getAllOverlays().filter(Boolean); + if (arrays1.length) this._map.add(labelsLayer); + if (arrays.length) this._map.add(geoJSON); + this._map.setFitView(null, false, [150, 60, 100, 60]); + arrays.concat(arrays1).forEach((i) => + i.on( + 'click', + lodash.debounce(function (a) { + self.callbacks.click.forEach((i) => i(a.target, [a.lnglat.lng, a.lnglat.lat])); + }, 500) + ) + ); + } + addGeojsonPolygon(Geojson, layerName) { + let geojsonPolygon = new AMap.GeoJSON({ + geoJSON: Geojson, + // 还可以自定义getMarker和getPolyline + getPolygon: (geojson, lnglats) => { + // 计算面积 + let eachPolygon = new AMap.Polygon({ + path: lnglats, + strokeColor: geojson.properties.outcolor || 'rgba(190, 161, 58, 1)', + strokeWeight: 2, + fillColor: geojson.properties.fillcolor || 'rgba(151 ,255 ,255,.2)', + }); + eachPolygon.newfiberId = layerName; + return eachPolygon; + }, + }); + this._map.add(geojsonPolygon); + } + //添加纯文本标注 + addLabelLayer(geojson, layerName) { + geojson.features.forEach((feature) => { + gcoord.transform(feature, gcoord.WGS84, gcoord.AMap); + let labelLayer = new AMap.Text({ + text: feature.properties.name, //标记显示的文本内容 + anchor: 'center', //设置文本标记锚点位置 + draggable: true, //是否可拖拽 + cursor: 'pointer', //指定鼠标悬停时的鼠标样式。 + style: { + background: 'none', + padding: '5px 10px', + 'border-radius': '4px', + color: '#1c92ff', + 'text-align': 'center', + 'font-family': 'Microsoft YaHei', + 'font-size': '15px', + 'font-style': 'normal', + 'font-weight': 800, + 'line-height': 'normal', + 'box-shadow': '0 2px 6px 0 rgba(97, 113, 166, 0)', + 'box-shadow': '0 2px 4px rgba(108, 167, 255, 1), 0 0 4px rgba(108, 167, 255, 1)', + border: '1px solid rgba(108, 167, 255, 1)', + }, + position: feature.geometry.coordinates, //点标记在地图上显示的位置 + }); + labelLayer.newfiberId = layerName; + this._map.add(labelLayer); //将文本标记设置到地图上 + gcoord.transform(feature, gcoord.AMap, gcoord.WGS84); + }); + } + removeByIds(ids = []) { + this.getOverLaysByIds(ids).forEach((i) => i.remove()); + } - removeByIds(ids = []) { - this.getOverLaysByIds(ids).forEach(i => i.remove()); - } + setVisibleByIds(ids = [], visible) { + this.getOverLaysByIds(ids).forEach((i) => i[visible ? 'show' : 'hide']()); + } - setVisibleByIds(ids = [], visible) { - this.getOverLaysByIds(ids).forEach(i => i[visible ? 'show' : 'hide']()); - } + getOverLaysByIds(ids = []) { + return this._map.getAllOverlays().filter((i) => ids.includes(i.newfiberId)); + } - getOverLaysByIds(ids = []) { - return this._map.getAllOverlays().filter(i => ids.includes(i.newfiberId)); - } - - registerEvent(type = AMapUtils._default.events.click, callback = () => { }) { - let self = this; - self.callbacks[type].push(callback); - } + registerEvent(type = AMapUtils._default.events.click, callback = () => {}) { + let self = this; + self.callbacks[type].push(callback); + } } diff --git a/src/views/ElectronicMap.vue b/src/views/ElectronicMap.vue index 91078b6..7e78d56 100644 --- a/src/views/ElectronicMap.vue +++ b/src/views/ElectronicMap.vue @@ -59,6 +59,8 @@ import { showImagePreview } from 'vant'; import { getProjects } from '@/api/project'; import AMapUtils from '@/utils/gis/AMapUtils'; +import kaifengPSFQ1 from '@/assets/geojson/kaifengPSFQ1.json'; +import kaifengPSFQlabel1 from '@/assets/geojson/kaifengPSFQlabel1.json'; import Img1 from '/static/images/1.png'; import Img2 from '/static/images/2.png'; import Img3 from '/static/images/3.png'; @@ -243,6 +245,15 @@ const init = () => { window.amapUtils = new AMapUtils('map'); // amapUtils.showCityInfo(); + kaifengPSFQ1.features.forEach((feature) => { + gcoord.transform(feature, gcoord.WGS84, gcoord.AMap); + }); + amapUtils.addGeojsonPolygon(kaifengPSFQ1, 'kaifengPSFQ1'); + amapUtils.addLabelLayer(kaifengPSFQlabel1, 'kaifengPSFQlabel1'); + kaifengPSFQ1.features.forEach((feature) => { + gcoord.transform(feature, gcoord.AMap, gcoord.WGS84); + }); + amapUtils.registerEvent(AMapUtils._default.events.click, (target, lngLat) => { console.log('target,lngLat', target.getExtData(), lngLat); // 内容赋值 @@ -252,6 +263,7 @@ // 打开PC弹窗 // } else { // 打开移动端弹窗 + AllData.showBottom = true; // } });