build_grid: Spatial grid

View source: R/geometrical_functions_sf.R

build_gridR Documentation

Spatial grid

Description

Generate a grid of a specified shape in the bbox of a Spatial object.

Usage

build_grid(grid_shape, spatial)

Arguments

grid_shape

A numeric vector of length 2 indicating the number of rows and the numbers of columns of the grid

spatial

A list of spatial feature collections objects (package sf)

Value

A feature collection of polygons representing the grid

Examples

#This is an internal function, no example provided

spNetwork documentation built on June 22, 2024, 9:40 a.m.