gridmetrics | R Documentation |
summarize lidar for raster pixels
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, ... )
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 |
summarize lidar for raster pixels
This program is free software but it is provided WITHOUT WARRANTY and with ABSOLUTELY NO GUARANTEE of fitness or functionality for any purpose; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Revision History
1.0 | 2017 March 08 Created |
optional dataframe of xy coordinates for cell centers and additional columns of metrics
Jacob Strunk <Jstrunk@fs.fed.us>
read_las
read_dtm
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.