MammadTavakoli commented on issue #31989: URL: https://github.com/apache/superset/issues/31989#issuecomment-2614255508
If you're seeing HTML code instead of a rendered table or Markdown in GitHub, it likely means that the content is being misinterpreted. To ensure the correct rendering, use the following **Markdown-friendly version** of the table and content: --- Thanks, @dosu, for pointing this out! I checked the following resources: - [[ISO 3166-2:IR](https://en.wikipedia.org/wiki/ISO_3166-2:IR)](https://en.wikipedia.org/wiki/ISO_3166-2:IR) - [[GitHub GeoJSON Content](https://raw.githubusercontent.com/apache/superset/refs/heads/master/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/iran.geojson)](https://raw.githubusercontent.com/apache/superset/refs/heads/master/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries/iran.geojson) Below is the mapping between the two sources for Iran: ```markdown | Code | Wiki Subdivision Name (ISO 3166-2) | ISO (GitHub Content) | Name in GitHub Content | |--------|------------------------------------|-----------------------|----------------------------------| | IR-01 | Gilan | IR-01 | East Azarbaijan | | IR-02 | Mazandaran | IR-02 | West Azarbaijan | | IR-03 | East Azerbaijan | IR-03 | Ardebil | | IR-04 | West Azerbaijan | IR-04 | Esfahan | | IR-05 | Kermanshah | IR-05 | Ilam | | IR-06 | Khuzestan | IR-06 | Bushehr | | IR-07 | Fars | IR-07 | Tehran | | IR-07 | Fars | IR-07 | Alborz | | IR-08 | Kerman | IR-08 | Chahar Mahall and Bakhtiari | | IR-10 | Isfahan | IR-10 | Khuzestan | | IR-11 | Sistan and Baluchestan | IR-11 | Zanjan | | IR-12 | Kurdistan | IR-12 | Semnan | | IR-13 | Hamadan | IR-13 | Sistan and Baluchestan | | IR-14 | Chaharmahal and Bakhtiari | IR-14 | Fars | | IR-15 | Lorestan | IR-15 | Kerman | | IR-16 | Ilam | IR-16 | Kordestan | | IR-17 | Kohgiluyeh and Boyer-Ahmad | IR-17 | Kermanshah | | IR-18 | Bushehr | IR-18 | Kohgiluyeh and Buyer Ahmad | | IR-19 | Zanjan | IR-19 | Gilan | | IR-20 | Semnan | IR-20 | Lorestan | | IR-21 | Yazd | IR-21 | Mazandaran | | IR-22 | Hormozgan | IR-22 | Markazi | | IR-23 | Tehran | IR-23 | Hormozgan | | IR-24 | Ardabil | IR-24 | Hamadan | | IR-25 | Qom | IR-25 | Yazd | | IR-26 | Qazvin | IR-26 | Qom | | IR-27 | Golestan | IR-27 | Golestan | | IR-28 | North Khorasan | IR-28 | Qazvin | | IR-29 | South Khorasan | IR-29 | South Khorasan | | IR-30 | Alborz | IR-30 | Razavi Khorasan | ``` --- ### Suggestions for Improvement: 1. **Add Documentation:** It would be helpful to create a structured document listing these mappings for each country. This would avoid confusion and serve as a single source of truth. 2. **Correct ISO or Wiki Data:** If the mappings differ between the ISO 3166-2 standard and the GeoJSON data, itโs crucial to either align them or ensure the Wiki data is updated for consistency. Let me know if I can assist further! ๐ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
