ReadLocalLASHeader: LidarIndexR - Read the header for a local LAS/LAZ file

View source: R/LocalFileFunctions.R

ReadLocalLASHeaderR Documentation

LidarIndexR – Read the header for a local LAS/LAZ file

Description

Read the header information for a LAS/LAZ file including CRS information. Only the file header is read (including VLRs) so you don't have to worry about the size of the LAS/LAZ file. Does not rely on the lidR package.

Usage

ReadLocalLASHeader(path, useVLRs = TRUE, quiet = TRUE)

Arguments

path

Path for a LAS/LAZ file.

useVLRs

Read VLRs to determine if file is compressed and COPC format.

quiet

Boolean to control display of status information. If TRUE, information is not displayed. Otherwise, status information is displayed.

Value

A data frame (invisible) containing the CRS WKT information string and header info. If file has no CRS information, the crs column in the data frame will be an empty string.

Examples

## Not run: 
ReadLocalLASHeader()

## End(Not run)

bmcgaughey1/LidarIndexR documentation built on April 14, 2025, 6:07 p.m.