getbb {spatsurv}R Documentation

getbb function

Description

A function to get the bounding box of a Spatial object

Usage

getbb(obj)

Arguments

obj

a spatial object e.g. a SpatialPolygonsDataFrame, SpatialPolygons, etc ... anything with a bounding box that can be computed with bbox(obj)

Value

a SpatialPolygons object: the bounding box


[Package spatsurv version 2.0-1 Index]