Skip to content
Prev 11260 / 29559 Next

adding variable to shapefile

you can even operate directly on the object you obtained from reading the shapefile. To add a column 
called test just do

s$test <- test

assuming that test has length(test)==nrow(s). In case you want it back in the shapefile use 
writePolyShape.

Tom

Am 21.03.2011 19:56, schrieb Johannes Signer: