Re: [R-sig-Geo] Problem with SpatialPolygons containing a hole

2009-01-30 Thread Kjetil Halvorsen
On Thu, Jan 29, 2009 at 10:51, Roger Bivand wrote: > On Thu, 29 Jan 2009, Hans-Jörg Bibiko wrote: > >> >> On 29.01.2009, at 13:08, Roger Bivand wrote: >> >>> Set the pbg= argument to set the "bg" (background) to something other >>> than "transparent" - if it is transparent, the previously plotted

Re: [R-sig-Geo] Problem with SpatialPolygons containing a hole

2009-01-29 Thread Roger Bivand
On Thu, 29 Jan 2009, Hans-Jörg Bibiko wrote: On 29.01.2009, at 13:08, Roger Bivand wrote: Set the pbg= argument to set the "bg" (background) to something other than "transparent" - if it is transparent, the previously plotted larger and encompassing polygon is still visible. I'm afraid that

Re: [R-sig-Geo] Problem with SpatialPolygons containing a hole

2009-01-29 Thread Hans-Jörg Bibiko
On 29.01.2009, at 13:08, Roger Bivand wrote: Set the pbg= argument to set the "bg" (background) to something other than "transparent" - if it is transparent, the previously plotted larger and encompassing polygon is still visible. I'm afraid that the documentation, which should be in ?"Spa

Re: [R-sig-Geo] Problem with SpatialPolygons containing a hole

2009-01-29 Thread Roger Bivand
On Thu, 29 Jan 2009, Hans-Jörg Bibiko wrote: Hi, I'm just preparing a SpatialPolygonsDataFrame for ISO3 = "PSE" which is missing in TM_BORDERS data. I have three polygons: p1 p2 p3 whereby p2 is a hole inside of p1. Then I did this: P1 <- Polygon(p1) P2 <- Polygon(p2) P3 <- Polygon(p3) ps

[R-sig-Geo] Problem with SpatialPolygons containing a hole

2009-01-29 Thread Hans-Jörg Bibiko
Hi, I'm just preparing a SpatialPolygonsDataFrame for ISO3 = "PSE" which is missing in TM_BORDERS data. I have three polygons: p1 p2 p3 whereby p2 is a hole inside of p1. Then I did this: P1 <- Polygon(p1) P2 <- Polygon(p2) P3 <- Polygon(p3) pse <- list(P1,P2,P3) pseP <- checkPolygonsHoles