ExtractCRSFromLocalPoints: LidarIndexR - Retrieve CRS information from a LAS/LAZ point...

ExtractCRSFromLocalPointsR Documentation

LidarIndexR – Retrieve CRS information from a LAS/LAZ point file

Description

Reads CRS information from local LAS/LAZ files. This is done by reading only the file header headerOnly = TRUE or retrieving the entire file and reading the header headerOnly = FALSE.

Usage

ExtractCRSFromLocalPoints(
  basePath,
  folderName,
  headerOnly = TRUE,
  quiet = FALSE,
  ...
)

Arguments

basePath

Path for a folder on a remote host. Trailing slash should not be included.

folderName

Folder name on the basePath containing LAS/LAZ files.

headerOnly

Boolean. If TRUE, only the file header is read. If FALSE, the entire LAS/LAZ file is retrieved and then the header is read to extract CRS information.

quiet

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

...

Arguments passed to RCurl::getURL().

Value

String (invisible) containing a valid input value for st_crs().

Examples

## Not run: 
FetchAndExtractCRSFromPoints()

## End(Not run)

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