project_create: Build point cloud processing tiling project (.laz, .las,...

View source: R/project_create.R

project_createR Documentation

Build point cloud processing tiling project (.laz, .las, .dtm) for use with FUSION

Description

Scans lidar and dems and finds out where they intersect a project tiling scheme

Usage

project_create(
  dir_las = NA,
  dir_dtm = NA,
  recurse_dtm = F,
  recurse_las = F,
  path_gpkg_out = "c:/lidar_projects/someProject_RSForInvt.gpkg",
  layer_project = "RSForInvt_prj",
  layer_config = "RSForInvt_config",
  overwrite_project = T,
  project_dtm = "someProject_dtm",
  project_las = "someProject_las",
  dtm_year = "2099",
  las_year = "2099",
  do_scan_dtms = T,
  do_scan_las = T,
  duplicate_las = c("ignore", "remove"),
  duplicate_dtm = c("ignore", "remove"),
  tile_size = 1650,
  pixel_size = 66,
  xmn = c(NA, 561066),
  xmx = c(NA, 2805066),
  ymn = c(NA, 33066),
  ymx = c(NA, 1551066),
  proj4 = c(NA,
    "+proj=lcc +lat_1=47.33333333333334 +lat_2=45.83333333333334 +lat_0=45.33333333333334 +lon_0=-120.5 +x_0=500000.0001016001 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=us-ft +no_defs"),
  mask = NA,
  return = T
)

Arguments

dir_las

where are las files

dir_dtm

where are FUSION dtm files - eventuall enable any dtm type (.img, .tif etc)

project_dtm

dtm project name

project_las

las project name

dtm_year

year of dtm files

las_year

year of las files

tile_size

processing tile size

pixel_size

raster pixel size

xmn, xmx, ymn, ymx

bound box for processing grid

dir_project

where to place project

project

project name

scan_dtms

?scan dtm files

scan_las

?scan las files

crs

projection string

Details

<Delete and Replace>


Revision History

1.0 5/07/2020 New package derived from old lasR package

Value

<Delete and Replace>

Author(s)

Jacob Strunk <Jstrunk@fs.fed.us>

See Also

scan_dtm
scan_las

desired updates: add ability to scan fusion dtms and generic raster dtms

Examples


proj_tn = RSForInvt::project_create(
  #'proj = project_create(
  dir_las="D:\\Box\\VMARS\\Projects\\DAP_evaluation_Meston\\Data\\Tennessee\\lidar_tiles\\"
  ,dir_dtm="D:\\Box\\VMARS\\Projects\\DAP_evaluation_Meston\\Data\\Tennessee\\DTM_fusion\\"
  ,path_gpkg_out="D:\\Box\\VMARS\\Projects\\DAP_evaluation_Meston\\R\\DAP_Lidar_analysis\\RSForInvt\\project\\TNLidar_RSForInvtProject.gpkg"
  ,layer_project = "RSForInvt_prj"
  ,layer_config = "RSForInvt_config"
  ,overwrite_project = T
  ,project_dtm="lidar_dtm"
  ,project_las="lidar_las"
  ,dtm_year="2018"
  ,las_year="2018"
  ,do_scan_dtms=F #'we already scanned the dtm folder - ok, to rescan, but slower
  ,do_scan_las=F #'we already scanned the las folder - ok, to rescan, but slower
  ,duplicate_las = c("ignore","remove")
  ,duplicate_dtm = c("ignore","remove")
  ,tile_size=1650
  ,pixel_size=66
  #',xmn=561066,xmx=2805066,ymn=33066,ymx=1551066
  ,proj4 = "+proj=lcc +lat_1=47.33333333333334 +lat_2=45.83333333333334 +lat_0=45.33333333333334 +lon_0=-120.5 +x_0=500000.0001016001 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=us-ft +no_defs"
  ,mask=NA
  ,return=T
)



jstrunk001/RSForInvt documentation built on April 18, 2022, 11:03 p.m.