Spatial-class {sp} | R Documentation

## Class "Spatial" ~~~

### Description

An abstract class from which useful spatial classes are derived

### Objects from the Class

are never to be generated; only derived classes can be meaningful

### Slots

`bbox`:
  Object of class `"matrix"`; 2-column matrix holding the minimum in first and maximum in second column for the x-coordinate (first row), y-coordinate (second row) and optionally, for points and grids only, further coordinates.
`proj4string`:
  Object of class `"CRS"`; holding a valid proj4 string, which can be used for unprojecting or reprojecting coordinates; it is initialised to NA. Other strings are checked for validity in the spproj package.

### Methods

bbox
  `signature(obj = "Spatial")`: retrieves the bbox element
dimensions
  `signature(obj = "Spatial")`: retrieves the number of spatial dimensions spanned
gridded
  `signature(obj = "Spatial")`: logical, tells whether the data is on a regular spatial grid

### Warning

this class is not useful in itself, but all spatial classes in this package derive from it

### Note

### Author(s)

r-spatial team; Edzer J. Pebesma, e.pebesma@geo.uu.nl Roger Bivand, Barry Rowlinson, Virgilio G'{o}mez-Rubio

### References

### See Also

`SpatialPoints-class`, `SpatialGrid-class`, `SpatialPointsDataFrame-class`, `SpatialGridDataFrame-class`,

### Examples

[Package sp version 0.7-12 Index]