Learn R Programming

chronosphere (version 0.4.1)

SpatialStack-class: Stack of Spatial Objects

Description

Vector data in the same CRS organized into a vector.

Value

A SpatialStack class object.

Arguments

Spatials

A list of Spatial objects or a character vector of file names identifying items for readOGR, in case the rgdal package is installed..

proj4string

A CRS-class object.

verbose

A logical value. Same as for array, creates proxy procedurally.

Details

The class implements a stack of vector data that mimic RasterStack-class objects, only with vector data. Classes, such as link[sp]{SpatialPoints}, link[sp]{SpatialPointsDataFrame}, link[sp]{SpatialLines}, link[sp]{SpatialLinesDataFrame}, link[sp]{SpatialPolygons} and link[sp]{SpatialPolygonsDataFrame} can be concatenated to a vector/list, where elements can be accessed using list-type subsetting. The only restriction is that the items must share the same CRS.

The class has two slots: Spatials: List of Spatial items. CRS: The coordinate reference system (CRS). bbox: The bounding box of all items.