Re: [R-sig-Geo] save polygon as a shape file

2008-01-22 Thread stefan lhachimi
Thanks! That worked great. I am also able now to merge new data into the map with the merge command (I went to great length to show data in a map, always fearing that its not matched properly). I guess this is kind of trivial if you know your way around. But I never got a introduction to spatial m

Re: [R-sig-Geo] save polygon as a shape file

2008-01-12 Thread Roger Bivand
On Sat, 12 Jan 2008, stefan lhachimi wrote: > Hello, > > I loaded a .shp-file and used a subset command while converting it > into a polygon to eliminate certain regions: > > map.kreise<-readShapePoly("vg250krs",IDvar="KRS_ID",verbos=TRUE) > map.kreise.boden <-polygons(map.kreise)[x$BODENSEE==0]

[R-sig-Geo] save polygon as a shape file

2008-01-12 Thread stefan lhachimi
Hello, I loaded a .shp-file and used a subset command while converting it into a polygon to eliminate certain regions: map.kreise<-readShapePoly("vg250krs",IDvar="KRS_ID",verbos=TRUE) map.kreise.boden <-polygons(map.kreise)[x$BODENSEE==0] Now I want to save the new object map.kreise.boden as a s