Learn R Programming

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.

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

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

Copy Link

Version

Install

install.packages('rlas')

Monthly Downloads

2,979

Version

1.8.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

July 16th, 2024

Functions in rlas (1.8.0)

check_las_validity

Check if data and headers respect the LAS specification
compression

ALTREP utilities
write.las

Write a .las or .laz file
extra_bytes_attribute_tools

Extra Bytes Attributes Tools
las_specification_tools

A set of function to test conformance with LAS specifications
public_header_block_tools

Public Header Block Tools
read.las

Read data from a .las or .laz file
writelax

Write a .lax file from a .las or .laz file
fwf_interpreter

Full Waveform Interpreter
crs_tools

Coordinate Reference System Tools
read.lasheader

Read header from a .las or .laz file