readLASheader function

Read a .las or .laz file header

Read a .las or .laz file header

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.

readLASheader(file)

Arguments

  • file: characters. Path to one file.

Returns

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)
  • Maintainer: Jean-Romain Roussel
  • License: GPL-3
  • Last published: 2024-07-09