divide_into_tiles: Divide points into tiles

Description Usage Arguments Value Functions

View source: R/divide_into_tiles.R

Description

Divide points into tiles

Usage

1
2
3
4
5
divide_into_tiles(points, cellsize = 1, buffer = 0.01)

make_grid_buffer(points, cellsize = 0.1, overlap = 0.01)

tilearoundobj(sfobj, buffer)

Arguments

points

An sf object to cover with a grid. Could also be a bbox object.

cellsize

is the size of a single cell

buffer

A numerical distance of a buffer to include around sfobj in the output tile

overlap

is the amount of overlap of each cell

sfobj

An sf object

Value

A list. Each element contains a slot 'tile' which is an sfc_POLYGON object, and a slot 'pts', which is a an sf object of points covered by the tile with sufficient buffer

An sf multipolygon object made of squares that overlap by buffer, and cover the region bbox expanded by buffer.

an sf polygon object that is rectangular

Functions


sustainablefarms/linking-data documentation built on Oct. 28, 2020, 2:41 a.m.