Get quickly structure and admincode (digits/letters) of administrative areas of a country #3111
stouch
started this conversation in
Show and tell
Replies: 2 comments 3 replies
-
Just updated the repo and introduced some other mappings |
Beta Was this translation helpful? Give feedback.
0 replies
-
Please be aware that systematic downloads like this are against the usage policy of nominatim.openstreetmap.org. Have a look at Overpass API or https://osm-boundaries.com/. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I needed to get the structure of OSM regions/states/cantons of some countries, and their sub aeras.
For each region and sub-regions, I needed to get their adminCode (in France, we have 2-digits codes for each départements, but sometimes for some other countries it's 3-letters identifiers, etc.).
Anyway, just wanted to show you this : https://github.com/stouch/osm-to-admincodes-mapping
It uses ChatGPT and your Nominatim full-planet instance.
Regards,
Beta Was this translation helpful? Give feedback.
All reactions