You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/07/27 22:05:19 UTC
(superset) branch fix/issue-31991-iran-geojson-iso-codes updated: fix(country-map): move Iran ISO code fix into the GeoJSON generator notebook
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch fix/issue-31991-iran-geojson-iso-codes
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/fix/issue-31991-iran-geojson-iso-codes by this push:
new 36e14b45eb0 fix(country-map): move Iran ISO code fix into the GeoJSON generator notebook
36e14b45eb0 is described below
commit 36e14b45eb024aa3e1365d1df4a7df9b09f56181
Author: rusackas <ev...@rusackas.com>
AuthorDate: Mon Jul 27 15:05:03 2026 -0700
fix(country-map): move Iran ISO code fix into the GeoJSON generator notebook
The Iran province ISO 3166-2 corrections (Alborz -> IR-30, Razavi
Khorasan -> IR-09) were only applied to the checked-in iran.geojson,
so the next `npm run update-maps` run would have silently reverted
them. Add an Iran section to the notebook, mirroring how other
countries needing manual corrections (Norway, Ukraine, France, etc.)
are patched, and regenerate iran.geojson from it to confirm the fix
now survives regeneration.
---
.../scripts/Country Map GeoJSON Generator.ipynb | Bin 11683742 -> 11004185 bytes
.../src/countries/iran.geojson | Bin 134245 -> 134537 bytes
2 files changed, 0 insertions(+), 0 deletions(-)
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 e5cf962013d..8f1bd6db10b 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/iran.geojson b/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/iran.geojson
index 41cf91bfe0c..047e1ca22e3 100644
Binary files a/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/iran.geojson and b/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/iran.geojson differ