Learn R Programming

lidR (version 1.6.1)

catalog_index: Retrieve the files containing ROIs

Description

This function is an internal function reserved for lidR developers. When we have a set of (x, y) coordinates corresponding to a region of interest (ROI) in a catalog this function retrieve in which file(s) are these ROIs.

Usage

catalog_index(catalog, x, y, w, h, buffer, roinames)

Arguments

catalog

A LAScatalog object

x

vector. A set of x plot coordinates

y

vector. A set of y plot coordinates

roinames

vector. A set of ROI names

r

numeric or vector. A radius or a set of radii of the ROI. If only r is provided (r2 = NULL) it will extract data falling onto a disc.

r2

numeric or vector. A radius or a set of radii of plots. If r2 is provided, the selection turns into a rectangular ROI. If r= r2 it is a square.

Value

A list of LAScluster object.