gridmetrics: summarize lidar for raster pixels

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/gridmetrics.r

Description

summarize lidar for raster pixels

Usage

1
2
3
4
5
gridmetrics(las_files, dtm_files = NA, dtm_folder = NA,
  dtm_ext = ".dtm", no_dtm = F, fun = compute_metrics2, xmin = NA,
  xmax = NA, ymin = NA, ymax = NA, res = 66, grid = NA,
  n_read = NA, out_name = NA, return = F, con = NA,
  out_table = NA, ...)

Arguments

las_files

list of paths to las files

dtm_files

optional list of paths to dtms

dtm_folder

optional folder of dtms

dtm_ext

what is the file extension of dtms

xmin

(optional) force extent of analysis

xmax

(optional) force extent of analysis

ymin

(optional) force extent of analysis

ymax

(optional) force extent of analysis

res

resolution of processing analysis in units of provided lidar / dtm

grid

pre-defined raster for analysis - lidar metrics are computed for each cell

intersect_only

only provide outputs over areas in which lidar and dtms intersect?

fns

list of functions that will be used to generate columns of summary statistics from the las data

Details

summarize lidar for raster pixels


Revision History

1.0 2017 March 08 Created

Value

optional dataframe of xy coordinates for cell centers and additional columns of metrics

Author(s)

Jacob Strunk <Jstrunk@fs.fed.us>

See Also

read_las
read_dtm

Examples

1
2
3
4
5
6
dtms1="C:\\temp\\dtm_test\\"
las1="C:\\temp\\lidar_test\\"
las_files=list.files(las1,pattern="[.]las",full.names=T)
dtm_files=list.files(dtms1,pattern="[.]dtm",full.names=T)
metrics=gridmetrics(las_files=las_files,dtm_files=dtm_files)
head(metrics)

jstrunk001/lasR documentation built on April 20, 2020, 7:24 a.m.