Skip to contents

This function takes a `SpatRaster` object representing Copernicus land cover data, reclassifies it into categorical values based on specified land cover classes, and returns the resulting categorical raster.

Usage

create_cat_esa_10m(land_cover)

Arguments

land_cover

A SpatRaster object representing the input land cover raster. The raster should contain land cover classes defined by the Copernicus program.

Value

A SpatRaster object representing the reclassified categorical land cover raster.

Details

The function defines land cover categories and assigns corresponding colors. It reclassifies the input raster based on predefined categories.

References

WorldCover 2020 v100

Zanaga, D., Van De Kerchove, R., De Keersmaecker, W., Souverijns, N., Brockmann, C., Quast, R., Wevers, J., Grosu, A., Paccini, A., Vergnaud, S., Cartus, O., Santoro, M., Fritz, S., Georgieva, I., Lesiv, M., Carter, S., Herold, M., Li, Linlin, Tsendbazar, N.E., Ramoino, F., Arino, O., 2021. ESA WorldCover 10 m 2020 v100. https://doi.org/10.5281/zenodo.5571936

WorldCover 2021 v200

Zanaga, D., Van De Kerchove, R., Daems, D., De Keersmaecker, W., Brockmann, C., Kirches, G., Wevers, J., Cartus, O., Santoro, M., Fritz, S., Lesiv, M., Herold, M., Tsendbazar, N.E., Xu, P., Ramoino, F., Arino, O., 2022. ESA WorldCover 10 m 2021 v200. https://doi.org/10.5281/zenodo.7254221

ESA WorldCover project 2020 and 2021 / Contains modified Copernicus Sentinel data (2020 and 2021) processed by ESA WorldCover consortium With year either 2020 or 2021 for the WorldCover 2020 and 2021 map, respectively.

ESA WorldCover

Examples

if (FALSE) { # \dontrun{
# Assuming 'land_cover_raster' is a SpatRaster object
cat_raster <- create_cat_esa_10m(land_cover_raster)
} # }