Skip to contents

Get Fisheries New Zealand standard grid definitions

Usage

get_standard_grid(
  cell_size,
  bounding_box,
  anchor = c(0, 422600),
  return_raster = TRUE,
  crs = proj_nzsf()
)

Arguments

cell_size

square grid boundary length in km

bounding_box

limits generated from call to sf::st_bbox()

anchor

the point to anchor the grid to

return_raster

return a raster or polygons

crs

the CRS to use

Value

New Zealand's standard grid polygon as a sf object or as a raster.

Author

Darcy Webber, Sophie Mormede, Charles Edwards