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

read.lasheader {rlas} | R Documentation

## 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

    read.lasheader(file)

### Arguments

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

### Value

A `list`

### See Also

Other rlas: `write.las`

### Examples

    lazfile   <- system.file("extdata", "example.laz", package="rlas")
    lasheader <- read.lasheader(lazfile)

[Package rlas version 1.2.4 Index]