Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/run_gridmetrics.R View source: R/dev_run_gridmetrics.R
<Delete and Replace>
<Delete and Replace>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | run_gridmetrics(lasR_project_csv = NA, lasR_project_gpkg = NA,
dir_out = "c:/temp/test_project/gridmetrics", n_core = 4,
gridmetrics_path = "c:\\fusion\\gridmetrics.exe",
heightbreak = 6, cellsize = 66, minht = 6, first = T,
intensity = F, outlier = c(-5, 400),
fusion_switches = "/nointensity /first", xmn = 561066,
xmx = 2805066, ymn = 33066, ymx = 1551066,
fun = compute_metrics2, temp = "c:\\temp\\run_gridmetrics\\",
fast_cache = NA, n_cache = 90, dir_dtm = NA, dir_las = NA,
skip_existing = T, con = NA, table = "gridmetrics",
existing_coms = c(NA,
"C:\\Temp\\run_gridmetrics\\2017Aug17_100740\\all_commands.txt"),
debug = F, ...)
run_gridmetrics(lasR_project_csv = NA, lasR_project_gpkg = NA,
dir_out = "c:/temp/test_project/gridmetrics", n_core = 4,
gridmetrics_path = "c:\\fusion\\gridmetrics.exe",
heightbreak = 6, cellsize = 66, minht = 6, first = T,
intensity = F, outlier = c(-5, 400),
fusion_switches = "/nointensity /first", xmn = 561066,
xmx = 2805066, ymn = 33066, ymx = 1551066,
fun = compute_metrics2, temp = "c:\\temp\\run_gridmetrics\\",
fast_cache = NA, n_cache = 90, dir_dtm = NA, dir_las = NA,
skip_existing = T, con = NA, table = "gridmetrics",
existing_coms = c(NA,
"C:\\Temp\\run_gridmetrics\\2017Aug17_100740\\all_commands.txt"),
debug = F, ...)
|
lasR_project_csv |
csv file of intersections created by lasR_project() function |
dir_out |
where should csv files be sent |
n_core |
number of corest to run process on |
gridmetrics_path |
where is gridmetrics.exe (FUSION) |
heightbreak |
Height break for cover calculation |
cellsize |
output raster resolution |
minht |
set minht for gridmetrics.ex |
first |
T/F use only first returns |
intensity |
T/F include intensity metrics |
outlier |
c(-5,500) range of inclusion |
fusion_switches |
other fusion switches as a string e.g. "/noground" |
xmn, xmx, ymn, ymx |
set extent for analysis |
fun |
a custom function if gridmetrics is not used |
temp |
temp folder to hold batch files for use with gridmetrics.exe |
fast_cache |
experimental - a high-speed temporary folder to copy las files to |
n_cache |
experimental - number of las files to copy to cache |
dir_dtm |
in case path to dtms has changed from lasR_project |
dir_las |
in case path to las has changed from lasR_project |
skip_existing |
skip tiles if they already have output csvs |
con |
a parallel connection, optional, function can also create parallel threads |
table |
output folder name |
existing_coms |
path to existing batch comamnds, incase processing was interrupted the first time |
lasR_project__gpkg |
polygon file of intersections created by lasR_project() function |
lasR_project_csv |
csv file of intersections created by lasR_project() function |
lasR_project__gpkg |
polygon file of intersections created by lasR_project() function |
dir_out |
where should csv files be sent |
n_core |
number of corest to run process on |
gridmetrics_path |
where is gridmetrics.exe (FUSION) |
heightbreak |
Height break for cover calculation |
cellsize |
output raster resolution |
minht |
set minht for gridmetrics.ex |
first |
T/F use only first returns |
intensity |
T/F include intensity metrics |
outlier |
c(-5,500) range of inclusion |
fusion_switches |
other fusion switches as a string e.g. "/noground" |
xmn, xmx, ymn, ymx |
set extent for analysis |
fun |
a custom function if gridmetrics is not used |
temp |
temp folder to hold batch files for use with gridmetrics.exe |
fast_cache |
experimental - a high-speed temporary folder to copy las files to |
n_cache |
experimental - number of las files to copy to cache |
dir_dtm |
in case path to dtms has changed from lasR_project |
dir_las |
in case path to las has changed from lasR_project |
skip_existing |
skip tiles if they already have output csvs |
con |
a parallel connection, optional, function can also create parallel threads |
table |
output folder name |
existing_coms |
path to existing batch comamnds, incase processing was interrupted the first time |
<Delete and Replace>
Revision History
1.0 | 2018-01-28 Header added |
1.1 | 2020-03-17 force csv or geopackage |
<Delete and Replace>
Revision History
1.0 | 2018-01-28 Header added |
1.1 | 2020-03-17 force csv or geopackage |
<Delete and Replace>
<Delete and Replace>
Jacob Strunk <Jstrunk@fs.fed.us>
Jacob Strunk <Jstrunk@fs.fed.us>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | gmi=run_gridmetrics(
lasR_project_poly="D:\\projects\\2017_WA_DSM_Pilot_usgs\\2017Aug_NAIP_usgs\\lasR_project003.shp"
,dir_out="I:\\projects\\2017_WA_DSM_Pilot\\2017Aug_NAIP_usgs\\gridmetrics_07\\"
,dir_dtm="c:\\usgs_dtms\\dtms\\"
,dir_las="D:\\naip_2015_laz\\"
,n_core=10
,existing_coms="C:\\Temp\\run_gridmetrics\\2018Jan21_152618\\all_commands.txt"
,fast_cache=c(rep("r:\\temp",10),rep("c:\\temp",3),rep("i:\\temp",3),rep(NA,3))
,n_cache=400
)
gmi=run_gridmetrics(
lasR_project_poly="D:\\projects\\2017_WA_DSM_Pilot_usgs\\2017Aug_NAIP_usgs\\lasR_project003.shp"
,dir_out="I:\\projects\\2017_WA_DSM_Pilot\\2017Aug_NAIP_usgs\\gridmetrics_07\\"
,dir_dtm="c:\\usgs_dtms\\dtms\\"
,dir_las="D:\\naip_2015_laz\\"
,n_core=10
,existing_coms="C:\\Temp\\run_gridmetrics\\2018Jan21_152618\\all_commands.txt"
,fast_cache=c(rep("r:\\temp",10),rep("c:\\temp",3),rep("i:\\temp",3),rep(NA,3))
,n_cache=400
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.