lidR v1.2.0

0

Monthly downloads

0th

Percentile

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.

Readme


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
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 or r-base-dev

Some examples

Changelog

See changelogs on NEW.md

Functions in lidR

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

Last month downloads

Details

Type Package
Date 2017-03-26
URL https://github.com/Jean-Romain/lidR
BugReports https://github.com/Jean-Romain/lidR/issues
License GPL-3
LazyData true
RoxygenNote 6.0.1
LinkingTo Rcpp,RcppProgress
Encoding UTF-8
biocViews
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_hexametrics.r' 'grid_metrics.r' 'grid_metrics3d.r' 'grid_terrain.r' 'grid_tincanopy.r' 'lasheader-class.r' 'las-class.r' 'lasarea.r' 'lascheck.r' 'lasclassify.r' 'lasclip.r' 'lascolor.r' 'lasdecimate.r' 'lasextent.r' 'lasfilter.r' 'lasground.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.lashexametrics.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

[![Rdoc](http://www.rdocumentation.org/badges/version/lidR)](http://www.rdocumentation.org/packages/lidR)