readLASheader: Read a .las or .laz file header

View source: R/io_readLAS.R

readLASheaderR Documentation

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)

Arguments

file

characters. Path to one file.

Value

A LASheader object

Examples

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

print(header)
plot(header)

## Not run: 
plot(header, mapview = TRUE)
## End(Not run)

Jean-Romain/lidR documentation built on April 6, 2024, 9:41 p.m.