lidR (version 4.1.1)

readLASheader: Read a .las or .laz file header

Description

Reads a .las or .laz file header into an object of class LASheader. This function strictly reads the header while the function readLAS can alter the header to fit the actual data loaded.

Usage

readLASheader(file)

Value

A LASheader object

Arguments

file

characters. Path to one file.

Examples

Run this code
LASfile <- system.file("extdata", "Megaplot.laz", package="lidR")
header = readLASheader(LASfile)

print(header)
plot(header)

if (FALSE) {
plot(header, mapview = TRUE)}

Run the code above in your browser using DataLab