Exporting KML from R
Google Earth has become a popular way of disseminating spatial data. KML is the data format required to do this. It is possible to load almost any type of spatial data format into R and export it as a KML file. In my experience R seems much quicker at doing this than many well-known GIS platforms, such as ArcGIS. The worksheet below explains how.
Data and Package Requirements:
London Sport Participation Shapefile. Download (requires unzipping)
Install the following packages (if you haven’t already done so):
maptools, rgdal (Mac users may wish to see here first).
To leave a comment
for the author, please follow the link and comment on their blog: Spatial Analysis » R
offers daily e-mail updates
news and tutorials
on topics such as: Data science
, Big Data, R jobs
, visualization (ggplot2
), programming (RStudio
, Web Scraping
) statistics (regression
, time series
) and more...
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook