lidR v1.4.1


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, 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!

  1. Features
  2. Install lidR
  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
catalog_select Select LAS files interactively
gap_fraction_profile Gap fraction profile
entropy Normalized Shannon diversity index
grid_density Map the pulse or point density
extent,LAS-method Extent
lasflightline Retrieve individual flightlines
plot.LAS Plot LiDAR data
plot.lashexametrics Plot an object of class lashexametrics in 2D
plot.lasmetrics Plot an object of class lasmetrics in 2D
plot.LAScatalog Plot a LAScatalog object
lasground Classify points as ground or not ground
grid_metrics Rasterize the space and compute metrics for each cell
lastrees Individual tree segmentation
readLAS Read .las or .laz files
lasfilters Predefined filters
grid_metrics3d Voxelize the space and compute metrics for each voxel
lasfilter Return points with matching conditions
catalog_index Retrieve the files containing ROIs
lidR-deprecated Deprecated function(s) in the lidR package
rumple_index Rumple index of roughness
grid_terrain Digital Terrain Model
lasdecimate Thin LiDAR data
grid_tincanopy Canopy height model based on a triangulation.
lascolor Compute the color from RGB fields
grid_hexametrics Compute metrics for hexagonal cells
lidr_options Options Settings for the lidR package
grid_canopy Canopy surface model
lasclassify Classify LiDAR points from source data
lasclip Clip LiDAR points
laspulse Retrieve individual pulses
lasmetrics Compute metrics for a cloud of points
lasnormalize Subtract digital terrain model
lasroi Select a region of interest interactively
set.colors Automatic colorization
lasscanline Retrieve individual scanline
stdmetrics Predefined standard metrics functions
lassnags Snag classification
writeLAS Write a las or laz file
lidrpalettes Palettes
plot3d Plot a wireframe of a RasterLayer or a lasmetrics object
plot.lasmetrics3d Plot voxelized LiDAR data
tree_detection Tree top detection based on local maxima filters
summary.LAS LiDAR data summary
tree_metrics Compute metrics for each tree
util_makeZhangParam Parameters for progressive morphological filter
LAScatalog-class An S4 class to represent a set of a .las or .laz files
VCI Vertical Complexity Index
LAS-class An S4 class to represent the data read in a .las or .laz file
LAS Create a LAS object
LAScluster-class An S4 class to represent an arbitrary region in the catalog.
LASheader Create a LASheader object
-,LAS,RasterLayer-method Convenient operator to lasnormalize
LASheader-class An S4 class to represent the header read in a .las or .laz file
area Surface covered by a LAS object or by a LAScatalog.
LAD Leaf area density
catalog_apply Apply a user-defined function to an entire catalog in a continuous way
as.lasmetrics Set the class 'lasmetrics' to a data.frame or a data.table
as.raster.lasmetrics Transform a lasmetrics object into a spatial RasterLayer object
catalog_queries Extract LiDAR data based on a set of coordinates
catalog Build a catalog of las tiles/files
as.spatial Transform a lidR object into sp object
catalog_options Options Settings for the catalog tools
catalog_reshape Reshape (retile) a catalog
No Results!

Last month downloads


Type Package
Date 2018-02-01
License GPL-3
LazyData true
RoxygenNote 6.0.1
LinkingTo Rcpp,RcppProgress
Encoding UTF-8
ByteCompile true
Collate 'RcppExports.R' 'catalog_apply.r' 'catalog_clip.r' 'catalog_index.r' 'catalog_makecluster.r' 'catalog_query.r' 'catalog_reshape.r' 'catalog_select.r' 'class-lasheader.r' 'class-las.r' 'class-lascatalog.r' 'class-lascluster.r' 'constant.R' 'deprecated.r' 'grid_canopy.r' 'grid_catalog.r' 'grid_density.r' 'grid_hexametrics.r' 'grid_metrics.r' 'grid_metrics3d.r' 'grid_terrain.r' 'grid_tincanopy.r' 'lasaggreagte.r' 'lascheck.r' 'lasclassify.r' 'lasclip.r' 'lascolor.r' 'lasdecimate.r' 'lasfilter.r' 'lasground.r' 'lasindentify.r' 'lasmetrics.r' 'lasnormalize.r' 'lasroi.r' 'lassnags.r' 'lastrees.r' 'lidRError.r' 'metrics.r' 'metrics_canopy_roughness.r' 'mutatebyref.r' 'options.r' 'plot.catalog.r' 'plot.las.r' 'plot.lashexametrics.r' 'plot.lasmetrics.r' 'plot.lasmetrics3d.r' 'plot3d.r' 'readLAS.r' 'subcircled.r' 'tree_detection.r' 'tree_metrics.r' 'utils_colors.r' 'utils_geometry.r' 'utils_interpolations.r' 'utils_misc.r' 'utils_projection.r' 'utils_spatial.r' 'utils_typecast.r' 'writeLAS.r' 'zzz.r'

Include our badge in your README