lidR (version 2.1.2)

rOverlay: RasterLayer tools

Description

Internal function: a set of tools related to Raster*

  • rOverlay: Generates an (empty) RasterLayer that encompasse a point cloud

  • rMergeList: Merge a list of Raster* in a single Raster* preserving the layer names

  • rBuildVRT: Create a Virtual Raster Mosaic from a set of Raster file on disk.

Usage

rOverlay(las, res, start = c(0, 0), buffer = 0)

rMergeList(raster_list)

rBuildVRT(file_list, vrt)

Arguments

las

An object of class LAS

res

numeric. resolution of the raster

start

vector of x and y coordinates for the reference raster. Default is (0,0) meaning that the grid aligns on (0,0).

buffer

numeric. Extend the bounding box of the LAS object to generate a RasterLayer larger than the point cloud

raster_list

list. List of Raster* objects

file_list

list. List of path to Raster* file

vrt

charcter. Name of the VRT that must be written