R package for Airborne LiDAR Data Manipulation and Visualization for Forestry Applications
The lidR package provides functions to read and write .las
and .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.
Development of the lidR package between 2015 and 2017 was made possible thanks to the financial support of the AWARE project (NSERC CRDPJ 462973-14); grantee Prof Nicholas Coops.
Please contact the author for bug reports or feature requests (on github, preferably). I enjoy implementing new features!
- 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
.las
tiles - 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
install.packages("lidR")
- 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
Xcode
from the Mac App Store. - Linux: Install the R development package, usually called
r-devel
orr-base-dev