Description Usage Arguments Value
This function takes a set of features (points, lines, polygons or an extent
in the form of a matrix or raster Extent object), identifies the raster tiles
of point count data that the features intersect with, and exports these to a
GeoTIFF file. Optionally, the data to export can be restricted to a specified
time period. If any parts of the query area are covered by LiDAR data for two
or more dates, the data to export is chosen based on the
overlap.action
and overlap.yearorder
parameters.
1 2 3 4 5 6 7 8 9 10 |
dbsettings |
A named list of database connection settings returned
by |
geom |
The feature(s) to intersect. Can also be an |
outpath |
A path and filename for the output GeoTIFF file. |
with.purpose |
Either |
time.interval |
If provided, only export data for rasters where the
scan time (capture_start and capture_end fields) overlap the given interval.
Can be provided as either a vector of one or more years as four-digit integers,
or a |
default.epsg |
EPSG code to assume for the query feature(s). Ignored if
the features are |
overlap.action |
A character string specifying how to choose between
overlapping tiles. Two tiles are considered to be overlapping if the
centroid of the first tile lies within the bounds of the second tile. In
such cases, only one of the tiles should be exported, otherwise the UNION
SUM operation that is applied to merge edge pixels of adjacent rasters will
inadvertently sum the values of the overlapping tiles. Options are:
|
overlap.yearorder |
A vector of one or more four digit year numbers
specifying the preference order to apply when overlapping LAS tiles are
detected. Only used if parameter |
A list with the following elments:
A RasterStack linked to the GeoTIFF file exported by the function, with layer names corresonding to those defined in the StrataCERMB lookup table from the CERMBlidar package.
A RasterLayer having the same row and column dimensions as the counts raster, where cell values are LiDAR capture dates coded as eight digit integers (yyyymmdd). Cells located within the common edge of adjacent tiles with different capture dates are assigned the date of the earlier tile.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.