Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in read_municipality(year = 2021, simplified = TRUE) #331

Closed
rafapereirabr opened this issue Nov 27, 2023 · 1 comment
Closed

Error in read_municipality(year = 2021, simplified = TRUE) #331

rafapereirabr opened this issue Nov 27, 2023 · 1 comment

Comments

@rafapereirabr
Copy link
Member

The error occurrs in only with simplified = TRUE

library(geobr)

read_municipality(year = 2021, simplified = TRUE)

Using year 2021
Error: Cannot open "C:\Users\user\AppData\Local\Temp\RtmpYBIclc\25municipality_2021_simplified.gpkg"; The source could be corrupt or not supported. See st_drivers() for a list of supported formats.
In addition: Warning message:
In CPL_read_ogr(dsn, layer, query, as.character(options), quiet, :
GDAL Error 1: database disk image is malformed

@rafapereirabr
Copy link
Member Author

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant