rasterize_conductivity | R Documentation |
Compute the conductivity raster sigma from lidar data according to Roussel et al. 2020 (see references)
rasterize_conductivity(
las,
dtm = NULL,
param = alsroads_default_parameters,
...
)
rasterize_conductivity2(
las,
dtm = NULL,
water = NULL,
param = alsroads_default_parameters2,
...
)
las |
an object of class LAS or LAScatalog from lidR |
dtm |
RasterLayer. If NULL is provided a DTM is computed on the fly. But if a DTM is already available it can be given to the function. |
param |
a list of many parameters. See alsroads_default_parameters. |
... |
ignored |
a RasterLayer or SpatRaster
library(lidR)
library(raster)
dir <- system.file("extdata", "", package="ALSroads")
dtm <- system.file("extdata", "j5gr_dtm.tif", package="ALSroads")
ctg <- readLAScatalog(dir)
dtm <- raster(dtm)
las <- readLAS(ctg$filename[1])
sigma <- rasterize_conductivity(las, dtm = dtm)
plot(sigma, col = viridis::inferno(30))
sigma <- rasterize_conductivity(ctg, dtm = dtm)
plot(sigma, col = viridis::viridis(30))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.