Closed ropinho closed 3 years ago
Thanks for the report. I believe IPEA changed the path internally. I'll investigate this further.
I'm also experiencing this issue, will this be updated soon?
By checking the metadata from IPEA (available at this CSV), I believe that the new paths are:
https://www.ipea.gov.br/geobr/data_gpkg/census_tract/2010/33census_tract_2010.gpkg https://www.ipea.gov.br/geobr/data_gpkg/census_tract/2010/53census_tract_2010.gpkg https://www.ipea.gov.br/geobr/data_gpkg/census_tract/2010/15census_tract_2010.gpkg
But I couldn't validate if anything else changed, and the rest of the pipeline still works. @pinho @minterciso Maybe you can check if just changing the paths and renaming the files work. I shall check this in a couple of days.
@gabisurita I used these links to manually download the files (using curl) and placed them into the data_raw
directory. The instances were generated successfully.
Therefore, I believe that replace the links in "download.sh" fix this issue. I can test this and open a PR if all OK.
Solved by #28 .
We should also fix the README links, but I'll keep this closed since the script is already working.
All links to download geographic data from IPEA is broken returning 404 (Not Found).
Hence, the generation pipeline described in instance generation README.md finish unsuccessfully. The
generate.py
script fails to find the*.gpkg
files in thedata_raw
directory, raising following error:The (broken) links used in
download.sh
script are: