R package for Airborne LiDAR Data Manipulation and Visualization for Forestry Applications
The lidR package provides functions to read and write
.laz files, plot a point cloud, compute metrics using an area-based approach, compute digital canopy models, thin lidar data, manage a catalog of datasets, automatically extract ground inventories, process a set of tiles in multicore, individual tree segmentation, classify data from geographic data, and provides other tools to manipulate LiDAR data.
lidR provides an open-source and R-based implementation of several classical functions used in software dedicated to LiDAR data manipulation. lidR is flexible because it allows the user to program their own tools and manipulate their own objects in R rather than rely on a set of predefined tools.
Please contact the author for bug reports or feature requests (on github, preferably). I enjoy implementing new features!
Features (not exhaustive)
- Read write .las and .laz files
- Plot 3D LiDAR data
- Retrieve indiviual pulses and flightlines
- Compute any set of metrics using an area based approach
- Compute any set of metrics on a cloud of points
- Classify and clip data from geographic shapefiles
- Colorize a point cloud from RGB images
- Filter a cloud of points based on any condition test
- Clip data based on discs, rectangles or polygons
- Manage a catalog of
- Thin a point cloud to reach a homogeneous pulse density
- Automatically extract a set of ground plot inventories
- Analyse a full set of tiles in parallel computing
- Compute a digital canopy model (DCM)
- Compute a digital terrain model (DTM)
- Normalize a point cloud substracting a DTM
- Individual tree segmentation
- The latest released version from CRAN with
- The latest development version from github with
devtools::install_github("Jean-Romain/rlas", dependencies=TRUE) devtools::install_github("Jean-Romain/lidR", dependencies=TRUE)
To install the package from github make sure you have a working development environment.
- Windows: Install Rtools.exe.
- Mac: Install
Xcodefrom the Mac App Store.
- Linux: Install the R development package, usually called