Skip to contents

is_classified derives information about point classification

Usage

is_classified(path, full.names = FALSE, add_classes = FALSE)

Arguments

path

The path to a file (.las/.laz/.copc), to a directory which contains these files, or to a virtual point cloud (.vpc) referencing these files.

full.names

Whether to return the full file path or just the file name (default)

add_classes

Whether to add a list of present classes or not (default)

Value

A dataframe returning filename, classified

Details

The function needs to read the actual point cloud data! To speed up the processing the function reads just a sample of points, which is slower than just reading the header information but much faster than reading the entire file. The results are thus only valid for the subsample of points and do not necessarily reflect the entire file.

Examples

f <- system.file("extdata", package = "managelidar")
is_classified(f)
#> Error in loadNamespace(x): there is no package called ‘lasR’