lasFileReader
Description
A lasFileReader
object stores the metadata present in the LAS or
LAZ file as read-only properties. The object function, readPointCloud
,
uses these properties to read point cloud data from the file. The
lasFileReader
object supports up to the LAS 1.4
specification.
A LAS file contains a public header, which has lidar metadata, followed by lidar point records. Each point record contains attributes such as 3-D coordinates, intensity, and GPS timestamp.
The LAS file format is an industry-standard binary format for storing lidar data, developed and maintained by the American Society for Photogrammetry and Remote Sensing (ASPRS). The LAZ file format is a compressed version of the LAS file format.
Creation
Description
creates a lasReader
= lasFileReader(fileName
)lasFileReader
object with properties set by reading the
metadata present in the LAS or LAZ file fileName
. The
fileName
input sets the FileName
property.
Properties
Object Functions
readPointCloud | Read point cloud data from LAS or LAZ file |
readCRS | Read coordinate reference system data from LAS or LAZ file |
readVLR | Read variable length record from LAS or LAZ file |
hasCRSData | Check if LAS or LAZ file has CRS data |
hasGPSData | Check if LAS or LAZ file has GPS data |
hasWaveformData | Check if LAS or LAZ file has waveform data |
hasNearIRData | Check if LAS or LAZ file has near IR data |