Re: [R-sig-Geo] Best way to merge selected regions in a map?

2006-11-10 Thread Roger Bivand
On Fri, 10 Nov 2006, Frosch, Katharina wrote: > Dear all, > > I work with a county map of Germany and have to merge 100 out of 440 > counties in total. I tried several ways, using unionSpatialPolygons from > the spgpc package and combine union and append commands from the gpclib > package, but d

[R-sig-Geo] Best way to merge selected regions in a map?

2006-11-10 Thread Frosch, Katharina
Dear all, I work with a county map of Germany and have to merge 100 out of 440 counties in total. I tried several ways, using unionSpatialPolygons from the spgpc package and combine union and append commands from the gpclib package, but did not succeed. What is the best and most "elegant" way to

Re: [R-sig-Geo] readOGR() - choice of layer in MIF/MID file? - solved

2006-11-10 Thread Frosch, Katharina
Thanks a lot for your precious help, it worked perfectly. Most probably, the first errors arose from importing a shapefile where I merged some counties using MapViewer - perhaps the newly created shapefile was a bit messy. However, I now have the problem that I have to repeat the merging of 100 o

[R-sig-Geo] how to do a principle component analysis with geo-referenced points

2006-11-10 Thread Carlos GUERRA
Dear friends, I wanted to know how to do a principle component analysis (PCA) from geo-referenced points. I have a list like: geo$xy with coordinates, and geo$data with the data that I want to do the analysis …is this right? +++ Carlos GUERRA Instituto P