genPntsByNet | R Documentation |
This function generate points by a fish net (center points). The fish net is created based on a input raster providing the bounding box and a given cell size.
genPntsByNet(x, r, dist, do.PointsOnSurface = TRUE, quiet = TRUE, save.path = NULL)
x |
object of class sf |
r |
raster layer providing the extent of the fish net |
dist |
distance between points |
do.PointsOnSurface |
if TRUE than points on surface are generated for missed objects. Default: TRUE |
quiet |
no outputs in console. Default: TRUE |
save.path |
full path to store the result. Default: NULL |
list of 1. points of interest, 2. all points
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.