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

JeremyGelb/spNetwork documentation built on May 24, 2024, 7:23 p.m.