powered by
A function to get the bounding box of a Spatial object
getbb(obj)
a SpatialPolygons object: the bounding box
a spatial object e.g. a SpatialPolygonsDataFrame, SpatialPolygons, etc ... anything with a bounding box that can be computed with bbox(obj)