LukasHaas / PIGEON

Code for the CVPR 2024 paper highlight and demo "PIGEON: Predicting Image Geolocations".
https://lukashaas.github.io/PIGEON-CVPR24/
Other
99 stars 10 forks source link

How to get admin_2.geojson? #4

Closed yingjun-zhang closed 3 months ago

yingjun-zhang commented 3 months ago

Hi! Thank you and your amazing work. When I want to run geocell_creation.py, I get an error: fiona._err.CPLE_OpenFailedError: data/geocells/admin_2.geojson: No such file or directory Could you please explain how to get this file?

yingjun-zhang commented 3 months ago

country, admin 1, and admin 2 levels) obtained from GADM [10]

uloma07 commented 1 month ago

@yingjun-zhang Please can you explain how you obtained them from GADM?

yunusserhat commented 1 month ago

@yingjun-zhang Please can you explain how you obtained them from GADM?

Could you try this; https://gadm.org/download_world.html

uloma07 commented 1 month ago

Hi @yunusserhat, thanks for the link. I had checked the GADM website before I asked. As far as I can see I can download the data as a geopackage consisting of different layers. I guess my real question is how do you go from the geopackage to the .geojson file for specific layers i.e ADMIN_1, ADMIN_2, and Countries(ADMIN_0)?

Thanks again