Skip to content
Prev 19562 / 29559 Next

Use a PNG image as background for lattice plotting with rasterVis

Scott, Here is an Incomplete answer but perhaps useful anyway. You can do:

library(dismo)
g <- gmap("Pacific Northwest National Laboratory, Richland, WA, USA")
plot(g)

# and now you can add points, polygons, lines.
# you can also do

library(rasterVis)
levelplot(g)

This "works" but not as desired; I do not know how to get the colors
come out right; probably something that should be fixed in rasterVis
if this can be done with levelplot.
Robert


On Fri, Oct 18, 2013 at 2:56 PM, Waichler, Scott R
<Scott.Waichler at pnnl.gov> wrote: