
Download ~1 km land-cover layers (built-up, cropland, water)
Source:R/download.R
download_landcover.RdDownloads global ~1 km (30 arc-second) fractions of built-up area,
cropland or open water derived from ESA WorldCover, via
geodata::landcover() (needs the geodata package and internet; files are
cached in path). Use them in filter_layers() as built, cropland
and water.
Usage
download_landcover(var = c("built", "cropland", "water"), path)Arguments
- var
One of
"built","cropland","water"(or any othergeodata::landcover()variable).- path
Folder where the file is stored (and re-used next time).
References
Zanaga, D., Van De Kerchove, R., Daems, D., et al. (2022) ESA WorldCover 10 m 2021 v200. Zenodo. doi:10.5281/zenodo.7254221