Visualizes the spatial extent of LAS/LAZ/COPC files on an interactive map.
Arguments
- path
Character. Path(s) to LAS/LAZ/COPC files, a directory, a VPC file, or a VPC object already loaded in R.
- per_file
Logical. If
TRUE(default), plots extent per file. IfFALSE, plots combined extent as a single polygon.- full.names
Logical. If
TRUE, shows full file paths in labels; otherwise shows base filenames (default). Only used whenper_file = TRUE.- verbose
Logical. If
TRUE(default), prints extent information.
Examples
folder <- system.file("extdata", package = "managelidar")
las_files <- list.files(folder, full.names = T, pattern = "*20240327.laz")
# Plot extent per file
las_files |> plot_extent()
#> Error in loadNamespace(x): there is no package called ‘lasR’
# Plot combined extent
las_files |> plot_extent(per_file = FALSE)
#> Error in loadNamespace(x): there is no package called ‘lasR’