Plotting shapefiles on top of Google map tiles
On Mon, Jan 18, 2010 at 8:23 AM, milton ruser <milton.ruser at gmail.com> wrote:
Hi prof. Hijmans, Its Cool! Is there a similar facility for google earth? Plotting from R on a google earth session?!
To put data onto Google Earth then you need to make a KML file. You can probably do this with writeOGR from the rgdal package, or the kml* functions in maptools - but if you want to do anything fancy then you need to write your own KML file from your data. I have found the 'brewer' package useful for writing templates to make KML files. You'll have to study the KML specification from Google as well. Barry