genPntsByNet: Generate points based on distance constraints of a fish net

View source: R/genPntsByNet.R

genPntsByNetR Documentation

Generate points based on distance constraints of a fish net

Description

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.

Usage

genPntsByNet(x, r, dist, do.PointsOnSurface = TRUE, quiet = TRUE,
  save.path = NULL)

Arguments

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

Value

list of 1. points of interest, 2. all points


raff-k/Lslide documentation built on March 29, 2022, 6:52 p.m.