Lets say I have a several polygons stored in a SpatialPolygonsDataFrame
object. Using Ścolumbusą in maptools as an example:

setwd(system.file("shapes", package="maptools"))
columbus <- readShapeSpatial("columbus.shp˛)

I want to extract a polygon 30 from Ścolumbusą, and assign it to a new
SpatialPolygonsDataFrame object. Iąve triedŠ

newSPDF <- Polygons(list(columbus@polygons[[30]]), "29˛)

Šbut this didnąt work. How can I do this?

Thanks
Ross



	[[alternative HTML version deleted]]

