Compute Canopy Height Model (CHM)
get_chm.RdComputes a Canopy Height Model (CHM = DSM - DEM) either by:
downloading the necessary DEM and DSM from IGN WMS services using
x, orusing DEM and DSM rasters directly supplied by the user.
Usage
get_chm(x = NULL, dem = NULL, dsm = NULL, minmax = c(0, 50), ...)Arguments
- x
sforsfc; Geometry located in France.- dem
SpatRasterrepresenting ground elevation (DEM). Must be supplied only whenxisNULL.- dsm
A
SpatRasterrepresenting surface elevation (DSM). Must be supplied only whenxisNULL.- minmax
numericlength-2 vector giving the accepted CHM range asc(min, max). Default:c(0, 50).- ...
Additional parameters passed to
get_dem()andget_dem()whenxis supplied.