This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 4.0
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/4.0 by this push:
new c250ad259e fix(maps): adds Crimea back to Ukraine πΊπ¦ (#28226)
c250ad259e is described below
commit c250ad259ed946464e4e4dcda09f5665b4756646
Author: Evan Rusackas <[email protected]>
AuthorDate: Thu Apr 25 17:56:41 2024 -0600
fix(maps): adds Crimea back to Ukraine πΊπ¦ (#28226)
---
docs/static/resources/openapi.json | 4 ++--
.../legacy-plugin-chart-country-map/src/countries/ukraine.geojson | 6 ++++--
superset/examples/countries.py | 2 +-
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/docs/static/resources/openapi.json
b/docs/static/resources/openapi.json
index 13d5c8c21c..ad4c8ebbcf 100644
--- a/docs/static/resources/openapi.json
+++ b/docs/static/resources/openapi.json
@@ -7583,7 +7583,7 @@
"Europe/Istanbul",
"Europe/Jersey",
"Europe/Kaliningrad",
- "Europe/Kiev",
+ "Europe/Kyiv",
"Europe/Kirov",
"Europe/Lisbon",
"Europe/Ljubljana",
@@ -8297,7 +8297,7 @@
"Europe/Istanbul",
"Europe/Jersey",
"Europe/Kaliningrad",
- "Europe/Kiev",
+ "Europe/Kyiv",
"Europe/Kirov",
"Europe/Lisbon",
"Europe/Ljubljana",
diff --git
a/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/ukraine.geojson
b/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/ukraine.geojson
index a4b3c47b99..62646a4400 100644
---
a/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/ukraine.geojson
+++
b/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/ukraine.geojson
@@ -6,7 +6,7 @@
{ "type": "Feature", "properties": { "ISO": "UA-07", "NAME_1": "Volyn" },
"geometry": { "type": "Polygon", "coordinates": [ [ [ 25.183299601000044,
51.949750060999989 ], [ 25.351971477000063, 51.921483053000102 ], [
25.547396408000054, 51.919441982000066 ], [ 25.563897331796397,
51.897039293128842 ], [ 25.662599317604418, 51.890579738963766 ], [
25.630921665302594, 51.872079576511226 ], [ 25.638363071398601,
51.816785793829297 ], [ 25.509895461206554, 51.698653469581927 ], [
25.511600782 [...]
{ "type": "Feature", "properties": { "ISO": "UA-56", "NAME_1": "Rivne" },
"geometry": { "type": "Polygon", "coordinates": [ [ [ 25.547396408000054,
51.919441982000066 ], [ 25.76791508000008, 51.9285110470001 ], [
26.050585165000086, 51.90481740400007 ], [ 26.175332072000089,
51.856706645000102 ], [ 26.407772665000039, 51.850608826000055 ], [
26.419244832000061, 51.82092071600006 ], [ 26.445599813000115, 51.805598654 ],
[ 26.665741415000127, 51.801387024000078 ], [ 26.920816284000125, 51. [...]
{ "type": "Feature", "properties": { "ISO": "UA-18", "NAME_1": "Zhytomyr" },
"geometry": { "type": "Polygon", "coordinates": [ [ [ 28.210039917000103,
51.651964621000062 ], [ 28.245128214000147, 51.640621643000074 ], [
28.257788940000097, 51.601760966000128 ], [ 28.310912313000131,
51.574449971000021 ], [ 28.333856649000069, 51.528380433000095 ], [
28.46123905400006, 51.571659444000048 ], [ 28.603917684000123,
51.553546855000022 ], [ 28.637300659000118, 51.449625550000079 ], [ 28.6635522
[...]
-{ "type": "Feature", "properties": { "ISO": "UA-32", "NAME_1": "Kiev" },
"geometry": { "type": "Polygon", "coordinates": [ [ [ 29.660804078000126,
51.49313710600002 ], [ 29.69997481300004, 51.483706157000043 ], [
29.737905314000045, 51.439496969000047 ], [ 29.828649129000098,
51.429962668000044 ], [ 29.886268351000069, 51.464792582000101 ], [
29.92507735200013, 51.457867941000032 ], [ 30.00868981900004, 51.48207835 ], [
30.177310018000128, 51.479494527 ], [ 30.320195353000145, 51.4020832 [...]
+{ "type": "Feature", "properties": { "ISO": "UA-32", "NAME_1": "Kyiv Oblast"
}, "geometry": { "type": "Polygon", "coordinates": [ [ [ 29.660804078000126,
51.49313710600002 ], [ 29.69997481300004, 51.483706157000043 ], [
29.737905314000045, 51.439496969000047 ], [ 29.828649129000098,
51.429962668000044 ], [ 29.886268351000069, 51.464792582000101 ], [
29.92507735200013, 51.457867941000032 ], [ 30.00868981900004, 51.48207835 ], [
30.177310018000128, 51.479494527 ], [ 30.320195353000145, 51. [...]
{ "type": "Feature", "properties": { "ISO": "UA-21", "NAME_1":
"Transcarpathia" }, "geometry": { "type": "Polygon", "coordinates": [ [ [
22.13283980300011, 48.404798483 ], [ 22.148342733000106, 48.508823141000065 ],
[ 22.1387309160001, 48.569594625000079 ], [ 22.243220663000102,
48.651191711000038 ], [ 22.310296671000117, 48.68168080700012 ], [
22.330760539000067, 48.756404928000038 ], [ 22.365693807000071,
48.794387106000059 ], [ 22.36889774600013, 48.856450501000026 ], [
22.41178918400 [...]
{ "type": "Feature", "properties": { "ISO": "UA-77", "NAME_1": "Chernivtsi" },
"geometry": { "type": "Polygon", "coordinates": [ [ [ 26.617889038000015,
48.258967591000058 ], [ 26.303489624000093, 48.212045390000114 ], [
26.270726766000081, 48.093603007000027 ], [ 26.173058309000055,
47.993144023000056 ], [ 25.901240275000106, 47.965962219000048 ], [
25.752515503000097, 47.934594626000049 ], [ 25.261744426000064,
47.898576152000047 ], [ 25.218956339000016, 47.87847402000007 ], [ 25.07994
[...]
{ "type": "Feature", "properties": { "ISO": "UA-26", "NAME_1":
"Ivano-Frankivs'k" }, "geometry": { "type": "Polygon", "coordinates": [ [ [
24.928857956000115, 47.713937702000109 ], [ 24.877788533000114,
47.718742167000087 ], [ 24.793659302000066, 47.804473369000064 ], [
24.679144328000064, 47.840130107000064 ], [ 24.649275350000039,
47.895217184000032 ], [ 24.569808452598011, 47.937288541133228 ], [
24.588194614289989, 47.99593374274798 ], [ 24.641111281060773,
48.052777818141749 ], [ 24 [...]
@@ -26,6 +26,8 @@
{ "type": "Feature", "properties": { "ISO": "UA-12", "NAME_1":
"Dnipropetrovs'k" }, "geometry": { "type": "Polygon", "coordinates": [ [ [
34.983942499047089, 49.163717760166492 ], [ 35.169822625413815,
49.147232978419197 ], [ 35.361335483645632, 49.022020982382401 ], [
35.462466262208238, 48.974892076208334 ], [ 35.579203321576017,
48.975822252195144 ], [ 35.794383986132061, 48.934222724199344 ], [
35.930654737626014, 48.976390692976054 ], [ 35.952513868819949,
48.968690904461653 ], [ 36 [...]
{ "type": "Feature", "properties": { "ISO": "UA-71", "NAME_1": "Cherkasy" },
"geometry": { "type": "Polygon", "coordinates": [ [ [ 32.019213902199795,
50.251454982961093 ], [ 32.094609815990168, 50.236933905974979 ], [
32.140705194289239, 50.182311916861465 ], [ 32.215842725661219,
50.147533678236641 ], [ 32.269689569318132, 50.156835436306324 ], [
32.271704950023377, 50.131358953952542 ], [ 32.230570510020982,
50.118594876152599 ], [ 32.255065137745873, 50.062836005477266 ], [ 32.329427
[...]
{ "type": "Feature", "properties": { "ISO": "UA-35", "NAME_1": "Kirovohrad" },
"geometry": { "type": "Polygon", "coordinates": [ [ [ 32.788727654857382,
49.261799628350161 ], [ 33.038221470044789, 49.18195954020058 ], [
33.149325799346116, 49.125632228744337 ], [ 33.204102818090576,
49.070906886843318 ], [ 33.297068719245999, 49.064860744727582 ], [
33.34161380393391, 49.044035143207282 ], [ 33.345954623706916,
49.032666328488233 ], [ 33.31923790880245, 49.025586655799486 ], [ 33.2993941
[...]
-{ "type": "Feature", "properties": { "ISO": "UA-30", "NAME_1": "Kiev City" },
"geometry": { "type": "Polygon", "coordinates": [ [ [ 30.738579569391618,
50.668153050722708 ], [ 30.834853259770114, 50.63879710530216 ], [
30.842339119354847, 50.583978551369 ], [ 30.77560546292176, 50.544198930136474
], [ 30.750571941641795, 50.506299492727408 ], [ 30.768079276837113,
50.488703509559286 ], [ 30.760252259434196, 50.43988011157785 ], [
30.817012763528169, 50.367226506797806 ], [ 30.84604572103 [...]
+{ "type": "Feature", "properties": { "ISO": "UA-30", "NAME_1": "Kyiv" },
"geometry": { "type": "Polygon", "coordinates": [ [ [ 30.738579569391618,
50.668153050722708 ], [ 30.834853259770114, 50.63879710530216 ], [
30.842339119354847, 50.583978551369 ], [ 30.77560546292176, 50.544198930136474
], [ 30.750571941641795, 50.506299492727408 ], [ 30.768079276837113,
50.488703509559286 ], [ 30.760252259434196, 50.43988011157785 ], [
30.817012763528169, 50.367226506797806 ], [ 30.846045721033192, [...]
+{ "type": "Feature", "properties": { "ISO": "UA-43", "NAME_1": "Crimea" },
"geometry": { "type": "Polygon", "coordinates": [ [ [ 33.745771311300061,
44.402323389538829 ], [ 33.852068870481958, 44.431631863719531 ], [
33.805710906333218, 44.527306810660775 ], [ 33.712994978035795,
44.581555492092264 ], [ 33.709049619844052, 44.666380702207618 ], [
33.611401992907645, 44.720629383639107 ], [ 33.67452773116986,
44.791645839184127 ], [ 33.588428605039795, 44.842004786558498 ], [
33.612207031 [...]
+{ "type": "Feature", "properties": { "ISO": "UA-40", "NAME_1": "Sevastopol" },
"geometry": { "type": "Polygon", "coordinates": [ [ [ 33.588428605039795,
44.842004786558498 ], [ 33.67452773116986, 44.791645839184127 ], [
33.611401992907645, 44.720629383639107 ], [ 33.709049619844052,
44.666380702207618 ], [ 33.712994978035795, 44.581555492092264 ], [
33.805710906333218, 44.527306810660775 ], [ 33.852068870481958,
44.431631863719531 ], [ 33.745771311300061, 44.402323389538829 ], [ 33.65585
[...]
]
}
diff --git a/superset/examples/countries.py b/superset/examples/countries.py
index 2ea12baae7..a08a55b6e0 100644
--- a/superset/examples/countries.py
+++ b/superset/examples/countries.py
@@ -2054,7 +2054,7 @@ countries: list[dict[str, Any]] = [
"area": 603500,
"cioc": "UKR",
"cca2": "UA",
- "capital": "Kiev",
+ "capital": "Kyiv",
"lat": 49,
"lng": 32,
"cca3": "UKR",