Broken links to IPEA gpkg files
See original GitHub issueAll 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 the data_raw
directory, raising following error:
fiona._err.CPLE_OpenFailedError: ./loggibud/loggibud/v1/instance_generation/../../../data_raw/33.gpkg: No such
file or directory
The (broken) links used in download.sh
script are:
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Repairing broken data links—Help | ArcGIS for Desktop
You can repair these broken data links from the table of contents or by using ... of map documents; Changing the data source...
Read more >Repairing corrupted GeoPackage - qgis - GIS Stack Exchange
Database disk image is malformed error whenever you try to open a locked gpkg file. In my case, the solution was to make...
Read more >How do I find and fix a broken link? - Siteimprove Support
Steps to fix a broken link. Go to Quality Assurance > Links > Broken Links; Select the "Confirmed broken links" tab. Note: See...
Read more >Five Tips for Fixing Broken Data Links in an ArcGIS Pro Project
Just right-click a layer and then click Properties. On the Properties dialog box, click the Source tab and click Change data source to...
Read more >Viewing Broken Links - MadCap Flare's Online Help
You can view a list of files in your project where a broken link is located, including which file it is trying to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.