[R-sig-Geo] Use a PNG image as background for lattice plotting with rasterVis

Waichler, Scott R Scott.Waichler at pnnl.gov
Fri Oct 18 23:56:24 CEST 2013


Hi,

I've learned the basics of using RgoogleMaps and rasterVis, and now I want to combine their capabilities to use levelplot() with a georeferenced PNG image as a background in the lattice panel.  And, I want to plot to the normal R graphics devices, not the web as package plotGoogleMaps does.  Can anyone provide an example of how to use the result of RgoogleMaps' GetMap.bbox() as a background image in a plot produced with the rasterVis version of lattice graphics?

Thanks,
Scott Waichler
Pacific Northwest National Laboratory
Richland, WA USA
scott.waichler at pnnl.gov



More information about the R-sig-Geo mailing list