Re: [R] Superimposing vector polygons over raster grid in a plot

2007-09-20 Thread Dylan Beaudette
On Thursday 20 September 2007, Rick Reeves wrote: > Thanks for this, Dylan. Great example. One question: 'elev.pred' and > 'elev.var' are columns in the result 'p' from predict? > thanks, RR Hi, elev.pred and elev.var are the 'zcol' attribute, or rather the value at each cell within the spatial

Re: [R] Superimposing vector polygons over raster grid in a plot

2007-09-20 Thread Dylan Beaudette
On Thursday 20 September 2007, Rick Reeves wrote: > Hello: > > I would like to superimpose vector polygons (state outlines) from a > Shape file on top of a satellite image, > imported into a SpatialGridDataFrame from GEOTIFF via gdal_translate and > readGDAL. > > When I plot polygon and point shape

[R] Superimposing vector polygons over raster grid in a plot

2007-09-20 Thread Rick Reeves
Hello: I would like to superimpose vector polygons (state outlines) from a Shape file on top of a satellite image, imported into a SpatialGridDataFrame from GEOTIFF via gdal_translate and readGDAL. When I plot polygon and point shape files in R, into SpatialPointDataFrame and SpatialPolygonD