gdalio_local_grid: Generate a local grid

View source: R/default_grid.R

gdalio_local_gridR Documentation

Generate a local grid

Description

Generate a default local grid to use for subsequent data reads.

Usage

gdalio_local_grid(
  x = 147,
  y = -42,
  buffer = 2500000,
  family = "laea",
  dim = if (dev.cur() == 1) {
     c(512, 512)
 } else {
     dev.size("px")
 }
)

Arguments

x

longitude

y

latitude

buffer

width either side of x, y

family

projection family (as per PROJ strings)

dim

size of grid nx, ny

Details

All arguments have default values.

Value

list appropriate for gdalio_set_default_grid()

Examples

gdalio_local_grid()
gdalio_local_grid(family = "stere")

hypertidy/gdalio documentation built on June 15, 2022, 6:45 p.m.