12rambau / pygadm

Easy access to administrative boundary defined by GADM from Python scripts
https://pygadm.readthedocs.io
MIT License
7 stars 1 forks source link

make sure that when 2 conflicting names exist the one taken is always the biggest #71

Open 12rambau opened 4 months ago

12rambau commented 4 months ago

following https://github.com/12rambau/pygadm/issues/68

When loading data like mexico you get the department in philipine instead of the country from LATAM.

The database should be reorder to start with the unique country, then unique level 1 etc instead of being grouped by country as it's curently done. It will create bugs in the name management workaround as the geojson and the table will not be aligned anymore.