Skip to content
Prev 7406 / 29559 Next

Plotting shapefiles on top of Google map tiles

Hi Patrick,

I was breaking my head with this problem for one afternoon. Being more
a GIS person, my ideas was that one should be able to get a
StaticGoogleMaps image to some GIS format, i.e. to convert it to a
SpatialGridDataFrame. Then it is rather easy to overlay
points/lines/polygons using the spplot function (or to export to some
external GIS format e.g. geotiff). The procedure is now explained on
p.103-105 in my book (http://spatial-analyst.net/book/DataSources).
Here is the complete code:

http://spatial-analyst.net/book/getStaticGoogleMaps.R

T. Hengl
http://home.medewerker.uva.nl/t.hengl/


Quoting Patrick Crutcher <pcrutcher at gmail.com>:
----- End forwarded message -----