ipeaGIT / geobr

Easy access to official spatial data sets of Brazil in R and Python
https://ipeagit.github.io/geobr/
778 stars 116 forks source link

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

Closed rafapereirabr closed 3 months ago

rafapereirabr commented 7 months ago

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 commented 3 months ago

fixed