Skip to content

Commit 7c4ca28

Browse files
committed
chore(country-map): regenerate GeoJSON from upstream sources
Automated run of the Country Map GeoJSON Generator notebook (npm run update-maps). Review the rendered diffs before merging - one source (WHO ArcGIS) is a live query, not a pinned commit.
1 parent 91a5235 commit 7c4ca28

7 files changed

Lines changed: 125 additions & 37 deletions

File tree

‎docs/data/countries.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"Israel",
8787
"Italy",
8888
"Italy (regions)",
89-
"Italy (regions and autonomous provinces)",
89+
"Italy (regions) And Autonomous Provinces",
9090
"Ivory Coast",
9191
"Japan",
9292
"Jordan",

‎superset-frontend/plugins/plugin-chart-country-map/src/countries.ts‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,9 +432,6 @@ export const countryOptions = Object.keys(countries).map(x => {
432432
if (x === 'italy_regions') {
433433
return [x, 'Italy (regions)'];
434434
}
435-
if (x === 'italy_regions_and_autonomous_provinces') {
436-
return [x, 'Italy (regions and autonomous provinces)'];
437-
}
438435
if (x === 'france_regions') {
439436
return [x, 'France (regions)'];
440437
}

‎superset-frontend/plugins/plugin-chart-country-map/src/countries/iran.geojson‎

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

‎superset-frontend/plugins/plugin-chart-country-map/src/countries/madagascar.geojson‎

Lines changed: 23 additions & 23 deletions
Large diffs are not rendered by default.

‎superset-frontend/plugins/plugin-chart-country-map/src/countries/russia.geojson‎

Lines changed: 92 additions & 1 deletion
Large diffs are not rendered by default.

‎superset-frontend/plugins/plugin-chart-country-map/src/countries/south_africa.geojson‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎superset-frontend/plugins/plugin-chart-country-map/src/countries/uk.geojson‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
{ "type": "Feature", "properties": { "ISO": "GB-GWN", "NAME_1": "Gwynedd" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -3.947336391999954, 52.550877476014705 ], [ -3.947336391999954, 52.556708075000074 ], [ -3.974476691999939, 52.556545315000051 ], [ -4.053130662999934, 52.54242584800005 ], [ -4.125477667999917, 52.603908596000053 ], [ -4.122222459999932, 52.628729559000078 ], [ -4.105946417999917, 52.653509833000044 ], [ -4.063547329999949, 52.683091539000031 ], [ -4.056548631999931, 52.700669664000031 ], [ -3.988270636999914, 52.734279690000051 ], [ -4.048817511999914, 52.721584377000056 ], [ -4.125152147999927, 52.778306382000039 ], [ -4.149037238999938, 52.812079169000071 ], [ -4.146229620999918, 52.820217190000051 ], [ -4.117339647999927, 52.830755927000041 ], [ -4.132191535999937, 52.868312893000052 ], [ -4.129872199999909, 52.889227606000077 ], [ -4.064035610999952, 52.919175523000035 ], [ -4.077626105999911, 52.926662502000056 ], [ -4.100493943999936, 52.914129950000074 ], [ -4.118560350999928, 52.926662502000056 ], [ -4.144398566999939, 52.914780992000033 ], [ -4.228505011999914, 52.919175523000035 ], [ -4.337310350999928, 52.89203522300005 ], [ -4.406605597999942, 52.892523505000042 ], [ -4.481678839999915, 52.850897528000075 ], [ -4.475493943999936, 52.844142971000053 ], [ -4.500965949999909, 52.82680898600006 ], [ -4.501332160999937, 52.81391022300005 ], [ -4.489125128999945, 52.803168036000045 ], [ -4.516468878999945, 52.789496161000045 ], [ -4.594634568999936, 52.816799221000053 ], [ -4.648589647999927, 52.799627997000073 ], [ -4.704497850999928, 52.803168036000045 ], [ -4.747425910999937, 52.783433335000041 ], [ -4.762847459999932, 52.789496161000045 ], [ -4.752512173999946, 52.798773505000042 ], [ -4.755441860999952, 52.809312242000033 ], [ -4.734934048999946, 52.830471096000053 ], [ -4.596058722999942, 52.928412177000041 ], [ -4.523996548999946, 52.944240627000056 ], [ -4.443430141999954, 52.982163804000038 ], [ -4.423695441999939, 53.002630927000041 ], [ -4.358225063999953, 53.028469143000052 ], [ -4.345692511999914, 53.059475002000056 ], [ -4.340891079999949, 53.11273834800005 ], [ -4.327626105999911, 53.11469147300005 ], [ -4.320668097999942, 53.101507880000042 ], [ -4.303618943999936, 53.12531159100007 ], [ -4.263539191999939, 53.154527085000041 ], [ -4.234527147999927, 53.164007880000042 ], [ -4.17796790299991, 53.217596747000073 ], [ -4.122222459999932, 53.233465887000079 ], [ -4.066883917999917, 53.229071356000077 ], [ -4.000429834884765, 53.248732775621981 ], [ -3.927093268439592, 53.200784002779471 ], [ -3.950270148348693, 53.1570140653468 ], [ -4.008251105304282, 53.100325019583977 ], [ -4.006959194111516, 53.088697822446534 ], [ -3.968356898751892, 53.047485867178978 ], [ -3.968356898751892, 53.030742703013289 ], [ -3.983808152624135, 53.007565823104244 ], [ -3.979932419945214, 52.995938625966801 ], [ -3.945128342898727, 52.995938625966801 ], [ -3.894821336035818, 53.008806057453569 ], [ -3.860094774254435, 52.963744207928812 ], [ -3.787954473719992, 52.936691596240166 ], [ -3.669382899900938, 52.988833115755654 ], [ -3.601118332944736, 53.006894029535829 ], [ -3.585873786446086, 52.997178860316126 ], [ -3.593366867586894, 52.981624254555697 ], [ -3.567244431885058, 52.965191147853147 ], [ -3.493915574743994, 52.964674383915678 ], [ -3.456424323423789, 52.978265285814246 ], [ -3.423377243764776, 52.970772202874855 ], [ -3.47668148416318, 52.933306789976371 ], [ -3.467793138142838, 52.91744212495405 ], [ -3.450326503565293, 52.909949042014659 ], [ -3.468361578923748, 52.89356761305487 ], [ -3.476965705003295, 52.844940091012347 ], [ -3.490840826842714, 52.834656481011734 ], [ -3.527246873444483, 52.83326121703152 ], [ -3.587243211105317, 52.811608792311915 ], [ -3.597216762743415, 52.784375312570603 ], [ -3.580292731424436, 52.763549710150983 ], [ -3.571688605344889, 52.73052846891369 ], [ -3.601454229728915, 52.695491847870471 ], [ -3.667755092823256, 52.688825589029705 ], [ -3.698605922825095, 52.676061510330385 ], [ -3.763072272367481, 52.669395249690979 ], [ -3.796972011848879, 52.674666246350171 ], [ -3.833636439969723, 52.640766506868772 ], [ -3.827822841850661, 52.626607164189238 ], [ -3.83782223101116, 52.599115302029531 ], [ -3.875571864749759, 52.576067613329656 ], [ -3.911952073829127, 52.568006090508618 ], [ -3.927455002746171, 52.553174954260726 ], [ -3.947336391999954, 52.550877476014705 ] ] ] } },
8787
{ "type": "Feature", "properties": { "ISO": "GB-CWY", "NAME_1": "Conwy" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -4.000429834884765, 53.248732775621981 ], [ -3.974598761999914, 53.261786200000074 ], [ -3.865305141999954, 53.289129950000074 ], [ -3.831288214999915, 53.289129950000074 ], [ -3.841420050999943, 53.307440497000073 ], [ -3.878407355999911, 53.337591864000046 ], [ -3.840565558999913, 53.332831122000073 ], [ -3.810129360999952, 53.317084052000041 ], [ -3.790516730999911, 53.323431708000044 ], [ -3.768869594999956, 53.319159247000073 ], [ -3.716297980999911, 53.286932684000078 ], [ -3.60220292899993, 53.288885809000078 ], [ -3.513459378651635, 53.308925168712747 ], [ -3.51869442420832, 53.249773260927213 ], [ -3.47745663141842, 53.212411200816234 ], [ -3.474898646555289, 53.169881496833568 ], [ -3.49807552736371, 53.144094957016648 ], [ -3.585667079971756, 53.087405911253768 ], [ -3.517402513015554, 53.079706121840047 ], [ -3.47745663141842, 53.056503404408545 ], [ -3.461540289552715, 52.97640493384057 ], [ -3.493915574743994, 52.964674383915678 ], [ -3.567244431885058, 52.965191147853147 ], [ -3.593366867586894, 52.981624254555697 ], [ -3.585873786446086, 52.997178860316126 ], [ -3.601118332944736, 53.006894029535829 ], [ -3.669382899900938, 52.988833115755654 ], [ -3.787954473719992, 52.936691596240166 ], [ -3.860094774254435, 52.963744207928812 ], [ -3.894821336035818, 53.008806057453569 ], [ -3.945128342898727, 52.995938625966801 ], [ -3.979932419945214, 52.995938625966801 ], [ -3.983808152624135, 53.007565823104244 ], [ -3.968356898751892, 53.030742703013289 ], [ -3.968356898751892, 53.047485867178978 ], [ -4.006959194111516, 53.088697822446534 ], [ -4.008251105304282, 53.100325019583977 ], [ -3.950270148348693, 53.1570140653468 ], [ -3.927093268439592, 53.200784002779471 ], [ -4.000429834884765, 53.248732775621981 ] ] ] } },
8888
{ "type": "Feature", "properties": { "ISO": "GB-DEN", "NAME_1": "Denbighshire" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -3.513459378651635, 53.308925168712747 ], [ -3.360461948346862, 53.351146212651599 ], [ -3.3756798968098, 53.332197171462269 ], [ -3.382113612553212, 53.297418931938125 ], [ -3.349919196313863, 53.284551500451357 ], [ -3.340875819763255, 53.272924303313914 ], [ -3.347335373928388, 53.245897529147612 ], [ -3.340875819763255, 53.218819078137926 ], [ -3.271319341614344, 53.1570140653468 ], [ -3.191453415942419, 53.147970688796249 ], [ -3.182435878712852, 53.138927314044281 ], [ -3.122749600313796, 53.066373603259137 ], [ -3.132180548693384, 53.059087225894757 ], [ -3.141198085922952, 52.99723053715951 ], [ -3.094818487683085, 52.963744207928812 ], [ -3.200470954071307, 52.937983507432875 ], [ -3.311265225010118, 52.932841701982909 ], [ -3.373096076222964, 52.889020086807534 ], [ -3.390743577054423, 52.867367662087929 ], [ -3.436167160885759, 52.856618964093911 ], [ -3.470015225322413, 52.861941636697168 ], [ -3.468361578923748, 52.89356761305487 ], [ -3.450326503565293, 52.909949042014659 ], [ -3.467793138142838, 52.91744212495405 ], [ -3.47668148416318, 52.933306789976371 ], [ -3.423377243764776, 52.970772202874855 ], [ -3.461540289552715, 52.97640493384057 ], [ -3.47745663141842, 53.056503404408545 ], [ -3.517402513015554, 53.079706121840047 ], [ -3.585667079971756, 53.087405911253768 ], [ -3.49807552736371, 53.144094957016648 ], [ -3.474898646555289, 53.169881496833568 ], [ -3.47745663141842, 53.212411200816234 ], [ -3.51869442420832, 53.249773260927213 ], [ -3.513459378651635, 53.308925168712747 ] ] ] } },
89-
{ "type": "Feature", "properties": { "ISO": "GB-WRL", "NAME_1": "Wirral" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -3.095943777883065, 53.287143450010205 ], [ -3.185210740999935, 53.37726471600007 ], [ -3.186350063999953, 53.392767645000049 ], [ -3.157297329999949, 53.408758856000077 ], [ -3.094227667999917, 53.417385158000059 ], [ -3.058257615999935, 53.434759833000044 ], [ -3.035552537999934, 53.433742580000057 ], [ -3.012196417999917, 53.416693427000041 ], [ -2.952951626999948, 53.323919989000046 ], [ -2.926413998695671, 53.304814303174567 ], [ -2.945034348656293, 53.289357408217768 ], [ -2.974515753998844, 53.296592108738821 ], [ -3.025287847955838, 53.293543199259204 ], [ -3.066680671275947, 53.305480454759163 ], [ -3.095943777883065, 53.287143450010205 ] ] ] } },
89+
{ "type": "Feature", "properties": { "ISO": "GB-WRL", "NAME_1": "Halton" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -3.095943777883065, 53.287143450010205 ], [ -3.185210740999935, 53.37726471600007 ], [ -3.186350063999953, 53.392767645000049 ], [ -3.157297329999949, 53.408758856000077 ], [ -3.094227667999917, 53.417385158000059 ], [ -3.058257615999935, 53.434759833000044 ], [ -3.035552537999934, 53.433742580000057 ], [ -3.012196417999917, 53.416693427000041 ], [ -2.952951626999948, 53.323919989000046 ], [ -2.926413998695671, 53.304814303174567 ], [ -2.945034348656293, 53.289357408217768 ], [ -2.974515753998844, 53.296592108738821 ], [ -3.025287847955838, 53.293543199259204 ], [ -3.066680671275947, 53.305480454759163 ], [ -3.095943777883065, 53.287143450010205 ] ] ] } },
9090
{ "type": "Feature", "properties": { "ISO": "GB-HAL", "NAME_1": "Halton" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -2.775502082255286, 53.299872136789645 ], [ -2.748117641999954, 53.309637762000079 ], [ -2.753651495999918, 53.322455145000049 ], [ -2.743153449999909, 53.33852773600006 ], [ -2.699777798999946, 53.351792710000041 ], [ -2.764393683999913, 53.34516022300005 ], [ -2.775380011999914, 53.341009833000044 ], [ -2.782378709999932, 53.326361395000049 ], [ -2.810332811999956, 53.32172272300005 ], [ -2.803389247715643, 53.343824367700392 ], [ -2.786981981233453, 53.336589667179396 ], [ -2.771908091884939, 53.348887720791652 ], [ -2.772228359351288, 53.364960029381848 ], [ -2.741119146931112, 53.388266100500118 ], [ -2.680580206911031, 53.378809312799547 ], [ -2.662855189915092, 53.357415270498336 ], [ -2.605675217737144, 53.338088283947116 ], [ -2.569450039187984, 53.312301744130139 ], [ -2.627917891797267, 53.294214271571377 ], [ -2.735309225240542, 53.291388183517824 ], [ -2.775502082255286, 53.299872136789645 ] ] ] } },
9191
{ "type": "Feature", "properties": { "ISO": "GB-KWL", "NAME_1": "Knowsley" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -2.810332811999956, 53.32172272300005 ], [ -2.875903044793211, 53.331184318190935 ], [ -2.873623752634103, 53.397267617206751 ], [ -2.898607852570365, 53.40647228536767 ], [ -2.905182615285469, 53.419621811697198 ], [ -2.886773278963688, 53.431456385303932 ], [ -2.898607852570365, 53.465645153401056 ], [ -2.932796620667546, 53.493259157883813 ], [ -2.907812520731284, 53.50509373149049 ], [ -2.896123311741462, 53.522440789510824 ], [ -2.838916795173986, 53.509395657383664 ], [ -2.815584885633996, 53.491050522763373 ], [ -2.803931264616153, 53.466960106123963 ], [ -2.793411643732384, 53.402527428098324 ], [ -2.754702400995029, 53.378089941497592 ], [ -2.772228359351288, 53.364960029381848 ], [ -2.771908091884939, 53.348887720791652 ], [ -2.786981981233453, 53.336589667179396 ], [ -2.803389247715643, 53.343824367700392 ], [ -2.810332811999956, 53.32172272300005 ] ] ] } },
9292
{ "type": "Feature", "properties": { "ISO": "GB-LIV", "NAME_1": "Liverpool" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -2.875903044793211, 53.331184318190935 ], [ -2.956939256999931, 53.37055084800005 ], [ -3.04822815123722, 53.481020428055423 ], [ -2.932796620667546, 53.493259157883813 ], [ -2.898607852570365, 53.465645153401056 ], [ -2.886773278963688, 53.431456385303932 ], [ -2.905182615285469, 53.419621811697198 ], [ -2.898607852570365, 53.40647228536767 ], [ -2.873623752634103, 53.397267617206751 ], [ -2.875903044793211, 53.331184318190935 ] ] ] } },

0 commit comments

Comments
 (0)