clip_plots: clip plots or polygons form lidar

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

View source: R/clip_plots.R

Description

clip plots or polygons form lidar - requires that one first make a project using lasR_project which includes both lidar and dtms

Usage

1
2
3
4
5
clip_plots(idxyd = NA, idxy = NA, plot_polys = NA,
  id_field_plots = "plot", lasR_project = NA,
  lasR_project_polys = NA, plot_tile_intersect = NA, dir_out = NA,
  height = F, do_plot = F, return = F, n_core = 6, dir_dtm = NA,
  dir_las = NA, skip_existing = T, fix_dsm_bug = F)

Arguments

idxyd

dataframe with point id, x and y coordinates, and circle diameter

idxy

(optional) dataframe with polygon vertices (x,y) organized by point id

plot_polys

(optional) shapefile path, or sp object with plot boundaries

id_field_plots

(optional) in the event that a polygon is provided

lasR_project

path to spatial polygons dataframe (intersection between dtm and las tiles)

lasR_project_polys

spatial polygons dataframe (intersection between dtm and las tiles)

plot_tile_intersect

path to spatial polygons dataframe representing intersection between plots and lasR_project

dir_out

where to send clipped plots

height

T/F subtract the ground

do_plot

T/F make a plot of the intersections

return

T/F return intersectiosn

n_core

number of cores to use in clipping

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 csv files that have been processed already - in case processing was interupted

Details

There are three ways to provide the input shapes to this function - either as a list of plot ids, coordinates and plot diameters (4 column data.frame), as a list of vertices organized by plot_id (3 column data.frame), or as a polygon shapefile (path to shapefile) inwich case the plot id field must be specified "id_field_plots".


Revision History

1.0 date and revisions..

Value

<Delete and Replace>

Author(s)

Jacob Strunk <Jstrunk@fs.fed.us>

See Also

another_function
yet_another_function

Examples

1
 <Delete and Replace>

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