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

Can't get level 0 data for Tanzania #66

Closed seor12 closed 4 months ago

seor12 commented 6 months ago

Tried this

gdf = pygadm.Items(admin='TZA', content_level=0)

But I get this Exception

Exception: We cannot retrieve the data from GADM server. Try to manually open the following link: https://geodata.ucdavis.edu/gadm/gadm4.1/json/gadm41_TZA_0.json. If it doesn't work, the error is coming from GADM servers. If it works please open an issue on our repository: https://github.com/12rambau/pygadm/issues.

The link works fine. I have tried other countries, such as AUS, which seem to work fine, just having the issue with Tanzania. Please can someone help?

12rambau commented 6 months ago

I just tried on my local computer and it works as expected:

image

Can you retry from your side and make sure you are using the latest version of the lib ?

12rambau commented 4 months ago

I checked again this morning and it still works. Happy to have a look again if you can reproduce your bug.