rlas v1.3.2


Monthly downloads



Read and Write 'las' and 'laz' Binary File Formats Used for Remote Sensing Data

Read and write 'las' and 'laz' binary file formats. The LAS file format is a public file format for the interchange of 3-dimensional point cloud data between data users. The LAS specifications are approved by the American Society for Photogrammetry and Remote Sensing <https://www.asprs.org/committee-general/laser-las-file-format-exchange-activities.html>. The LAZ file format is an open and lossless compression scheme for binary LAS format versions 1.0 to 1.3 <https://www.laszip.org/>.



R package to read and write .las and .laz binary files used to store LiDAR data.

rlas relies on a modified version of LASlib and LASzip that were modified to be compatible with R. The library can therefore be compiled into R without any complaints from R CMD check. It enables R users to read and write binary files commonly used to store LiDAR data. LAS version 1.0 to 1.4 are supported. Point data record format 0,1,2,3,6,7,8 are supported.

lasdata   <- read.las("<myfile.las>")
lasheader <- read.lasheader("<myfile.las>")

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.
  • For rlas code enabling Martin Isenburg's code to be wrapped into R:
    • (c) 2016-2018 Jean-Romain Roussel
    • Provided under GPL-3 license.

Functions in rlas

Name Description
writelax Write a .lax file from a .las or .laz file
las_specification_tools A set of function to test conformance with LAS specifications
public_header_block_tools Public Header Block Tools
check_las_validity Check if data and headers respect the LAS specification
crs_tools Coordinate Reference System Tools
read.las Read data from a .las or .laz file
read.lasheader Read header from a .las or .laz file
check_data Deprecated functions kept for compatibility with the lidR package versions <= 2.0.0
extra_bytes_attribute_tools Extra Bytes Attributes Tools
write.las Write a .las or .laz file
No Results!

Last month downloads


Type Package
Date 2019-04-26
URL https://github.com/Jean-Romain/rlas
BugReports https://github.com/Jean-Romain/rlas/issues
License GPL-3
LazyData true
RoxygenNote 6.1.1
LinkingTo Rcpp,BH
Encoding UTF-8
NeedsCompilation yes
Packaged 2019-04-26 15:49:35 UTC; jr
Repository CRAN
Date/Publication 2019-04-27 05:00:14 UTC

Include our badge in your README