This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch ivory-coast-map
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 4fe887bf7a2e43fe9ce38ef49f75b39988c1281b
Author: Evan Rusackas <[email protected]>
AuthorDate: Mon Apr 21 20:35:42 2025 -0600

    feat(maps): Adding Ivory Coast / Côte d'Ivoire
---
 docs/data/countries.json                           |   1 +
 .../scripts/Country Map GeoJSON Generator.ipynb    | Bin 10946572 -> 0 bytes
 .../src/countries.ts                               |   2 ++
 .../src/countries/ivory_coast.geojson              |  26 +++++++++++++++++++++
 4 files changed, 29 insertions(+)

diff --git a/docs/data/countries.json b/docs/data/countries.json
index 34e505b2e3..6e860209b2 100644
--- a/docs/data/countries.json
+++ b/docs/data/countries.json
@@ -86,6 +86,7 @@
     "Israel",
     "Italy",
     "Italy (regions)",
+    "Ivory Coast",
     "Japan",
     "Jordan",
     "Kazakhstan",
diff --git 
a/superset-frontend/plugins/legacy-plugin-chart-country-map/scripts/Country Map 
GeoJSON Generator.ipynb 
b/superset-frontend/plugins/legacy-plugin-chart-country-map/scripts/Country Map 
GeoJSON Generator.ipynb
index ad68bd41d2..e69de29bb2 100644
Binary files 
a/superset-frontend/plugins/legacy-plugin-chart-country-map/scripts/Country Map 
GeoJSON Generator.ipynb and 
b/superset-frontend/plugins/legacy-plugin-chart-country-map/scripts/Country Map 
GeoJSON Generator.ipynb differ
diff --git 
a/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries.ts 
b/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries.ts
index e3f35fc1ae..c8a1c5f275 100755
--- a/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries.ts
+++ b/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries.ts
@@ -103,6 +103,7 @@ import iran from './countries/iran.geojson';
 import israel from './countries/israel.geojson';
 import italy from './countries/italy.geojson';
 import italy_regions from './countries/italy_regions.geojson';
+import ivory_coast from './countries/ivory_coast.geojson';
 import japan from './countries/japan.geojson';
 import jordan from './countries/jordan.geojson';
 import kazakhstan from './countries/kazakhstan.geojson';
