Re: [R-sig-Geo] invalid class “SpatialPolygons” object: non-unique Polygons ID slot values

2013-12-21 Thread Agustin Lobo
Had looked into the vignette. No, it does not really help. spRbind() is only mentioned in 2.1 Dissolving Polygons and not in 3.1 Combining Positional Data. Including an example where the non-unique Polygons ID slot values occurs in section 3.1. and the way to fix it using spRbind() would be very

Re: [R-sig-Geo] invalid class “SpatialPolygons” object: non-unique Polygons ID slot values

2013-12-21 Thread Edzer Pebesma
Looking at the code, x = rbind(x1, x2, x3, makeUniqueIDs = TRUE) ought to work, but I haven't tried. You are right that neither ?rbind nor ?rbind.SpatialPolygons tells you about this. On 12/21/2013 12:16 PM, Agustin Lobo wrote: Had looked into the vignette. No, it does not really help.

[R-sig-Geo] a projection question

2013-12-21 Thread Hodgess, Erin
Hello everyone: I'm setting up a function in which the user enters the projection (as part of other stuff). What is the best way to determine if the entered projection is correct, please? (so I can send back an error message right away). Thanks, Erin [[alternative HTML version

Re: [R-sig-Geo] a spatial bestiary?

2013-12-21 Thread ldecola
Racine and Rowlingson’s pages are a nice ways of presenting information. Now suppose we start with the simplest genus – points, which have 3 species: matrix {base} ppp {spatstat} SpatialPoints {sp} For an object of one of these classes a student would want to know how to: 1. construct