Re: [R-sig-Geo] drawing order in spplot, sp.layout

2009-12-24 Thread Patrick Giraudoux
Great ! I may be wrong but it may be that some years ago I have got such info already from you or Roger (before your book) but I could not retrieve it in any help list and archive. It may be have been e-mails off list... Thanks anyway and merry Xmas , Patrick Edzer Pebesma a écrit : Pat

Re: [R-sig-Geo] drawing order in spplot, sp.layout

2009-12-24 Thread Edzer Pebesma
Patrick Giraudoux wrote: Dear listers, I am messing with spplot trying to get layers in the right order. Basically I want a SpatialGridDataframe overlapped with a SpatialPolygons object (actually a SpatialPolygonsDataFrame object). The the data attribute of the SpatialGridDataFrame has 13 c

[R-sig-Geo] drawing order in spplot, sp.layout

2009-12-24 Thread Patrick Giraudoux
Dear listers, I am messing with spplot trying to get layers in the right order. Basically I want a SpatialGridDataframe overlapped with a SpatialPolygons object (actually a SpatialPolygonsDataFrame object). The the data attribute of the SpatialGridDataFrame has 13 columns (12 months + the ann

Re: [R-sig-Geo] drawing order in spplot and Line width in sp maps

2006-07-10 Thread Edzer J. Pebesma
Duncan Golicher wrote: > Great. Thanks so much. It was obvious really. > You also seem to have come up with one solution to the line width > question asked a couple of days ago, as this works. > > spplot(chisgrid, "dem", panel = function(x,y, ...){ > panel.gridplot(x,y,...) > sp.polygons(

Re: [R-sig-Geo] drawing order in spplot and Line width in sp maps

2006-07-10 Thread Edzer J. Pebesma
I uploaded sp 0.8-18 to CRAN, which should fix: - a bug that breaks sp 0.8-16 on r-devel - not passing lty and lwd to spplot methods for SpatialPolygonsDataFrame and SpatialLinesDataFrame objects. -- Edzer Duncan Golicher wrote: > Great. Thanks so much. It was obvious really. > You also seem to ha

Re: [R-sig-Geo] drawing order in spplot

2006-07-09 Thread Edzer J. Pebesma
Duncan Golicher wrote: >Many thanks to everyone involved in putting together the excelent sp >package. I have just used for teaching a brief intro to applied geostats >with gstat. Students found life much easier than a year ago when I had >to try to explain a less structured approach to the dat

Re: [R-sig-Geo] drawing order in spplot and Line width in sp maps

2006-07-06 Thread Duncan Golicher
Great. Thanks so much. It was obvious really. You also seem to have come up with one solution to the line width question asked a couple of days ago, as this works. spplot(chisgrid, "dem", panel = function(x,y, ...){ panel.gridplot(x,y,...) sp.polygons(municipios, col=1,fill=0,lwd=3,lty=2

Re: [R-sig-Geo] drawing order in spplot

2006-07-06 Thread Arien Lam
Duncan, After a few tries I found: spplot(chisgrid, "dem", panel = function(x,y, ...){ panel.gridplot(x,y, ...) sp.polygons(municipios, col=1,fill=0) }) , which is just the reverse nesting order from my previous shot at it. HTH, Arien To be precise, this worked on: > sessionInfo() V

Re: [R-sig-Geo] drawing order in spplot

2006-07-06 Thread Duncan Golicher
Thanks for this Arien, Just can't get it to work though. I messed around a bit more yesterday but couldn't find a way. No one else on the list replied. I have another reason to want to do something similar, so I was hoping there was a work around out there. Here is the data if you (or anyone el

[R-sig-Geo] drawing order in spplot

2006-07-04 Thread Duncan Golicher
Many thanks to everyone involved in putting together the excelent sp package. I have just used for teaching a brief intro to applied geostats with gstat. Students found life much easier than a year ago when I had to try to explain a less structured approach to the data. A simple question arose a