geometry_to_grid {jpgrid}R Documentation

Converting sfc geometries to grid square codes

Description

Converting sfc geometries to grid square codes

Usage

geometry_to_grid(geometry, grid_size, options = "ALL_TOUCHED=TRUE", ...)

Arguments

geometry

A sfc vector.

grid_size

A grid size.

options

Options vector for GDALRasterize passed on to stars::st_rasterize().

...

Passed on to stars::st_rasterize().

Value

A list of grid vectors.


[Package jpgrid version 0.4.0 Index]