View source: R/SuperFunctions.R
ClipPlot | R Documentation |
ClipPlot
creates command lines for the FUSION ClipData program and optionally executes them.
Command lines are designed to clip a circular or square area centered in the (x,y)
.
ClipPlot(
inputspecifier = NULL,
samplefile = NULL,
x = NULL,
y = NULL,
radius = NULL,
shape = 1,
...
)
inputspecifier |
character (required): LIDAR data file template, name of a text file containing a list of file names (must have .txt extension), or a FUSION catalog file. |
samplefile |
character (required): Name for plot clip file (extension will be added).
|
x |
numeric (required): Easting value for plot location. |
y |
numeric (required): Northing value for plot location. |
radius |
numeric (required): Radius for round (circular) plots or half width for square plots. |
shape |
numeric: default = 1: Shape of the sample area (0 = rectangle, 1 = circle). |
... |
Additional parameters that will be passed to |
Return value depends on runCmd
. if runCmd = TRUE
, return value is
the (invisible) integer value return from the operating system after running the command.
if runCmd = FALSE
, return value is the (invisible) command line.
LTKFunctions generate a separate command for each item when the required parameters are lists. This is useful when you want to use the same command and options but different input data and output files. However, this works only when the switches and options are the same for all commands (not lists). If you try to use a list of switches and/or options and a list of input files, you will produce commands using all sets of switches and/or options for every input file.
## Not run:
ClipPlot("*.las", "plot_0001.las", 435895.9, 5669341.4, 0, ground = "small.dtm", height = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.