Solve the Luxembourg Problem
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Luxembourg has two geoshapes registered on Wikidata, and the one considered truthy is not the one we want.
Solving this required messing with the SPARQL query as well as filtering to the now non-unique result set.
This commit is contained in:
s3lph 2022-10-09 01:15:36 +02:00
parent 2a799fba75
commit 146775937e
Signed by: s3lph
GPG key ID: 8AC98A811E5BEFF5
78 changed files with 101 additions and 81 deletions

4
.gitignore vendored
View file

@ -1 +1,3 @@
cache/
cache/
map.png
map.svg

View file

@ -24,7 +24,13 @@ Find the result in the files `map.svg` and `map.png`.
**If the wrong font is used in the PNG, make sure the chosen font is installed on your system.** ([CairoSVG](https://cairosvg.org/) does not support the use of `@font-face` in style sheets.)
When not cache exists or forcing cache renewal, you need to provide the HTTP Basic Auth credentials to doku.ccc.de via an environment variable:
Usually you'll want to keep the border cache, but renew the Erfa & Chaostreff list from time to time:
```
./generate_map.py --update-erfalist
```
For this, you need to provide the HTTP Basic Auth credentials to doku.ccc.de via an environment variable:
```
export DOKU_CCC_DE_BASICAUTH=username:password

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"license":"CC0-1.0","description":{"en":"Aruba","en-gb":"Aruba"},"sources":"Part of the Country Polygons as GeoJSON dataset. Available from Datahub: [https://datahub.io/core/geo-countries https://datahub.io/core/geo-countries], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].","zoom":8,"latitude":12.499599017202,"longitude":-69.952428,"data":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"ADMIN":"Aruba","ISO_A3":"ABW"},"geometry":{"type":"Polygon","coordinates":[[[-69.996937629,12.577582098],[-69.936390754,12.531724351],[-69.924672004,12.519232489],[-69.915760871,12.497015692],[-69.88019772,12.453558661],[-69.876820442,12.427394924],[-69.888091601,12.417669989],[-69.908802864,12.417792059],[-69.930531379,12.42597077],[-69.945139127,12.440375067],[-69.924672004,12.440375067],[-69.924672004,12.447211005],[-69.958566861,12.463202216],[-70.027658658,12.522935289],[-70.04808509,12.53115469],[-70.058094856,12.537176825],[-70.062408007,12.54682038],[-70.060373502,12.556952216],[-70.051096158,12.574042059],[-70.048736132,12.583726304],[-70.052642382,12.600002346],[-70.05964108,12.614243882],[-70.061105924,12.625392971],[-70.048736132,12.632147528],[-70.007150845,12.585516669],[-69.996937629,12.577582098]]]}}]}}
{"license": "CC0-1.0", "description": {"en": "Aruba", "en-gb": "Aruba"}, "sources": "Part of the Country Polygons as GeoJSON dataset. Available from Datahub: [https://datahub.io/core/geo-countries https://datahub.io/core/geo-countries], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].", "zoom": 8, "latitude": 12.499599017202, "longitude": -69.952428, "data": {"type": "FeatureCollection", "features": [{"type": "Feature", "properties": {"ADMIN": "Aruba", "ISO_A3": "ABW"}, "geometry": {"type": "Polygon", "coordinates": [[[-69.996937629, 12.577582098], [-69.936390754, 12.531724351], [-69.924672004, 12.519232489], [-69.915760871, 12.497015692], [-69.88019772, 12.453558661], [-69.876820442, 12.427394924], [-69.888091601, 12.417669989], [-69.908802864, 12.417792059], [-69.930531379, 12.42597077], [-69.945139127, 12.440375067], [-69.924672004, 12.440375067], [-69.924672004, 12.447211005], [-69.958566861, 12.463202216], [-70.027658658, 12.522935289], [-70.04808509, 12.53115469], [-70.058094856, 12.537176825], [-70.062408007, 12.54682038], [-70.060373502, 12.556952216], [-70.051096158, 12.574042059], [-70.048736132, 12.583726304], [-70.052642382, 12.600002346], [-70.05964108, 12.614243882], [-70.061105924, 12.625392971], [-70.048736132, 12.632147528], [-70.007150845, 12.585516669], [-69.996937629, 12.577582098]]]}}]}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"license":"CC0-1.0","description":{"en":"Malta","en-gb":"Malta"},"sources":"Part of the Country Polygons as GeoJSON dataset. Available from Datahub: [https://datahub.io/core/geo-countries https://datahub.io/core/geo-countries], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].","zoom":6,"latitude":35.880148964884,"longitude":14.46350097656,"data":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"ADMIN":"Malta","ISO_A3":"MLT"},"geometry":{"type":"MultiPolygon","coordinates":[[[[14.567149285,35.845607815],[14.561778191,35.829820054],[14.548024936,35.83600495],[14.532481316,35.821966864],[14.527517123,35.813544012],[14.527517123,35.801214911],[14.511485222,35.806463934],[14.507090691,35.8086612],[14.472666863,35.811428127],[14.42448978,35.823675848],[14.38152103,35.842962958],[14.363047722,35.866685289],[14.359873894,35.869696356],[14.345713738,35.875921942],[14.34262129,35.880682684],[14.34262129,35.911688544],[14.338226759,35.946966864],[14.332530144,35.962836005],[14.322032097,35.973130601],[14.33472741,35.982367255],[14.347504102,35.988714911],[14.361501498,35.99241771],[14.377289259,35.993638414],[14.377289259,35.986232815],[14.368174675,35.984849351],[14.3623153,35.982407945],[14.349375847,35.973130601],[14.42847741,35.965725002],[14.445078972,35.960353908],[14.478688998,35.936957098],[14.507823113,35.928534247],[14.512868686,35.920803127],[14.514008009,35.910834052],[14.513926629,35.900824286],[14.519297722,35.899969794],[14.548024936,35.890041408],[14.563161655,35.870021877],[14.567149285,35.845607815]]],[[[14.277598504,36.016669012],[14.260020379,36.013495184],[14.241465691,36.014634507],[14.220876498,36.019191799],[14.201182488,36.026068427],[14.184906446,36.034613348],[14.187998894,36.045396226],[14.184336785,36.056301174],[14.183604363,36.064764716],[14.195485873,36.068101304],[14.25660241,36.075588283],[14.282562696,36.067857164],[14.314789259,36.051092841],[14.334239129,36.034369208],[14.322032097,36.027167059],[14.304453972,36.026597398],[14.277598504,36.016669012]]]]}}]}}
{"license": "CC0-1.0", "description": {"en": "Malta", "en-gb": "Malta"}, "sources": "Part of the Country Polygons as GeoJSON dataset. Available from Datahub: [https://datahub.io/core/geo-countries https://datahub.io/core/geo-countries], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].", "zoom": 6, "latitude": 35.880148964884, "longitude": 14.46350097656, "data": {"type": "FeatureCollection", "features": [{"type": "Feature", "properties": {"ADMIN": "Malta", "ISO_A3": "MLT"}, "geometry": {"type": "MultiPolygon", "coordinates": [[[[14.567149285, 35.845607815], [14.561778191, 35.829820054], [14.548024936, 35.83600495], [14.532481316, 35.821966864], [14.527517123, 35.813544012], [14.527517123, 35.801214911], [14.511485222, 35.806463934], [14.507090691, 35.8086612], [14.472666863, 35.811428127], [14.42448978, 35.823675848], [14.38152103, 35.842962958], [14.363047722, 35.866685289], [14.359873894, 35.869696356], [14.345713738, 35.875921942], [14.34262129, 35.880682684], [14.34262129, 35.911688544], [14.338226759, 35.946966864], [14.332530144, 35.962836005], [14.322032097, 35.973130601], [14.33472741, 35.982367255], [14.347504102, 35.988714911], [14.361501498, 35.99241771], [14.377289259, 35.993638414], [14.377289259, 35.986232815], [14.368174675, 35.984849351], [14.3623153, 35.982407945], [14.349375847, 35.973130601], [14.42847741, 35.965725002], [14.445078972, 35.960353908], [14.478688998, 35.936957098], [14.507823113, 35.928534247], [14.512868686, 35.920803127], [14.514008009, 35.910834052], [14.513926629, 35.900824286], [14.519297722, 35.899969794], [14.548024936, 35.890041408], [14.563161655, 35.870021877], [14.567149285, 35.845607815]]], [[[14.277598504, 36.016669012], [14.260020379, 36.013495184], [14.241465691, 36.014634507], [14.220876498, 36.019191799], [14.201182488, 36.026068427], [14.184906446, 36.034613348], [14.187998894, 36.045396226], [14.184336785, 36.056301174], [14.183604363, 36.064764716], [14.195485873, 36.068101304], [14.25660241, 36.075588283], [14.282562696, 36.067857164], [14.314789259, 36.051092841], [14.334239129, 36.034369208], [14.322032097, 36.027167059], [14.304453972, 36.026597398], [14.277598504, 36.016669012]]]]}}]}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"license":"CC0-1.0","description":{"en":"Liechtenstein","en-gb":"Liechtenstein"},"sources":"Part of the Country Polygons as GeoJSON dataset. Available from Datahub: [https://datahub.io/core/geo-countries https://datahub.io/core/geo-countries], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].","zoom":8,"latitude":47.143963438088,"longitude":9.5553588867188,"data":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"ADMIN":"Liechtenstein","ISO_A3":"LIE"},"geometry":{"type":"Polygon","coordinates":[[[9.58120284,47.056870423],[9.5606356200001,47.052400412],[9.4995540770001,47.059350891],[9.4770231530001,47.063898417],[9.4758862710001,47.073226014],[9.4875651450001,47.083948874],[9.5028613680001,47.094697572],[9.512369832,47.108030091],[9.5118530680001,47.129372457],[9.5034814860001,47.145392151],[9.4926294350001,47.159809876],[9.4849813230001,47.176346334],[9.487358439,47.210013529],[9.5046183680001,47.243732402],[9.5211548250001,47.262801005],[9.5302498780001,47.253654277],[9.5470963950001,47.24303477],[9.5403784580001,47.229107972],[9.5448226320001,47.220322978],[9.5543310950001,47.211615499],[9.5629093830001,47.197740377],[9.5618758540001,47.190609029],[9.5519539790001,47.175571188],[9.5520573320001,47.166889547],[9.5818229570001,47.154900615],[9.6055941160001,47.132266337],[9.6157226970001,47.106764018],[9.6087980550001,47.080770773],[9.58120284,47.056870423]]]}}]}}
{"license": "CC0-1.0", "description": {"en": "Liechtenstein", "en-gb": "Liechtenstein"}, "sources": "Part of the Country Polygons as GeoJSON dataset. Available from Datahub: [https://datahub.io/core/geo-countries https://datahub.io/core/geo-countries], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].", "zoom": 8, "latitude": 47.143963438088, "longitude": 9.5553588867188, "data": {"type": "FeatureCollection", "features": [{"type": "Feature", "properties": {"ADMIN": "Liechtenstein", "ISO_A3": "LIE"}, "geometry": {"type": "Polygon", "coordinates": [[[9.58120284, 47.056870423], [9.5606356200001, 47.052400412], [9.4995540770001, 47.059350891], [9.4770231530001, 47.063898417], [9.4758862710001, 47.073226014], [9.4875651450001, 47.083948874], [9.5028613680001, 47.094697572], [9.512369832, 47.108030091], [9.5118530680001, 47.129372457], [9.5034814860001, 47.145392151], [9.4926294350001, 47.159809876], [9.4849813230001, 47.176346334], [9.487358439, 47.210013529], [9.5046183680001, 47.243732402], [9.5211548250001, 47.262801005], [9.5302498780001, 47.253654277], [9.5470963950001, 47.24303477], [9.5403784580001, 47.229107972], [9.5448226320001, 47.220322978], [9.5543310950001, 47.211615499], [9.5629093830001, 47.197740377], [9.5618758540001, 47.190609029], [9.5519539790001, 47.175571188], [9.5520573320001, 47.166889547], [9.5818229570001, 47.154900615], [9.6055941160001, 47.132266337], [9.6157226970001, 47.106764018], [9.6087980550001, 47.080770773], [9.58120284, 47.056870423]]]}}]}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"license":"CC0-1.0","description":{"en":"Liechtenstein","en-gb":"Liechtenstein"},"sources":"Part of the Country Polygons as GeoJSON dataset. Available from Datahub: [https://datahub.io/core/geo-countries https://datahub.io/core/geo-countries], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].","zoom":8,"latitude":47.143963438088,"longitude":9.5553588867188,"data":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"ADMIN":"Liechtenstein","ISO_A3":"LIE"},"geometry":{"type":"Polygon","coordinates":[[[9.58120284,47.056870423],[9.5606356200001,47.052400412],[9.4995540770001,47.059350891],[9.4770231530001,47.063898417],[9.4758862710001,47.073226014],[9.4875651450001,47.083948874],[9.5028613680001,47.094697572],[9.512369832,47.108030091],[9.5118530680001,47.129372457],[9.5034814860001,47.145392151],[9.4926294350001,47.159809876],[9.4849813230001,47.176346334],[9.487358439,47.210013529],[9.5046183680001,47.243732402],[9.5211548250001,47.262801005],[9.5302498780001,47.253654277],[9.5470963950001,47.24303477],[9.5403784580001,47.229107972],[9.5448226320001,47.220322978],[9.5543310950001,47.211615499],[9.5629093830001,47.197740377],[9.5618758540001,47.190609029],[9.5519539790001,47.175571188],[9.5520573320001,47.166889547],[9.5818229570001,47.154900615],[9.6055941160001,47.132266337],[9.6157226970001,47.106764018],[9.6087980550001,47.080770773],[9.58120284,47.056870423]]]}}]}}
{"license": "CC0-1.0", "description": {"en": "Liechtenstein", "en-gb": "Liechtenstein"}, "sources": "Part of the Country Polygons as GeoJSON dataset. Available from Datahub: [https://datahub.io/core/geo-countries https://datahub.io/core/geo-countries], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].", "zoom": 8, "latitude": 47.143963438088, "longitude": 9.5553588867188, "data": {"type": "FeatureCollection", "features": [{"type": "Feature", "properties": {"ADMIN": "Liechtenstein", "ISO_A3": "LIE"}, "geometry": {"type": "Polygon", "coordinates": [[[9.58120284, 47.056870423], [9.5606356200001, 47.052400412], [9.4995540770001, 47.059350891], [9.4770231530001, 47.063898417], [9.4758862710001, 47.073226014], [9.4875651450001, 47.083948874], [9.5028613680001, 47.094697572], [9.512369832, 47.108030091], [9.5118530680001, 47.129372457], [9.5034814860001, 47.145392151], [9.4926294350001, 47.159809876], [9.4849813230001, 47.176346334], [9.487358439, 47.210013529], [9.5046183680001, 47.243732402], [9.5211548250001, 47.262801005], [9.5302498780001, 47.253654277], [9.5470963950001, 47.24303477], [9.5403784580001, 47.229107972], [9.5448226320001, 47.220322978], [9.5543310950001, 47.211615499], [9.5629093830001, 47.197740377], [9.5618758540001, 47.190609029], [9.5519539790001, 47.175571188], [9.5520573320001, 47.166889547], [9.5818229570001, 47.154900615], [9.6055941160001, 47.132266337], [9.6157226970001, 47.106764018], [9.6087980550001, 47.080770773], [9.58120284, 47.056870423]]]}}]}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"license":"CC0-1.0","description":{"en":"Hamburg","en-gb":"Hamburg"},"sources":"Created from the Natural Earth Admin1 Polygons dataset. Available from Datahub:[https://datahub.io/core/geo-ne-admin1 https://datahub.io/core/geo-ne-admin1], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].","zoom":8,"latitude":53.45493,"longitude":10.31263,"data":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"stroke":"#555555","stroke-width":2,"stroke-opacity":1,"fill":"#555555","fill-opacity":0.5},"geometry":{"type":"MultiPolygon","coordinates":[[[[10.31263,53.45493],[10.31341,53.45524],[10.31496,53.4556],[10.31883,53.45586],[10.32069,53.45565],[10.32317,53.45043],[10.32798,53.43266],[10.28535,53.43266],[10.27599,53.4308],[10.26607,53.42708],[10.24375,53.4094],[10.24158,53.40661],[10.18654,53.40439],[10.16985,53.40661],[10.15357,53.41364],[10.14308,53.42268],[10.1314,53.43059],[10.1112,53.4339],[10.0991,53.43948],[10.08314,53.4509],[10.07601,53.45043],[10.03875,53.44309],[10.03239,53.44098],[10.02945,53.43839],[10.0296,53.43664],[10.03007,53.43452],[10.03069,53.43307],[10.03084,53.43116],[10.03038,53.42919],[10.02789,53.42749],[10.01131,53.42149],[9.98537,53.41506],[9.97529,53.41405],[9.96847,53.41447],[9.95002,53.42201],[9.94501,53.42284],[9.9388,53.42188],[9.91896,53.4156],[9.91291,53.4156],[9.90935,53.41808],[9.90873,53.42155],[9.90811,53.4308],[9.90547,53.44123],[9.90005,53.44661],[9.89571,53.44865],[9.89085,53.44904],[9.88279,53.44723],[9.87752,53.44477],[9.86511,53.43341],[9.86124,53.43224],[9.85721,53.43286],[9.82444,53.45141],[9.81669,53.45694],[9.81065,53.46237],[9.80476,53.46919],[9.80073,53.47524],[9.79607,53.48428],[9.79375,53.48779],[9.79142,53.48981],[9.78522,53.49245],[9.78243,53.49431],[9.78073,53.49658],[9.77933,53.50009],[9.77726,53.50232],[9.76843,53.50816],[9.76471,53.54376],[9.76397,53.54768],[9.76401,53.54767],[9.81902,53.54035],[9.83204,53.54361],[9.81959,53.55663],[9.78207,53.56973],[9.74081,53.57257],[9.74088,53.57275],[9.74889,53.59197],[9.7506,53.59802],[9.75168,53.60469],[9.75277,53.60789],[9.75401,53.61004],[9.75618,53.61182],[9.76021,53.6142],[9.76331,53.61657],[9.76502,53.61887],[9.76657,53.62629],[9.76843,53.62918],[9.77168,53.6297],[9.77649,53.62939],[9.78817,53.62758],[9.79654,53.62463],[9.79871,53.62324],[9.80693,53.61988],[9.81003,53.61786],[9.81049,53.61507],[9.80755,53.6065],[9.80646,53.6019],[9.80615,53.59905],[9.80693,53.59714],[9.80801,53.59611],[9.8091,53.59528],[9.81049,53.59461],[9.81251,53.59389],[9.81607,53.59311],[9.82863,53.59725],[9.92733,53.64567],[9.95281,53.65037],[9.9804,53.64673],[9.98428,53.64688],[9.98986,53.64856],[9.99405,53.65143],[10.00371,53.6668],[10.00821,53.67068],[10.01363,53.673],[10.02588,53.67551],[10.03286,53.67628],[10.03906,53.67626],[10.05223,53.67486],[10.06019,53.67796],[10.06515,53.68081],[10.07818,53.7129],[10.08205,53.71636],[10.08639,53.71889],[10.08872,53.71972],[10.09027,53.72008],[10.0929,53.72018],[10.14225,53.71331],[10.14799,53.71367],[10.15357,53.71564],[10.17109,53.7253],[10.17688,53.72721],[10.18199,53.72778],[10.18742,53.72752],[10.19192,53.72657],[10.19378,53.72509],[10.19486,53.72254],[10.19285,53.7177],[10.19114,53.71517],[10.17982,53.70561],[10.16985,53.6936],[10.16582,53.68737],[10.16473,53.68453],[10.16597,53.6821],[10.16923,53.67864],[10.20478,53.66282],[10.2054,53.66236],[10.20649,53.65698],[10.2068,53.65047],[10.20912,53.64479],[10.21455,53.64184],[10.21889,53.64024],[10.22153,53.63781],[10.22277,53.63365],[10.22122,53.62618],[10.21998,53.62288],[10.21672,53.61771],[10.21533,53.6142],[10.21331,53.60169],[10.21238,53.58815],[10.2116,53.58557],[10.21067,53.58435],[10.20866,53.58303],[10.20602,53.58187],[10.19595,53.57921],[10.17812,53.57652],[10.17548,53.57544],[10.17316,53.57378],[10.17285,53.57053],[10.17409,53.56598],[10.18075,53.54963],[10.1823,53.54097],[10.18215,53.53405],[10.18323,53.52896],[10.18664,53.52531],[10.1975,53.52175],[10.21393,53.51883],[10.22277,53.51301],[10.24762,53.48878],[10.26979,53.48149],[10.27785,53.47751],[10.31263,53.45493]]]]}}]}}
{"license": "CC0-1.0", "description": {"en": "Hamburg", "en-gb": "Hamburg"}, "sources": "Created from the Natural Earth Admin1 Polygons dataset. Available from Datahub:[https://datahub.io/core/geo-ne-admin1 https://datahub.io/core/geo-ne-admin1], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].", "zoom": 8, "latitude": 53.45493, "longitude": 10.31263, "data": {"type": "FeatureCollection", "features": [{"type": "Feature", "properties": {"stroke": "#555555", "stroke-width": 2, "stroke-opacity": 1, "fill": "#555555", "fill-opacity": 0.5}, "geometry": {"type": "MultiPolygon", "coordinates": [[[[10.31263, 53.45493], [10.31341, 53.45524], [10.31496, 53.4556], [10.31883, 53.45586], [10.32069, 53.45565], [10.32317, 53.45043], [10.32798, 53.43266], [10.28535, 53.43266], [10.27599, 53.4308], [10.26607, 53.42708], [10.24375, 53.4094], [10.24158, 53.40661], [10.18654, 53.40439], [10.16985, 53.40661], [10.15357, 53.41364], [10.14308, 53.42268], [10.1314, 53.43059], [10.1112, 53.4339], [10.0991, 53.43948], [10.08314, 53.4509], [10.07601, 53.45043], [10.03875, 53.44309], [10.03239, 53.44098], [10.02945, 53.43839], [10.0296, 53.43664], [10.03007, 53.43452], [10.03069, 53.43307], [10.03084, 53.43116], [10.03038, 53.42919], [10.02789, 53.42749], [10.01131, 53.42149], [9.98537, 53.41506], [9.97529, 53.41405], [9.96847, 53.41447], [9.95002, 53.42201], [9.94501, 53.42284], [9.9388, 53.42188], [9.91896, 53.4156], [9.91291, 53.4156], [9.90935, 53.41808], [9.90873, 53.42155], [9.90811, 53.4308], [9.90547, 53.44123], [9.90005, 53.44661], [9.89571, 53.44865], [9.89085, 53.44904], [9.88279, 53.44723], [9.87752, 53.44477], [9.86511, 53.43341], [9.86124, 53.43224], [9.85721, 53.43286], [9.82444, 53.45141], [9.81669, 53.45694], [9.81065, 53.46237], [9.80476, 53.46919], [9.80073, 53.47524], [9.79607, 53.48428], [9.79375, 53.48779], [9.79142, 53.48981], [9.78522, 53.49245], [9.78243, 53.49431], [9.78073, 53.49658], [9.77933, 53.50009], [9.77726, 53.50232], [9.76843, 53.50816], [9.76471, 53.54376], [9.76397, 53.54768], [9.76401, 53.54767], [9.81902, 53.54035], [9.83204, 53.54361], [9.81959, 53.55663], [9.78207, 53.56973], [9.74081, 53.57257], [9.74088, 53.57275], [9.74889, 53.59197], [9.7506, 53.59802], [9.75168, 53.60469], [9.75277, 53.60789], [9.75401, 53.61004], [9.75618, 53.61182], [9.76021, 53.6142], [9.76331, 53.61657], [9.76502, 53.61887], [9.76657, 53.62629], [9.76843, 53.62918], [9.77168, 53.6297], [9.77649, 53.62939], [9.78817, 53.62758], [9.79654, 53.62463], [9.79871, 53.62324], [9.80693, 53.61988], [9.81003, 53.61786], [9.81049, 53.61507], [9.80755, 53.6065], [9.80646, 53.6019], [9.80615, 53.59905], [9.80693, 53.59714], [9.80801, 53.59611], [9.8091, 53.59528], [9.81049, 53.59461], [9.81251, 53.59389], [9.81607, 53.59311], [9.82863, 53.59725], [9.92733, 53.64567], [9.95281, 53.65037], [9.9804, 53.64673], [9.98428, 53.64688], [9.98986, 53.64856], [9.99405, 53.65143], [10.00371, 53.6668], [10.00821, 53.67068], [10.01363, 53.673], [10.02588, 53.67551], [10.03286, 53.67628], [10.03906, 53.67626], [10.05223, 53.67486], [10.06019, 53.67796], [10.06515, 53.68081], [10.07818, 53.7129], [10.08205, 53.71636], [10.08639, 53.71889], [10.08872, 53.71972], [10.09027, 53.72008], [10.0929, 53.72018], [10.14225, 53.71331], [10.14799, 53.71367], [10.15357, 53.71564], [10.17109, 53.7253], [10.17688, 53.72721], [10.18199, 53.72778], [10.18742, 53.72752], [10.19192, 53.72657], [10.19378, 53.72509], [10.19486, 53.72254], [10.19285, 53.7177], [10.19114, 53.71517], [10.17982, 53.70561], [10.16985, 53.6936], [10.16582, 53.68737], [10.16473, 53.68453], [10.16597, 53.6821], [10.16923, 53.67864], [10.20478, 53.66282], [10.2054, 53.66236], [10.20649, 53.65698], [10.2068, 53.65047], [10.20912, 53.64479], [10.21455, 53.64184], [10.21889, 53.64024], [10.22153, 53.63781], [10.22277, 53.63365], [10.22122, 53.62618], [10.21998, 53.62288], [10.21672, 53.61771], [10.21533, 53.6142], [10.21331, 53.60169], [10.21238, 53.58815], [10.2116, 53.58557], [10.21067, 53.58435], [10.20866, 53.58303], [10.20602, 53.58187], [10.19595, 53.57921], [10.17812, 53.57652], [10.17548, 53.57544], [10.17316, 53.57378], [10.17285, 53.57053], [10.17409, 53.56598], [10.18075, 53.54963], [10.1823, 53.54097], [10.18215, 53.53405], [10.18323, 53.52896], [10.18664, 53.52531], [10.1975, 53.52175], [10.21393, 53.51883], [10.22277, 53.51301], [10.24762, 53.48878], [10.26979, 53.48149], [10.27785, 53.47751], [10.31263, 53.45493]]]]}}]}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"license":"CC0-1.0","description":{"en":"Saarland","en-gb":"Saarland"},"sources":"Created from the Natural Earth Admin1 Polygons dataset. Available from Datahub:[https://datahub.io/core/geo-ne-admin1 https://datahub.io/core/geo-ne-admin1], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].","zoom":8,"latitude":49.56354,"longitude":7.21913,"data":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"stroke":"#555555","stroke-width":2,"stroke-opacity":1,"fill":"#555555","fill-opacity":0.5},"geometry":{"type":"MultiPolygon","coordinates":[[[[7.21913,49.56354],[7.23788,49.56617],[7.24719,49.56834],[7.25592,49.57232],[7.26181,49.57599],[7.26755,49.5785],[7.27065,49.5778],[7.27328,49.57672],[7.27344,49.56168],[7.27948,49.54891],[7.29096,49.53434],[7.29235,49.52519],[7.29235,49.51191],[7.29359,49.50711],[7.29576,49.50427],[7.29979,49.50396],[7.30382,49.50323],[7.30584,49.50251],[7.30723,49.50044],[7.30816,49.49726],[7.30909,49.49026],[7.30847,49.4854],[7.30537,49.48204],[7.29514,49.47879],[7.28755,49.47548],[7.27917,49.47078],[7.25979,49.4545],[7.25478,49.45166],[7.25091,49.45099],[7.2461,49.44613],[7.2523,49.43099],[7.27638,49.41213],[7.29344,49.39859],[7.29576,49.39425],[7.29499,49.39342],[7.29452,49.39254],[7.29344,49.39146],[7.29142,49.38882],[7.30119,49.38484],[7.35116,49.37931],[7.3754,49.37337],[7.38516,49.36967],[7.39059,49.36071],[7.38485,49.35384],[7.38423,49.35166],[7.38346,49.34815],[7.38687,49.34386],[7.38795,49.3404],[7.38733,49.33683],[7.38253,49.33084],[7.37881,49.32743],[7.37462,49.32464],[7.3631,49.31898],[7.35845,49.31567],[7.35674,49.31273],[7.35426,49.3018],[7.35271,49.29771],[7.34961,49.29472],[7.34279,49.291],[7.34,49.28883],[7.33736,49.28609],[7.33581,49.28299],[7.33473,49.27921],[7.33333,49.27182],[7.32992,49.26418],[7.32325,49.25674],[7.32062,49.25451],[7.3186,49.25299],[7.31674,49.25193],[7.31457,49.2511],[7.31194,49.25043],[7.30739,49.25007],[7.30584,49.25017],[7.30491,49.25033],[7.30398,49.25053],[7.30243,49.25079],[7.3001,49.25095],[7.29654,49.25048],[7.29576,49.2502],[7.29421,49.24842],[7.28817,49.2402],[7.28662,49.23555],[7.28693,49.23079],[7.29034,49.22278],[7.29235,49.217],[7.2939,49.20726],[7.29468,49.20516],[7.33023,49.1794],[7.34914,49.16868],[7.36919,49.16904],[7.37126,49.16661],[7.37163,49.16617],[7.36759,49.16537],[7.35095,49.15917],[7.3463,49.15421],[7.33907,49.13969],[7.334,49.13416],[7.32646,49.13183],[7.30599,49.13013],[7.2971,49.12811],[7.2908,49.1231],[7.28026,49.10899],[7.27437,49.10501],[7.26806,49.10563],[7.24119,49.1139],[7.15499,49.11442],[7.13928,49.11793],[7.12358,49.12331],[7.08533,49.14155],[7.07986,49.14201],[7.07076,49.13612],[7.07159,49.13059],[7.07479,49.12537],[7.07324,49.12031],[7.04255,49.1076],[7.02053,49.11897],[7.00896,49.14641],[7.00947,49.1817],[6.98787,49.18243],[6.92545,49.20558],[6.91439,49.20666],[6.88524,49.2048],[6.84349,49.21105],[6.83346,49.20945],[6.82768,49.19555],[6.83522,49.17938],[6.83904,49.16279],[6.82178,49.14775],[6.80907,49.14584],[6.77011,49.1553],[6.72556,49.15555],[6.71378,49.15886],[6.70097,49.17287],[6.70376,49.18511],[6.70882,49.19777],[6.70252,49.21364],[6.69848,49.21359],[6.68505,49.2078],[6.6806,49.20749],[6.67792,49.21105],[6.67595,49.21891],[6.67482,49.22113],[6.67161,49.22532],[6.66376,49.24387],[6.65952,49.24676],[6.64567,49.25002],[6.6403,49.25276],[6.63916,49.25679],[6.64123,49.26692],[6.63968,49.27115],[6.57317,49.31312],[6.55643,49.3264],[6.55012,49.33802],[6.5556,49.34717],[6.57338,49.34774],[6.57772,49.3558],[6.57431,49.36179],[6.52573,49.39549],[6.51881,49.40215],[6.52077,49.40257],[6.52056,49.40815],[6.51788,49.41642],[6.51167,49.42474],[6.49452,49.43554],[6.40274,49.46546],[6.39168,49.4667],[6.38352,49.46463],[6.3645,49.4561],[6.35385,49.45476],[6.34531,49.45535],[6.34538,49.46272],[6.34228,49.493],[6.34881,49.52529],[6.35649,49.52592],[6.48997,49.53382],[6.60511,49.53021],[6.66981,49.54938],[6.69352,49.54793],[6.6973,49.54809],[6.71233,49.55031],[6.85972,49.59449],[6.9364,49.62715],[6.94214,49.62793],[6.94881,49.62746],[6.96214,49.62359],[6.97113,49.61868],[6.97862,49.61958],[6.99878,49.62948],[7.06022,49.60751],[7.06518,49.60493],[7.072,49.60354],[7.13283,49.60201],[7.13794,49.6009],[7.15954,49.5871],[7.19659,49.57005],[7.19959,49.56731],[7.20223,49.56545],[7.20843,49.56437],[7.21913,49.56354]]]]}}]}}
{"license": "CC0-1.0", "description": {"en": "Saarland", "en-gb": "Saarland"}, "sources": "Created from the Natural Earth Admin1 Polygons dataset. Available from Datahub:[https://datahub.io/core/geo-ne-admin1 https://datahub.io/core/geo-ne-admin1], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].", "zoom": 8, "latitude": 49.56354, "longitude": 7.21913, "data": {"type": "FeatureCollection", "features": [{"type": "Feature", "properties": {"stroke": "#555555", "stroke-width": 2, "stroke-opacity": 1, "fill": "#555555", "fill-opacity": 0.5}, "geometry": {"type": "MultiPolygon", "coordinates": [[[[7.21913, 49.56354], [7.23788, 49.56617], [7.24719, 49.56834], [7.25592, 49.57232], [7.26181, 49.57599], [7.26755, 49.5785], [7.27065, 49.5778], [7.27328, 49.57672], [7.27344, 49.56168], [7.27948, 49.54891], [7.29096, 49.53434], [7.29235, 49.52519], [7.29235, 49.51191], [7.29359, 49.50711], [7.29576, 49.50427], [7.29979, 49.50396], [7.30382, 49.50323], [7.30584, 49.50251], [7.30723, 49.50044], [7.30816, 49.49726], [7.30909, 49.49026], [7.30847, 49.4854], [7.30537, 49.48204], [7.29514, 49.47879], [7.28755, 49.47548], [7.27917, 49.47078], [7.25979, 49.4545], [7.25478, 49.45166], [7.25091, 49.45099], [7.2461, 49.44613], [7.2523, 49.43099], [7.27638, 49.41213], [7.29344, 49.39859], [7.29576, 49.39425], [7.29499, 49.39342], [7.29452, 49.39254], [7.29344, 49.39146], [7.29142, 49.38882], [7.30119, 49.38484], [7.35116, 49.37931], [7.3754, 49.37337], [7.38516, 49.36967], [7.39059, 49.36071], [7.38485, 49.35384], [7.38423, 49.35166], [7.38346, 49.34815], [7.38687, 49.34386], [7.38795, 49.3404], [7.38733, 49.33683], [7.38253, 49.33084], [7.37881, 49.32743], [7.37462, 49.32464], [7.3631, 49.31898], [7.35845, 49.31567], [7.35674, 49.31273], [7.35426, 49.3018], [7.35271, 49.29771], [7.34961, 49.29472], [7.34279, 49.291], [7.34, 49.28883], [7.33736, 49.28609], [7.33581, 49.28299], [7.33473, 49.27921], [7.33333, 49.27182], [7.32992, 49.26418], [7.32325, 49.25674], [7.32062, 49.25451], [7.3186, 49.25299], [7.31674, 49.25193], [7.31457, 49.2511], [7.31194, 49.25043], [7.30739, 49.25007], [7.30584, 49.25017], [7.30491, 49.25033], [7.30398, 49.25053], [7.30243, 49.25079], [7.3001, 49.25095], [7.29654, 49.25048], [7.29576, 49.2502], [7.29421, 49.24842], [7.28817, 49.2402], [7.28662, 49.23555], [7.28693, 49.23079], [7.29034, 49.22278], [7.29235, 49.217], [7.2939, 49.20726], [7.29468, 49.20516], [7.33023, 49.1794], [7.34914, 49.16868], [7.36919, 49.16904], [7.37126, 49.16661], [7.37163, 49.16617], [7.36759, 49.16537], [7.35095, 49.15917], [7.3463, 49.15421], [7.33907, 49.13969], [7.334, 49.13416], [7.32646, 49.13183], [7.30599, 49.13013], [7.2971, 49.12811], [7.2908, 49.1231], [7.28026, 49.10899], [7.27437, 49.10501], [7.26806, 49.10563], [7.24119, 49.1139], [7.15499, 49.11442], [7.13928, 49.11793], [7.12358, 49.12331], [7.08533, 49.14155], [7.07986, 49.14201], [7.07076, 49.13612], [7.07159, 49.13059], [7.07479, 49.12537], [7.07324, 49.12031], [7.04255, 49.1076], [7.02053, 49.11897], [7.00896, 49.14641], [7.00947, 49.1817], [6.98787, 49.18243], [6.92545, 49.20558], [6.91439, 49.20666], [6.88524, 49.2048], [6.84349, 49.21105], [6.83346, 49.20945], [6.82768, 49.19555], [6.83522, 49.17938], [6.83904, 49.16279], [6.82178, 49.14775], [6.80907, 49.14584], [6.77011, 49.1553], [6.72556, 49.15555], [6.71378, 49.15886], [6.70097, 49.17287], [6.70376, 49.18511], [6.70882, 49.19777], [6.70252, 49.21364], [6.69848, 49.21359], [6.68505, 49.2078], [6.6806, 49.20749], [6.67792, 49.21105], [6.67595, 49.21891], [6.67482, 49.22113], [6.67161, 49.22532], [6.66376, 49.24387], [6.65952, 49.24676], [6.64567, 49.25002], [6.6403, 49.25276], [6.63916, 49.25679], [6.64123, 49.26692], [6.63968, 49.27115], [6.57317, 49.31312], [6.55643, 49.3264], [6.55012, 49.33802], [6.5556, 49.34717], [6.57338, 49.34774], [6.57772, 49.3558], [6.57431, 49.36179], [6.52573, 49.39549], [6.51881, 49.40215], [6.52077, 49.40257], [6.52056, 49.40815], [6.51788, 49.41642], [6.51167, 49.42474], [6.49452, 49.43554], [6.40274, 49.46546], [6.39168, 49.4667], [6.38352, 49.46463], [6.3645, 49.4561], [6.35385, 49.45476], [6.34531, 49.45535], [6.34538, 49.46272], [6.34228, 49.493], [6.34881, 49.52529], [6.35649, 49.52592], [6.48997, 49.53382], [6.60511, 49.53021], [6.66981, 49.54938], [6.69352, 49.54793], [6.6973, 49.54809], [6.71233, 49.55031], [6.85972, 49.59449], [6.9364, 49.62715], [6.94214, 49.62793], [6.94881, 49.62746], [6.96214, 49.62359], [6.97113, 49.61868], [6.97862, 49.61958], [6.99878, 49.62948], [7.06022, 49.60751], [7.06518, 49.60493], [7.072, 49.60354], [7.13283, 49.60201], [7.13794, 49.6009], [7.15954, 49.5871], [7.19659, 49.57005], [7.19959, 49.56731], [7.20223, 49.56545], [7.20843, 49.56437], [7.21913, 49.56354]]]]}}]}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"license":"CC0-1.0","description":{"en":"Bremen","en-gb":"Bremen"},"sources":"Created from the Natural Earth Admin1 Polygons dataset. Available from Datahub:[https://datahub.io/core/geo-ne-admin1 https://datahub.io/core/geo-ne-admin1], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].","zoom":8,"latitude":53.21257,"longitude":8.56059,"data":{"type":"FeatureCollection","features":[{"type":"Feature","properties":{"stroke":"#555555","stroke-width":2,"stroke-opacity":1,"fill":"#555555","fill-opacity":0.5},"geometry":{"type":"MultiPolygon","coordinates":[[[[8.56059,53.21257],[8.56447,53.21179],[8.56633,53.21184],[8.58509,53.21541],[8.5902,53.21536],[8.61785,53.20484],[8.67681,53.19037],[8.6903,53.18843],[8.70115,53.18911],[8.70363,53.18952],[8.70472,53.18993],[8.70658,53.19112],[8.71046,53.19177],[8.73314,53.19267],[8.74554,53.19161],[8.74756,53.19076],[8.74895,53.1896],[8.74988,53.18833],[8.75019,53.18688],[8.74988,53.18549],[8.74926,53.18389],[8.75144,53.18146],[8.75655,53.17872],[8.77862,53.17027],[8.78373,53.169],[8.81164,53.16957],[8.82389,53.16807],[8.82575,53.16714],[8.84068,53.15794],[8.86052,53.14926],[8.89499,53.13885],[8.90398,53.13761],[8.90941,53.13851],[8.91236,53.13934],[8.91437,53.14063],[8.91577,53.14234],[8.9167,53.14397],[8.91778,53.14694],[8.91933,53.14978],[8.92398,53.1566],[8.92631,53.15934],[8.92848,53.16112],[8.93297,53.16298],[8.93623,53.1628],[8.93938,53.16182],[8.94946,53.15603],[8.97302,53.13955],[8.97535,53.13702],[8.97519,53.13469],[8.97209,53.13247],[8.96047,53.12606],[8.9583,53.1233],[8.95783,53.12193],[8.96155,53.11583],[8.98605,53.10007],[8.98822,53.09717],[8.98992,53.09361],[8.98822,53.09159],[8.9814,53.08593],[8.97907,53.08167],[8.97674,53.07562],[8.97535,53.06188],[8.97411,53.05637],[8.97271,53.05258],[8.95768,53.0426],[8.9229,53.02744],[8.91453,53.02462],[8.86595,53.04751],[8.86564,53.04687],[8.86549,53.04539],[8.86595,53.04265],[8.86595,53.03973],[8.86316,53.03728],[8.85804,53.03568],[8.84409,53.0332],[8.83448,53.03353],[8.82466,53.03501],[8.77707,53.05335],[8.7718,53.05464],[8.76833,53.05464],[8.75857,53.05211],[8.7195,53.04793],[8.70487,53.04955],[8.70394,53.05048],[8.70239,53.05113],[8.70255,53.0517],[8.7027,53.05273],[8.70239,53.05436],[8.7027,53.07986],[8.70177,53.08343],[8.6996,53.08586],[8.69294,53.0881],[8.65382,53.11572],[8.63801,53.1303],[8.63583,53.13391],[8.63382,53.13898],[8.63335,53.14141],[8.63149,53.15957],[8.61723,53.17686],[8.61103,53.18006],[8.58922,53.17898],[8.57806,53.17978],[8.55444,53.1896],[8.513,53.19975],[8.50458,53.21107],[8.50137,53.21706],[8.49605,53.22404],[8.51868,53.22611],[8.52954,53.22466],[8.56059,53.21257]]],[[[8.56245,53.60626],[8.58431,53.60394],[8.62529,53.605],[8.63087,53.60396],[8.6318,53.602],[8.62824,53.59936],[8.62529,53.59681],[8.62297,53.59399],[8.62173,53.59148],[8.62018,53.58761],[8.62111,53.58226],[8.62359,53.57709],[8.63149,53.56753],[8.63521,53.55988],[8.64188,53.53932],[8.64266,53.5319],[8.64188,53.52531],[8.64064,53.51989],[8.63909,53.51666],[8.62359,53.50221],[8.60281,53.49048],[8.60106,53.49002],[8.59951,53.48973],[8.59749,53.49059],[8.59501,53.49219],[8.58834,53.50017],[8.58788,53.50033],[8.58741,53.50035],[8.58555,53.50033],[8.57827,53.49924],[8.573,53.50185],[8.5609,53.5157],[8.5572,53.51994],[8.56577,53.5467],[8.5608,53.5517],[8.53517,53.59077],[8.52752,53.59663],[8.5171,53.61017],[8.51304,53.6171],[8.51341,53.61701],[8.56245,53.60626]]]]}}]}}
{"license": "CC0-1.0", "description": {"en": "Bremen", "en-gb": "Bremen"}, "sources": "Created from the Natural Earth Admin1 Polygons dataset. Available from Datahub:[https://datahub.io/core/geo-ne-admin1 https://datahub.io/core/geo-ne-admin1], under the [https://opendatacommons.org/licenses/pddl/1.0/ Open Data Commons Public Domain Dedication and License].", "zoom": 8, "latitude": 53.21257, "longitude": 8.56059, "data": {"type": "FeatureCollection", "features": [{"type": "Feature", "properties": {"stroke": "#555555", "stroke-width": 2, "stroke-opacity": 1, "fill": "#555555", "fill-opacity": 0.5}, "geometry": {"type": "MultiPolygon", "coordinates": [[[[8.56059, 53.21257], [8.56447, 53.21179], [8.56633, 53.21184], [8.58509, 53.21541], [8.5902, 53.21536], [8.61785, 53.20484], [8.67681, 53.19037], [8.6903, 53.18843], [8.70115, 53.18911], [8.70363, 53.18952], [8.70472, 53.18993], [8.70658, 53.19112], [8.71046, 53.19177], [8.73314, 53.19267], [8.74554, 53.19161], [8.74756, 53.19076], [8.74895, 53.1896], [8.74988, 53.18833], [8.75019, 53.18688], [8.74988, 53.18549], [8.74926, 53.18389], [8.75144, 53.18146], [8.75655, 53.17872], [8.77862, 53.17027], [8.78373, 53.169], [8.81164, 53.16957], [8.82389, 53.16807], [8.82575, 53.16714], [8.84068, 53.15794], [8.86052, 53.14926], [8.89499, 53.13885], [8.90398, 53.13761], [8.90941, 53.13851], [8.91236, 53.13934], [8.91437, 53.14063], [8.91577, 53.14234], [8.9167, 53.14397], [8.91778, 53.14694], [8.91933, 53.14978], [8.92398, 53.1566], [8.92631, 53.15934], [8.92848, 53.16112], [8.93297, 53.16298], [8.93623, 53.1628], [8.93938, 53.16182], [8.94946, 53.15603], [8.97302, 53.13955], [8.97535, 53.13702], [8.97519, 53.13469], [8.97209, 53.13247], [8.96047, 53.12606], [8.9583, 53.1233], [8.95783, 53.12193], [8.96155, 53.11583], [8.98605, 53.10007], [8.98822, 53.09717], [8.98992, 53.09361], [8.98822, 53.09159], [8.9814, 53.08593], [8.97907, 53.08167], [8.97674, 53.07562], [8.97535, 53.06188], [8.97411, 53.05637], [8.97271, 53.05258], [8.95768, 53.0426], [8.9229, 53.02744], [8.91453, 53.02462], [8.86595, 53.04751], [8.86564, 53.04687], [8.86549, 53.04539], [8.86595, 53.04265], [8.86595, 53.03973], [8.86316, 53.03728], [8.85804, 53.03568], [8.84409, 53.0332], [8.83448, 53.03353], [8.82466, 53.03501], [8.77707, 53.05335], [8.7718, 53.05464], [8.76833, 53.05464], [8.75857, 53.05211], [8.7195, 53.04793], [8.70487, 53.04955], [8.70394, 53.05048], [8.70239, 53.05113], [8.70255, 53.0517], [8.7027, 53.05273], [8.70239, 53.05436], [8.7027, 53.07986], [8.70177, 53.08343], [8.6996, 53.08586], [8.69294, 53.0881], [8.65382, 53.11572], [8.63801, 53.1303], [8.63583, 53.13391], [8.63382, 53.13898], [8.63335, 53.14141], [8.63149, 53.15957], [8.61723, 53.17686], [8.61103, 53.18006], [8.58922, 53.17898], [8.57806, 53.17978], [8.55444, 53.1896], [8.513, 53.19975], [8.50458, 53.21107], [8.50137, 53.21706], [8.49605, 53.22404], [8.51868, 53.22611], [8.52954, 53.22466], [8.56059, 53.21257]]], [[[8.56245, 53.60626], [8.58431, 53.60394], [8.62529, 53.605], [8.63087, 53.60396], [8.6318, 53.602], [8.62824, 53.59936], [8.62529, 53.59681], [8.62297, 53.59399], [8.62173, 53.59148], [8.62018, 53.58761], [8.62111, 53.58226], [8.62359, 53.57709], [8.63149, 53.56753], [8.63521, 53.55988], [8.64188, 53.53932], [8.64266, 53.5319], [8.64188, 53.52531], [8.64064, 53.51989], [8.63909, 53.51666], [8.62359, 53.50221], [8.60281, 53.49048], [8.60106, 53.49002], [8.59951, 53.48973], [8.59749, 53.49059], [8.59501, 53.49219], [8.58834, 53.50017], [8.58788, 53.50033], [8.58741, 53.50035], [8.58555, 53.50033], [8.57827, 53.49924], [8.573, 53.50185], [8.5609, 53.5157], [8.5572, 53.51994], [8.56577, 53.5467], [8.5608, 53.5517], [8.53517, 53.59077], [8.52752, 53.59663], [8.5171, 53.61017], [8.51304, 53.6171], [8.51341, 53.61701], [8.56245, 53.60626]]]]}}]}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -68,14 +68,22 @@ def sparql_query(query):
def fetch_geoshapes(target, shape_urls):
os.makedirs(target, exist_ok=True)
candidates = {}
keep = {}
for item, url in tqdm.tqdm(shape_urls.items()):
try:
with urllib.request.urlopen(url) as resp:
with open(os.path.join(target, item + '.json'), 'wb') as f:
f.write(resp.read())
shape = json.load(resp)
candidates.setdefault(item, []).append(shape)
except urllib.error.HTTPError as e:
print(e)
for item, ican in candidates.items():
# Prefer zoom level 4
keep[item] = min(ican, key=lambda x: abs(4-x.get('zoom', 1000)))
for item, shape in keep.items():
with open(os.path.join(target, item + '.json'), 'w') as f:
json.dump(shape, f)
def fetch_wikidata_states(target):
shape_urls = sparql_query('''
@ -98,15 +106,20 @@ def fetch_wikidata_countries(target):
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX wikibase: <http://wikiba.se/ontology#>
SELECT DISTINCT ?item ?map WHERE {
# ?item is instance of sovereign state, transitively part of europe and has geoshape ?map
# ?item is instance of country or sovereign state
?item wdt:P31 ?stateclass.
# ?item is transitively part of Europe (Contintent) or EEA
?item wdt:P361+ ?euroclass;
# ?item has geoshape ?map
wdt:P3896 ?map.
?item wdt:P361+ ?euroclass.
# ?item has geoshape ?map (including all non-deprecated results)
?item p:P3896 ?st.
?st ps:P3896 ?map;
MINUS { ?st wikibase:rank wikibase:DeprecatedRank }
FILTER (?stateclass = wd:Q6256 || ?stateclass = wd:Q3624078).
FILTER (?euroclass = wd:Q46 || ?euroclass = wd:Q8932).
}

BIN
map.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 396 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 396 KiB

After

Width:  |  Height:  |  Size: 395 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.2 MiB