readLASheader: Read a .las or .laz file header

Description Usage Arguments Value Examples

View source: R/io_readLAS.r

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

1

Arguments

file

characters. Path to one file.

Value

A LASheader object

Examples

1
2
3
4
5
6
7
8
9
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 Nov. 28, 2019, 2:15 a.m.