R: Subset a LAScatalog with a spatial object

catalog_intersect {lidR} | R Documentation

## Subset a LAScatalog with a spatial object

### Description

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 such as Spatial* objects, Raster* objects or sf and sfc objects

### Usage

    catalog_intersect(ctg, y)

### Arguments

`ctg` | A LAScatalog object
`y` | Extent, Raster*, Spatial*, sf, sfc, Extent or bbox objects

### Value

A LAScatalog

[Package lidR version 3.2.2 Index]