Package: lasR 0.21.0

Jean-Romain Roussel

lasR: Fast and Pipeable Airborne LiDAR Data Tools

Fast and pipeable airborne lidar processing tools. Read/write 'las' and 'laz' files, computation of metrics in area based approach, point filtering, normalization, individual tree segmentation and other manipulations in a powerful and versatile processing chain.

Authors:Jean-Romain Roussel [aut, cre, cph], Alexey Grigoryev [ctb], Martin Isenburg [cph], Benoît St-Onge [cph], Niels Lohmann [cph], Volodymyr Bilonenko [cph], State Key Laboratory of Remote Sensing Science, Institute of Remote Sensing Science and Engineering, Beijing Normal University [cph], Authors of Eigen [cph], Marius Muja [cph], David G. Lowe [cph], Jose L. Blanco [cph], Heinich Porro [cph]

lasR_0.21.0.tar.gz
lasR_0.21.0.zip(r-4.7)lasR_0.21.0.zip(r-4.6)lasR_0.21.0.zip(r-4.5)
lasR_0.21.0.tgz(r-4.6-x86_64)lasR_0.21.0.tgz(r-4.6-arm64)lasR_0.21.0.tgz(r-4.5-x86_64)lasR_0.21.0.tgz(r-4.5-arm64)
lasR_0.21.0.tar.gz(r-4.7-arm64)lasR_0.21.0.tar.gz(r-4.7-x86_64)lasR_0.21.0.tar.gz(r-4.6-arm64)lasR_0.21.0.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
card.svg |card.png
lasR/json (API)
NEWS