@@ -304,6 +305,7 @@ export const countries = {
   israel,
   italy,
   italy_regions,
+  ivory_coast,
   japan,
   jordan,
   kazakhstan,
diff --git 
a/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/ivory_coast.geojson
 
b/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/ivory_coast.geojson
new file mode 100644
index 0000000000..885bc21338
--- /dev/null
+++ 
b/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/ivory_coast.geojson
@@ -0,0 +1,26 @@
+{
+"type": "FeatureCollection",
+"name": "ivory_coast",
+"crs": { "type": "name", "properties": { "name": 
"urn:ogc:def:crs:OGC:1.3:CRS84" } },
+"features": [
+{ "type": "Feature", "properties": { "ISO": "CI-10", "NAME_1": "Denguélé" }, 
"geometry": { "type": "Polygon", "coordinates": [ [ [ -8.146862344999903, 
9.864696146000085 ], [ -8.150996459999931, 9.866143087000083 ], [ 
-8.155078898999932, 9.875238139000146 ], [ -8.152133341999928, 
9.878829651000032 ], [ -8.14732743299993, 9.88012156200007 ], [ 
-8.145673787999954, 9.882498678000033 ], [ -8.147224079999887, 
9.887924703000095 ], [ -8.149549519999937, 9.905339661000127 ], [ 
-8.153218546999909, [...]
+{ "type": "Feature", "properties": { "ISO": "CI-17", "NAME_1": "Bafing" }, 
"geometry": { "type": "Polygon", "coordinates": [ [ [ -7.831015990999958, 
8.747658386000083 ], [ -7.890960652999865, 8.765693462000073 ], [ 
-7.913129841999904, 8.768225606000073 ], [ -7.958915160999936, 
8.781997375000103 ], [ -7.968940388999954, 8.812848205000094 ], [ 
-7.950698608999886, 8.899535421000053 ], [ -7.946461140999929, 8.94860219300007 
], [ -7.941603555999933, 8.972218323000092 ], [ -7.931888386999987,  [...]
+{ "type": "Feature", "properties": { "ISO": "CI-06", "NAME_1": "Dix-Huit 
Montagnes" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 
-7.962635863999935, 8.015170797000053 ], [ -7.965637542338698, 
8.026927368803001 ], [ -7.946873745427013, 8.01865814935411 ], [ 
-7.928528611706099, 8.010906683996268 ], [ -7.905274217431213, 
8.007160142526516 ], [ -7.898556280847686, 8.008503730562722 ], [ 
-7.895145636162169, 8.013929755054164 ], [ -7.890701462702339, 
8.017805486833765 ], [ -7.88372 [...]
+{ "type": "Feature", "properties": { "ISO": "CI-08", "NAME_1": "Zanzan" }, 
"geometry": { "type": "Polygon", "coordinates": [ [ [ -2.68921097799992, 
9.488724263000037 ], [ -2.675671752999932, 9.471722718000109 ], [ 
-2.674586547999951, 9.457485861000052 ], [ -2.678668986999867, 
9.425549825000061 ], [ -2.677377074999896, 9.41777252200005 ], [ 
-2.67241613799996, 9.401003519000099 ], [ -2.67241613799996, 9.374028422000066 
], [ -2.677532104999926, 9.357001038000135 ], [ -2.689417683999864, 9.3 [...]
+{ "type": "Feature", "properties": { "ISO": "CI-05", "NAME_1": "Comoe" }, 
"geometry": { "type": "Polygon", "coordinates": [ [ [ -3.096592622999907, 
7.054476971000042 ], [ -3.09727411440889, 7.054053375263038 ], [ 
-3.109598754999922, 7.046392721000132 ], [ -3.224940551999879, 6.8494021610001 
], [ -3.241683715999926, 6.810903219000053 ], [ -3.243078979999893, 
6.774755554000123 ], [ -3.238738158999922, 6.76462697400008 ], [ 
-3.226232462999917, 6.748581441000113 ], [ -3.21274491399987, 6.722 [...]
+{ "type": "Feature", "properties": { "ISO": "CI-13", "NAME_1": "Sud-Comoé" }, 
"geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 
-3.171721890999947, 6.249584688000084 ], [ -3.168794107999929, 6.24605397600007 
], [ -3.139364379999932, 6.219285584000104 ], [ -3.118073689999932, 
6.16347503700004 ], [ -3.087765462999897, 5.996689352000118 ], [ 
-3.073244384999953, 5.960955099000017 ], [ -3.034719604999907, 
5.890700989000024 ], [ -3.02252396699987, 5.854501648000081 ], [ -3.019965982 
[...]
+{ "type": "Feature", "properties": { "ISO": "CI-03", "NAME_1": "Savanes" }, 
"geometry": { "type": "Polygon", "coordinates": [ [ [ -5.522578084999878, 
10.42548879000006 ], [ -5.505111449999902, 10.415566915000056 ], [ 
-5.48748978699993, 10.392932638000019 ], [ -5.475294148999922, 
10.367714539000062 ], [ -5.474157267999914, 10.350325419000043 ], [ 
-5.459946248999927, 10.345157776000036 ], [ -5.453021606999869, 
10.343943380000098 ], [ -5.443771525999864, 10.343529969000087 ], [ 
-5.437828734 [...]
+{ "type": "Feature", "properties": { "ISO": "CI-19", "NAME_1": "Cavally" }, 
"geometry": { "type": "Polygon", "coordinates": [ [ [ -8.547147989999871, 
6.560039978000091 ], [ -8.53355708899997, 6.576343892000111 ], [ 
-8.461313435999926, 6.633420512000029 ], [ -8.44164567420853, 6.655310175024567 
], [ -8.434957648176919, 6.652591661176189 ], [ -8.336979132780755, 
6.589985662708159 ], [ -8.327677374711072, 6.586187445294343 ], [ 
-8.320339321402571, 6.585954902196988 ], [ -8.309280565046038,  [...]
+{ "type": "Feature", "properties": { "ISO": "CI-09", "NAME_1": "Bas-Sassandra" 
}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -7.384118204999936, 
5.568963522000104 ], [ -7.396675577999872, 5.585086568000079 ], [ 
-7.417962620999901, 5.627756685000122 ], [ -7.399620327316256, 
5.631491197360845 ], [ -7.094057583091001, 5.69060903587831 ], [ 
-7.081551885910812, 5.999246528004846 ], [ -7.086254441789038, 
6.088465887690575 ], [ -7.097416550933076, 6.13115062130413 ], [ -7.11080074725 
[...]
+{ "type": "Feature", "properties": { "ISO": "CI-15", "NAME_1": "Sud-Bandama" 
}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -5.428316042366843, 
5.098875563415594 ], [ -5.495676235999952, 5.095282294000071 ], [ 
-5.524810350999928, 5.099798895000049 ], [ -5.550526495999918, 
5.114976304000038 ], [ -5.57843990799995, 5.094549872000073 ], [ 
-5.557687954999949, 5.088446356000077 ], [ -5.550526495999918, 
5.087713934000078 ], [ -5.630238410999937, 5.06321849200009 ], [ 
-5.8513077459999 [...]
+{ "type": "Feature", "properties": { "ISO": "CI-01", "NAME_1": "Lagunes" }, 
"geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 
-5.324482582305336, 5.190827121574387 ], [ -5.323963995999918, 
5.190130927000041 ], [ -5.316965298999946, 5.194159247000073 ], [ 
-5.311512824999909, 5.195786851000094 ], [ -5.297352667999917, 5.19757721600007 
], [ -5.297352667999917, 5.190130927000041 ], [ -5.30500240799995, 
5.181626695000091 ], [ -5.32843990799995, 5.170070705000057 ], [ -5.33828691299 
[...]
+{ "type": "Feature", "properties": { "ISO": "CI-02", "NAME_1": 
"Haut-Sassandra" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 
-7.05488684695041, 7.608993232351793 ], [ -7.061604784433257, 7.61801076958136 
], [ -7.072560187102965, 7.661832383857416 ], [ -7.079123094055547, 
7.67790375445469 ], [ -7.073955451083236, 7.687102158837547 ], [ 
-7.07131995275364, 7.69720490258419 ], [ -7.070803187916795, 7.708082790888056 
], [ -7.071630011116156, 7.719477444028826 ], [ -7.0476521473287 [...]
+{ "type": "Feature", "properties": { "ISO": "CI-16", "NAME_1": "Agnéby" }, 
"geometry": { "type": "Polygon", "coordinates": [ [ [ -4.146588914346921, 
6.23424510282922 ], [ -4.144780239216686, 6.248456122352138 ], [ 
-4.144986944791697, 6.261323553838906 ], [ -4.146433884716032, 
6.266852932017173 ], [ -4.150567999813347, 6.276387234083586 ], [ 
-4.155322230736374, 6.297807114806517 ], [ -4.154185350073874, 
6.308194078493898 ], [ -4.154340378805443, 6.319356186738617 ], [ 
-4.153048467612678,  [...]
+{ "type": "Feature", "properties": { "ISO": "CI-11", "NAME_1": "N'zi-Comoé" }, 
"geometry": { "type": "Polygon", "coordinates": [ [ [ -3.774880336658214, 
6.627141018143448 ], [ -4.034399380327159, 6.501541449378351 ], [ 
-4.088659634234716, 6.483454698075832 ], [ -4.09765133304262, 6.476943467966635 
], [ -4.103232388064271, 6.470819809686475 ], [ -4.104420945570212, 
6.465626329191707 ], [ -4.107108119843872, 6.458391627771391 ], [ 
-4.111397263672814, 6.450485134581299 ], [ -4.1367187163956 [...]
+{ "type": "Feature", "properties": { "ISO": "CI-12", "NAME_1": "Marahoué" }, 
"geometry": { "type": "Polygon", "coordinates": [ [ [ -5.413402002800183, 
6.640095098410029 ], [ -5.415193651066147, 6.640111803317041 ], [ 
-5.481701218836179, 6.640731920042072 ], [ -5.512138637687997, 
6.629233914113854 ], [ -5.710369431604022, 6.495030219269211 ], [ 
-5.739928351312358, 6.488648180369239 ], [ -6.040788539659388, 
6.519757391890096 ], [ -6.0887959458762, 6.569728501968768 ], [ 
-6.095410528772902, [...]
+{ "type": "Feature", "properties": { "ISO": "CI-18", "NAME_1": "Fromager" }, 
"geometry": { "type": "Polygon", "coordinates": [ [ [ -5.481701218836179, 
6.640731920042072 ], [ -5.415193651066147, 6.640111803317041 ], [ 
-5.413402002800183, 6.640095098410029 ], [ -5.413798387085876, 
6.633290513946065 ], [ -5.409405889570166, 6.613989365816565 ], [ 
-5.398088751694559, 6.607142238923188 ], [ -5.343621792211934, 
6.608098253331718 ], [ -5.32083248503119, 6.602077947839007 ], [ 
-5.308533494325332 [...]
+{ "type": "Feature", "properties": { "ISO": "CI-04", "NAME_1": "Vallée du 
Bandama" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 
-4.010111457277958, 8.028321640831052 ], [ -4.157130906765929, 
7.999098618806215 ], [ -4.17857662591058, 7.992819931794429 ], [ 
-4.186741502418386, 7.986463731316121 ], [ -4.191702439815742, 
7.981502793918764 ], [ -4.213871629372193, 7.947732244747272 ], [ 
-4.271129115915983, 7.886288967162102 ], [ -4.289577603323721, 
7.871948757329278 ], [ -4.368229 [...]
+{ "type": "Feature", "properties": { "ISO": "CI-07", "NAME_1": "Lacs" }, 
"geometry": { "type": "Polygon", "coordinates": [ [ [ -4.740196092275824, 
6.601147772751517 ], [ -4.76613766082437, 6.594791571373889 ], [ 
-4.768514776735572, 6.59138092668843 ], [ -4.769341599934876, 6.587660224539718 
], [ -4.765930955249416, 6.584714666948287 ], [ -4.763553840237535, 
6.581071479165416 ], [ -4.76272701703823, 6.571666368308229 ], [ 
-4.76060828264616, 6.566550401279983 ], [ -4.757869432428379, 6.561 [...]
+{ "type": "Feature", "properties": { "ISO": "CI-14", "NAME_1": "Worodougou" }, 
"geometry": { "type": "Polygon", "coordinates": [ [ [ -6.105745814717579, 
7.618398342309661 ], [ -6.123574185400344, 7.643461411714782 ], [ 
-6.140369024610777, 7.654313463395624 ], [ -6.166930710783674, 
7.662530014948231 ], [ -6.204809535731499, 7.678213812817205 ], [ 
-6.213904588226171, 7.684414985463206 ], [ -6.218348760786682, 
7.690151069216483 ], [ -6.221914435103088, 7.721027736740666 ], [ 
-6.223413051870 [...]
+]
+}

Reply via email to