GridTopology-class {sp} | R Documentation |
class for defining a rectangular grid of arbitrary dimension
Objects are created by using e.g.
GridTopology(c(0,0), c(1,1), c(5,5))
see SpatialGrid
cellcentre.offset
:cellsize
:cells.dim
:bbox
:"matrix"
; bounding box proj4string
:"CRS"
; projection signature(x = "SpatialGrid")
: calculates coordinates for
each point on the gridsignature(object = "SpatialGrid")
: summarize objectsignature(from = "GridTopology", to = "data.frame")
:
convert to data.frame with columns cellcentre.offset, cellsize and cells.dimEdzer J. Pebesma, e.pebesma@geo.uu.nl
SpatialGridDataFrame-class
, SpatialGrid-class
x = GridTopology(c(0,0), c(1,1), c(5,5)) class(x) x summary(x) coordinates(x) y = SpatialGrid(grid = x) class(y) y