fd_canopy_height_eth: Forest Canopy Height

View source: R/canopy-height.R

fd_canopy_height_ethR Documentation

Forest Canopy Height

Description

Download the ETH Global Sentinel-2 10m Canopy Height (2020)

Usage

fd_canopy_height_eth(
  x = NULL,
  lon = NULL,
  lat = NULL,
  layer = "chm",
  crop = FALSE,
  mask = FALSE,
  merge = FALSE,
  quiet = FALSE
)

Arguments

x

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)

lon

a number specifying the longitude of the area where we want the tile

lat

a number specifying the latitude of the area where we want the tile

layer

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"

crop

when x is specified, whether to crop the tile(s) to the object

mask

when x is specified, whether to mask the tile(s) to the object

merge

if FALSE (default), it will merge the tiles into one raster. If FALSE a SpatRasterCollection will be returned.

quiet

if TRUE, suppress any message or progress bar

Details

Data may be freely used for research, study, or teaching, but be cited appropriately (see references below).

Value

A SpatRaster

References

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).


forestdata documentation built on June 8, 2025, 12:43 p.m.