Sensible defaults are assumed, to match the extents of data to a manageable grid.
makeGridTopology(
obj,
cells.dim = c(100, 100),
xlim = NULL,
ylim = NULL,
buffer = 0,
cellsize = NULL,
adjust2longlat = FALSE
)
S4 class GridTopology with properties set variously from input parameters
any Spatial object, or other object for which bbox
will
work
the number of cells of the grid, x then y
x limits of the grid
y limits of the grid
proportional size of the buffer to add to the grid limits
pixel cell size
assume cell size is in kilometres and provide simple adjustment for earth-radius cells at the north-south centre of the grid
Approximations for kilometres in longlat can be made using cellsize
and adjust2longlat
.