| readlasdata {rlas} | R Documentation |
(deprecated) Use read.las
readlasdata(files, i = TRUE, r = TRUE, n = TRUE, d = TRUE, e = TRUE, c = TRUE, a = TRUE, u = TRUE, p = TRUE, rgb = TRUE, t = TRUE, filter = "", eb = 0)
files |
filepath character string to the .las or .laz files |
i |
logical. do you want to load the Intensity field? default: TRUE |
r |
logical. do you want to load the ReturnNumber field? default: TRUE |
n |
logical. do you want to load the NumberOfReturns field? default: TRUE |
d |
logical. do you want to load the ScanDirectionFlag field? default: TRUE |
e |
logical. do you want to load the EdgeOfFlightline field? default: TRUE |
c |
logical. do you want to load the Classification field? default: TRUE |
a |
logical. do you want to load the ScanAngle field? default: TRUE |
u |
logical. do you want to load the UserData field? default: TRUE |
p |
logical. do you want to load the PointSourceID field? default: TRUE |
rgb |
logical. do you want to load R,G and B fields? default: TRUE |
t |
logical. do you want to load gpstime fields? default: TRUE |
filter |
character. filter data while reading the file (streaming filter) without allocating any useless memory. (see Details). |
eb |
integer vector. which extra byte attributes to load (see
LAS file format specs).
default is 0 meaning that all extra fields will be loaded. |
A data.table
lazfile <- system.file("extdata", "example.laz", package="rlas")
lasdata <- readlasdata(lazfile)
lasdata <- readlasdata(lazfile, filter = "-keep_first")
lasdata <- readlasdata(lazfile, filter = "-drop_intensity_below 80")