Learn R Programming

lidR

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 point clouds, compute metrics using an area-based approach, compute digital canopy models, thin LiDAR data, manage a collection of LAS/LAZ files, automatically extract ground inventories, process a collection of tiles using multicore processing, segment individual trees, classify points from geographic data, and provides other tools to manipulate LiDAR data in a research and development context.

Copy Link

Version

Install

install.packages('lidR')

Monthly Downloads

4,376

Version

4.2.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Jean-Romain Roussel

Last Published

June 2nd, 2025

Functions in lidR (4.2.1)

LAS-class

An S4 class to represent a .las or .laz file
as

Transform to a list
Extract

Extract or Replace Parts of a LAS* Object
aggregate

Metric derivation at different levels of regularization
LAScatalog-class

An S4 class to represent a collection of .las or .laz files
connected_components

Connected-Component Labeling
clip

Clip points in regions of interest
classify

Classify points
decimate_points

Decimate a LAS object
catalog_retile

Retile a LAScatalog
deprecated

Deprecated functions in lidR
catalog_boundaries

Computes the polygon that encloses the points
catalog_intersect

Subset a LAScatalog
dsm_pitfree

Digital Surface Model Algorithm
dtm_kriging

Spatial Interpolation Algorithm
dsm_point2raster

Digital Surface Model Algorithm
gnd_mcc

Ground Segmentation Algorithm
engine

Functions for the LAScatalog processing engine not meant to be called directly by users
gnd_csf

Ground Segmentation Algorithm
engine_options

Get or set LAScatalog processing engine options
dtm_tin

Spatial Interpolation Algorithm
filters

Filter points of interest
fit_circle

Fits 2D Circles on a Point Cloud
dsm_tin

Digital Surface Model Algorithm
itd_manual

Individual Tree Detection Algorithm
dtm_idw

Spatial Interpolation Algorithm
its_watershed

Individual Tree Segmentation Algorithm
itd_lmf

Individual Tree Detection Algorithm
its_silva2016

Individual Tree Segmentation Algorithm
is

A set of boolean tests on objects
interpret_waveform

Convert full waveform data into a regular point cloud
gnd_pmf

Ground Segmentation Algorithm
retrieve_pulses

Retrieve individual pulses, flightlines or scanlines
its_li2012

Individual Tree Segmentation Algorithm
lidR-spatial-index

Spatial index
las_check

Inspect a LAS object
knn

Search Nearest Neighbors
knn_distance

Computes the Distance to k-Nearest Neighbors
its_dalponte2016

Individual Tree Segmentation Algorithm
lidR-parallelism

Parallel computation in lidR
lidR-package

lidR: airborne LiDAR for forestry applications
las_compression

Compression of the point cloud
locate_trees

Individual tree detection
normalize

Normalize point cloud
noise_sor

Noise Segmentation Algorithm
nstdmetrics

Predefined non standard metrics
old_spatial_packages

Older R Spatial Packages
merge_spatial

Merge a point cloud with a source of spatial data
noise_ivf

Noise Segmentation Algorithm
plot

Plot a LAS* object
pitfill_stonge2008

Pits and spikes filling
sample_per_voxel

Point Cloud Decimation Algorithm
readLASheader

Read a .las or .laz file header
plugins

Plugin system
sample_homogenize

Point Cloud Decimation Algorithm
point_metrics

Point-based metrics
sample_maxima

Point Cloud Decimation Algorithm
rasterize

Rasterize a point cloud
plot.lasmetrics3d

Plot voxelized LiDAR data
las_utilities

LAS utilities
plot_3d

Add a spatial object to a point cloud scene
sample_random

Point Cloud Decimation Algorithm
st_bbox

Bounding box of a LAS* object
range_correction

Intensity normalization algorithm
lidR-LAScatalog-drivers

LAScatalog drivers
readLAScatalog

Create an object of class LAScatalog
st_area

Surface covered by a LAS* object
readALS

Read .las or .laz files
segment

Segment a point cloud
st_coordinates

Coordinates of a LAS* object in a matrix form
st_crs

Get or set the projection of a LAS* object
shape_detection

Algorithms for shape detection of the local point neighbourhood
smooth_height

Smooth a point cloud
set_lidr_threads

Set or get number of threads that lidR should use
print.LAS

Tools inherited from base R for LAS* objects
stdmetrics

Predefined standard metrics functions
track_sensor

Reconstruct the trajectory of the LiDAR sensor using multiple returns
track_sensor_gatziolis2019

Sensor tracking algorithm
st_hull

Concave and convex hulls for LAS objects
st_transform

Transform or convert coordinates of LAS objects
track_sensor_roussel2020

Sensor tracking algorithm
voxelize_points

Voxelize a point cloud
writeLAS

Write a .las or .laz file
snag_wing2015

Snags Segmentation Algorithm
LASheader

Create a LASheader object
LASheader-class

An S4 class to represent the header of .las or .laz files
asprs

ASPRS LAS Classification
catalog_apply

LAScatalog processing engine
add_attribute

Add attributes into a LAS object