data.table labeled according to LAS specifications. See the ASPRS documentation for the
LAS file format.
The optional logical parameters enable the user to save memory by choosing to load only the
fields they need. Indeed, the readlasdata function does not 'stream' the data.
Data is loaded into the computer's memory (RAM) suboptimally because R does not accommodate
many different data types.
readlasdata(file, Intensity = TRUE, ReturnNumber = TRUE, NumberOfReturns = TRUE, ScanDirectionFlag = TRUE, EdgeOfFlightline = FALSE, Classification = TRUE, ScanAngle = TRUE, UserData = TRUE, PointSourceID = TRUE, RGB = TRUE)data.table
readlasheader,
writelas
lazfile <- system.file("extdata", "example.laz", package="rlas")
lasdata <- readlasdata(lazfile)
Run the code above in your browser using DataLab