catalog_subset function

Subset a LAScatalog

Subset a LAScatalog

Subset a LAScatalog interactively using the mouse. Subset a LAScatalog with a spatial object to keep only the tiles of interest. It can be used to select tiles of interest that encompass spatial objects.

catalog_intersect( ctg, y, ..., subset = c("subset", "flag_unprocessed", "flag_processed") ) catalog_select( ctg, mapview = TRUE, subset = c("subset", "flag_unprocessed", "flag_processed") )

Arguments

  • ctg: A LAScatalog
  • y: bbox, sf, sfc, Extent, Raster*, Spatial* objects
  • ...: ignored
  • subset: character. By default it subsets the collection It is also possible to flag the files to maintain the collection as a whole but process only a subset of its content. flag_unprocessed flags the files that will not be processed. flag_processed flags the files that will be processed.
  • mapview: logical. If FALSE, use R base plot instead of mapview (no pan, no zoom, see also plot )

Returns

A LAScatalog object

Examples

## Not run: ctg = readLAScatalog("<Path to a folder containing a set of .las files>") new_ctg = catalog_select(ctg) ## End(Not run)
  • Maintainer: Jean-Romain Roussel
  • License: GPL-3
  • Last published: 2024-07-09