Get MapBiomas Peru land use / land cover raster
Source:R/mapbiomas-lulc.R
get_mapbiomas_peru_lulc.RdLazily reads a single-year Land Use and Land Cover (LULC) classification
raster from the MapBiomas Peru collection. Only the bytes required for the
requested extent are downloaded (via GDAL's /vsicurl/ driver).
Optionally crops and masks the raster to an area of interest.
Examples
if (FALSE) { # \dontrun{
library(geoidep)
lima <- get_departaments("LIMA", show_progress = FALSE)
lulc_2024 <- get_mapbiomas_peru_lulc(year = 2024, crop_to = lima)
lulc_2024
lulc_2025 <- get_mapbiomas_peru_lulc(year = 2025, collection = 4, crop_to = lima)
lulc_2025
} # }