Learn R Programming

lidR (version 2.0.0)

catalog_intersect: Subset a LAScatalog with a Spatial* object

Description

Subset a LAScatalog with a Spatial* object to keep only the tiles of interest. Internally, it uses the function intersect from raster with a tweak to make it work with a LAScatalog. It can be used to select tiles of interest that encompass Spatial* objects such as SpatialPoints, SpatialPolygons or SpatialLines.

Usage

catalog_intersect(ctg, y)

Arguments

ctg

A LAScatalog object

y

Extent, Raster*, SpatialPolygons*, SpatialLines* or SpatialPoints* object

Value

A LAScatalog