Re: [R-sig-Geo] add, delete columns in spatial data frame data slot before spRbind

2008-08-19 Thread Roger Bivand
On Tue, 19 Aug 2008, Murray Richardson wrote: Hello again users, I'm having trouble figuring out how to format the data slot in spatial SpatialPolygonsDataFrames. I need to use spRbind to combine polygons from different shapefiles but encounter the problem of having different numbers of col

[R-sig-Geo] add, delete columns in spatial data frame data slot before spRbind

2008-08-19 Thread Murray Richardson
Hello again users, I'm having trouble figuring out how to format the data slot in spatial SpatialPolygonsDataFrames. I need to use spRbind to combine polygons from different shapefiles but encounter the problem of having different numbers of columns, and also non-unique IDs. If the polygons