View source: R/tile_functions.R
mask_tile | R Documentation |
This function uses a raster layer as a mask to subset a LAS point cloud.
Those points that fall within raster cells with non-missing values are
retained. Any points outside the bounds of the raster, or falling in cells
with NA
values are dropped. If no points fall within data cells of
the raster, a warning message is issued and NULL
is returned.
mask_tile(las, r)
las |
A LAS object, e.g. imported using |
r |
A |
A new LAS
object containing the masked points and updated
header information.
This function does not check that the coordinate reference systems of the LAS and raster objects are the same.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.