R package to read and write .las and .laz binary files used to store LiDAR data.
rlas relies on a modified version of the open source parts of LAStools. LASlib and LASzip were modified to be compatible with R. The library can therefore be compiled into R without any complaints from R CMD check.
It enables users to read and write into R binary files commonly used to store LiDAR data.
las.data = readlasdata("<myfile.las>")
las.header = readlasheader("<myfile.las>")Install rlas from github
This package contains C++ code. To install the package from github make sure you have a working development environment.
- Windows: Install Rtools.exe.
- Mac: Install
Xcodefrom the Mac App Store. - Linux: Install the R development package, usually called
r-develorr-base-dev
Install devtools: install.packages("devtools"), then:
devtools::install_github("Jean-Romain/rlas", dependencies=TRUE)Copyright Information
rlas contains code written by both Jean-Romain Roussel and Martin Isenburg. The latter is included
for technical reasons. Details below.
For LASlib and LASzip:
(c) 2007-2015 martin.isenburg@rapidlasso.com - http://rapidlasso.com
Provided under LGPL license and modified to be R-compliant by Jean-Romain Roussel. Each modification is dated and registered into the file headers.
For rlas code enabling Martin Isenburg's code to be wrapped into R:
(c) 2016 Jean-Romain Roussel
Provided under GPL-3 license.