Learn R Programming

rlas (version 1.1.0)

readlasheader: Read header from a .las or .laz file

Description

Reads header from .las or .laz files in format 1 to 4 according to LAS specifications and returns a list labeled according to LAS specifications. See the ASPRS documentation for the LAS file format.

Usage

readlasheader(file)

Arguments

file
filepath character string to the .las or .laz file

Value

A list

See Also

Other rlas: readlasdata, writelas

Examples

Run this code
lazfile   <- system.file("extdata", "example.laz", package="rlas")
lasheader <- readlasheader(lazfile)

Run the code above in your browser using DataLab