Download the ETH Global Sentinel-2 10m Canopy Height (2020)
fd_canopy_height_eth(
x = NULL,
lon = NULL,
lat = NULL,
layer = "chm",
crop = FALSE,
mask = FALSE,
merge = FALSE,
quiet = FALSE
)
A SpatRaster
a sf
or SpatVector
object. It will retrieve the
necessary tiles to cover the area (if lat
and lon
are
specified, this argument is ignored)
a number specifying the longitude of the area where we want the tile
a number specifying the latitude of the area where we want the tile
a string for the layer to download. The default "chm
"
downloads the Canopy Height Model, while "std
" downloads
the standard deviation. If you want both layers, use "all
"
when x
is specified, whether to crop the tile(s) to the object
when x
is specified, whether to mask the tile(s) to the object
if FALSE
(default), it will merge the tiles into one raster.
If FALSE
a SpatRasterCollection will be returned.
if TRUE
, suppress any message or progress bar
Data may be freely used for research, study, or teaching, but be cited appropriately (see references below).
Lang, Nico, Walter Jetz, Konrad Schindler, and Jan Dirk Wegner. "A high-resolution canopy height model of the Earth." arXiv preprint arXiv:2204.08322 (2022).