Earthquake maps

January 6, 2010

(This article was first published on The Praise of Insects, and kindly contributed to R-bloggers)

There’s been a number of earthquakes in the Solomon Islands over the past few days, including one that caused a tsunami to partially destroy the village of Baniata on Rendova, Western Provence. You can see exactly how many earthquakes have occurred there by heading over to and pasting into the search box this url:

I created that map using data from the USGS Earthquake Hazard program and whipping up an R script to create the KML file. Up to that stage it was pretty easy. Creating the different icons was a little more difficult and required a crash course in the kml specifications, how they differ in Google maps and where to find icons for use in the map (and here too). All in all, it required too much playing around than I should really afford at the moment, but I ended up learning a lot of stuff. There’s a number of other things which could be done with this setup, but I probably should go back to doing something important….

To leave a comment for the author, please follow the link and comment on their blog: The Praise of Insects. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)