polyStamp | R Documentation |
Takes a given stamp polygon and places it at each spatial location provided.
polyStamp(
stamp_dt,
spatlocs,
id_col = "cell_ID",
x_col = "sdimx",
y_col = "sdimy",
verbose = TRUE
)
stamp_dt |
data.table with x and y vertices for a polygon to be stamped. Column names are expected to be 'x' and 'y' respectively |
spatlocs |
spatial locations with x and y coordinates where polygons should be stamped. Column names are 'cell_ID', 'sdimx' and 'sdimy' by default |
id_col |
column in spatlocs to use as IDs (default is 'cell_ID') |
x_col |
column in spatlocs to use as x locations (default is 'sdimx') |
y_col |
column in spatlocs to use as y locations (default is 'sdimy') |
verbose |
be verbose |
returns a data.table of polygon vertices
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.