Learn R Programming

lidR (version 3.1.1)

catalog_makechunks: Subdivide a LAScatalog into chunks

Description

Virtually subdivide a LAScatalog into chunks. This function is an internal function exported to users in version 3.0.0 because it might be useful for some debugging purposes. It might also be useful for some advanced developers. Regular users are not expected to use this function. The chunks are made according to the catalog processing options.

Usage

catalog_makechunks(ctg, realignment = FALSE, plot = opt_progress(ctg))

Arguments

ctg

an object of class LAScatalog

realignment

FALSE or list(res = x, start = c(y,z)). Sometimes the chunk must be aligned with a raster, for example to ensure the continuity of the output. If the chunk size is 800 and the expected product is a raster with a resolution of 35, 800 and 35 are not compatible and will create 2 different partial pixels on the edges. The realignment option forces the chunk to fit the grid aligment.

plot

logical. Displays the chunk pattern.

Value

A list containing objects of class LAScluster.