Learn R Programming

lidR (version 1.6.1)

plot.LAScatalog: Plot a LAScatalog object

Description

This functions implements a plot method for LAScatalog objects. The catalog is displayed in an interactive map with pan, zoom capabilities. If the coordinate reference system (CRS) of the catalog is set, the plot can be display on top of base maps (satellite data, elevation, street, and so on).

Usage

# S3 method for LAScatalog
plot(x, y = TRUE, ...)

Arguments

x

A LAScatalog object

y

logical. If FALSE the catalog is displayed in a regular plot from R base.

Will be passed to base plotsed if y = FALSE or to mapview if y = TRUE.

Examples

Run this code
# NOT RUN {
ctg = catalog("<Path to a folder containing a set of .las files>")
plot(catalog)
# }

Run the code above in your browser using DataLab