lidR v1.1.0


Monthly downloads



Airborne LiDAR Data Manipulation and Visualization for Forestry Applications

Airborne LiDAR (Light Detection and Ranging) interface for data manipulation and visualization. Read/write 'las' and 'laz' files, computation of metrics in area based approach, point filtering, artificial point reduction, classification from geographic data, normalization, individual tree segmentation and other manipulations.


CRAN Github licence

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, classify data from shapefiles, and provides other tools to manipulate LiDAR data. The lidR package is designed mainly for research purposes using an area-based approach.

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!

  1. Features
  2. Install lidR from github
  3. Some examples
  4. Changelog

Features (not exhaustive)

Install lidR

  • 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 Xcode from the Mac App Store.
  • Linux: Install the R development package, usually called r-devel or r-base-dev

Some examples


See changelogs on

Functions in lidR

Name Description
as.raster.lasmetrics Transform a lasmetrics object into a spatial RasterLayer object
as.SpatialPointsDataFrame Transform a LAS object into a SpatialPointsDataFrame object
$,LAS-method Extract parts of a LAS object
as.lasmetrics Set the class 'lasmetrics' to a data.frame or a data.table
catalog_queries Extract LiDAR data based on a set of coordinates
catalog_apply Apply a function to a set of tiles using several cores.
catalog Build a catalog of las tiles/files
catalog_index Retrieve the tiles containing ROIs
grid_metrics Rasterize the space and compute metrics for each cell
grid_density Pulse density surface model
gap_fraction_profile Gap fraction profile
grid_canopy Canopy surface model
entropy Normalized Shannon diversity index
extent,LAS-method Extent
LAD Leaf area density
grid_metrics3d Voxelize the space and compute metrics for each voxel
-,LAS,RasterLayer-method Convenient operator to lasnormalize
LAS Create a LAS object
lasdecimate Thin LiDAR data
lasmetrics Compute metrics for a cloud of points
lasfilter Return points with matching conditions
LASheader Create a LASheader object
lasclip Clip LiDAR points
lascolor Compute the color from RGB fields
lasfilters Predefined filters
lasflightline Retrieve individual flightlines
lasarea Compute the area covered by of a set a points.
lasclassify Classify LiDAR points from source data
lasroi Select a region of interest interactively
lasscanline Retrieve individual scanline
plot.lasmetrics Plot an object of class lasmetrics in 2D
plot.LAS Plot LiDAR data
laspulse Retrieve individual pulses
plot.Catalog Plot a Catalog object
lasnormalize Subtract digital terrain model
plot.lasmetrics3d Plot voxelized LiDAR data
lidR-deprecated Deprecated function(s) in the lidR package
lidrpalettes Palettes
set.colors Automatic colorization
stdmetrics Predefined standard metrics function
plot3d Plot a wireframe of a RasterLayer or a lasmetrics object
summary.LAS Summary of LAS data
VCI Vertical Complexity Index
writeLAS Write a las or laz file
readLAS Read .las or .laz files
catalog_select Select LAS files interactively
as.SpatialPixelsDataFrame Transform a 'lasmetrics' object into a SpatialPixelsDataFrame object
grid_terrain Digital Terrain Model
LAS-class An S4 class to represent the data read in a .las or .laz file
LASheader-class An S4 class to represent the header read in a .las or .laz file
lastrees Individual tree segmentation
No Results!

Last month downloads


Type Package
Date 2017-02-05
License GPL-3
LazyData true
RoxygenNote 6.0.0
LinkingTo Rcpp
Encoding UTF-8
Collate 'RcppExports.R' 'catalog.r' 'catalog_apply.r' 'catalog_index.r' 'catalog_query.r' 'catalog_select.r' 'deprecated.r' 'grid_canopy.r' 'grid_density.r' 'grid_metrics.r' 'grid_metrics3d.r' 'grid_terrain.r' 'lasheader-class.r' 'las-class.r' 'lasarea.r' 'lascheck.r' 'lasclassify.r' 'lasclip.r' 'lascolor.r' 'lasdecimate.r' 'lasextent.r' 'lasfilter.r' 'lasindentify.r' 'lasmetrics.r' 'lasnormalize.r' 'lasroi.r' 'lassummary.r' 'lastrees.r' 'lidRError.r' 'metrics.r' 'mutatebyref.r' 'plot.catalog.r' 'plot.las.r' 'plot.lasmetrics.r' 'plot.lasmetrics3d.r' 'plot3d.r' 'readLAS.r' 'utils_colors.r' 'utils_geometry.r' 'utils_interpolations.r' 'utils_misc.r' 'utils_typecast.r' 'writeLAS.r' 'zzz.r'

Include our badge in your README