# Install 'lasR' in R:
install.packages('lasR', repos = c('https://r-lidar.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/r-lidar/lasr/issues

Uses libs:
  • gdal– Geospatial Data Abstraction Library
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library

On CRAN:

Conda:

gdalcppopenmp

8.49 score 73 stars 1 packages 48 scripts 93 exports 1 dependencies

Last updated from:d2b3172ad4. Checks:9 OK, 3 NOTE, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK421
linux-devel-x86_64OK435
source / vignettesOK661
linux-release-arm64OK413
linux-release-x86_64OK405
macos-release-arm64OK413
macos-release-x86_64OK914
macos-oldrel-arm64NOTE315
macos-oldrel-x86_64NOTE661
windows-develOK1060
windows-releaseOK966
windows-oldrelNOTE916
wasm-releaseFAIL124

Exports:add_extrabytesadd_rgbcallbackchmclassify_with_csfclassify_with_ipfclassify_with_ivfclassify_with_ptdclassify_with_sorconcurrent_filesconcurrent_pointsdelete_grounddelete_noisedelete_pointsdrop_classdrop_duplicatesdrop_firstdrop_grounddrop_noisedrop_z_abovedrop_z_belowdrop_z_betweendsmdtmedit_attributeexecfilter_with_gridfocalgeometry_featuresget_parallel_strategyhaghalf_coreshas_omp_supporthullsinfoinstall_cmd_toolskeep_attributeskeep_classkeep_firstkeep_groundkeep_ground_and_waterkeep_noisekeep_z_abovekeep_z_belowkeep_z_betweenload_matrixload_rasterlocal_maximumlocal_maximum_rasterncoresnestednormalizepit_fillrasterizeread_cloudreaderreader_circlesreader_coveragereader_lasreader_las_circlesreader_las_coveragereader_las_rectanglesreader_rectanglesregion_growingremove_attributeremove_attributesremove_rgbsampling_pixelsampling_poissonsampling_voxelsequentialset_crsset_exec_optionsset_parallel_strategysort_pointsspikefreestop_if_outsidesummarisetempgpkgtemplastemplaztemppcdtempshptemptiftransform_withtriangulateunset_exec_optionunset_parallel_strategywrite_copcwrite_laswrite_laxwrite_pcdwrite_vpc

Dependencies:Rcpp

Why lasR?

Rendered fromwhy.Rmdusingknitr::rmarkdownon May 27 2026.

Last update: 2024-07-04
Started: 2024-04-02

Tutorial

Rendered fromtutorial.Rmdusingknitr::rmarkdownon May 27 2026.

Last update: 2026-04-04
Started: 2024-04-02

Benchmarks of lasR vs. lidR

Rendered frombenchmarks.Rmdusingknitr::rmarkdownon May 27 2026.

Last update: 2024-11-17
Started: 2024-04-02

Parallel processing

Rendered frommultithreading.Rmdusingknitr::rmarkdownon May 27 2026.

Last update: 2024-12-12
Started: 2024-04-02

R stages

Rendered fromr-stages.Rmdusingknitr::rmarkdownon May 27 2026.

Last update: 2024-12-12
Started: 2024-06-02

Buffered Area Based Approach

Rendered frombaba.Rmdusingknitr::rmarkdownon May 27 2026.

Last update: 2024-04-03
Started: 2024-04-02

Remote files

Rendered fromremote.Rmdusingknitr::rmarkdownon May 27 2026.

Last update: 2026-04-14
Started: 2026-04-04

Readme and manuals

Help Manual

Help pageTopics
lasR: airborne LiDAR for forestry applicationslasR-package lasR
Add attributes to a point cloudadd_extrabytes keep_attributes remove_attribute remove_attributes
Add/remove RGB attributes to a LAS fileadd_rgb remove_rgb
Call a user-defined function on the point cloudcallback
Classify ground pointsclassify_with_csf
Classify noise pointsclassify_with_ipf
Classify noise pointsclassify_with_ivf
Ground Point Classificationclassify_with_ptd
Classify noise pointsclassify_with_sor
Filter and delete pointsdelete_ground delete_noise delete_points
Deprecateddeprecated reader_las reader_las_circles reader_las_coverage reader_las_rectangles
Digital Surface Modelchm dsm
Digital Terrain Modeldtm
Edit an attribute of the pointsedit_attribute
Process the pipelineexec
Select highest or lowest pointsfilter_with_grid
Point Filters+.laslibfilter drop_class drop_duplicates drop_first drop_ground drop_noise drop_z_above drop_z_below drop_z_between filters keep_class keep_first keep_ground keep_ground_and_water keep_noise keep_z_above keep_z_below keep_z_between print.laslibfilter
Calculate focal ("moving window") values for each cell of a rasterfocal
Compute pointwise geometry featuresgeometry_features
Contour of a point cloudhulls
Print Information about the Point Cloudinfo
Use some lasR features from a terminalinstall_cmd_tools
Load a matrix for later useload_matrix
Load a raster for later useload_raster
Local Maximumlocal_maximum local_maximum_raster
Metric enginemetric_engine
Parallel processing toolsconcurrent_files concurrent_points get_parallel_strategy half_cores has_omp_support multithreading ncores nested sequential set_parallel_strategy unset_parallel_strategy
Height Above Ground (HAG)hag normalize
Pits and spikes fillingpit_fill
Print Method for 'lasrcloud' Objectsprint.lasrcloud
Rasterize a point cloudrasterize
Read a point cloud in memoryread_cloud
Initialize the pipelinereader reader_circles reader_coverage reader_rectangles
Region growingregion_growing
Sample the point cloudsampling_pixel sampling_poisson sampling_voxel
Set the CRS of the pipelineset_crs
Set global processing optionsset_exec_options unset_exec_option
Sort points in the point cloudsort_points
Digital Surface Modelspikefree
Stop the pipeline conditionallystop_if_outside
Summarysummarise
Temporary filestempgpkg templas templaz temporary_files temppcd tempshp temptif
Tools inherited from base R+.PipelinePtr print.PipelinePtr tools [[.PipelinePtr
Transform a Point Cloud Using Another Stagetransform_with
Delaunay triangulationtriangulate
Write point cloudswrite_copc write_las write_pcd
Write spatial indexing .lax fileswrite_lax
Write a Virtual Point Cloudwrite_vpc