Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An interactive timeline of the Darfield Earthquake

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 images
Octocat-spinner-32 loaders
Octocat-spinner-32 README.markdown
Octocat-spinner-32 circle.svg
Octocat-spinner-32 earthquakes.kml
Octocat-spinner-32 index.html
Octocat-spinner-32 param.js
Octocat-spinner-32 stats.rb
Octocat-spinner-32 styles.css
Octocat-spinner-32 test.kml
Octocat-spinner-32 timemap.js
Octocat-spinner-32 timemap_full.pack.js

Updating the datafile

Currently, the page uses the earthquakes.kml file for data as the timemap library doesn't support remote kml.

To update the earthquakes.kml file:

  • Go to the GeoNet quake search
  • Set the date range, and draw a box around the Canterbury region on the map to exclude other quakes. Setting the end date to tomorrow will ensure you get all the known aftershocks.
  • Select KML as the output format, and save the resulting file over the existing earthquakes.kml

Updating the 'Quakes by date' graph

This graph uses the Google charts API. You can use the stats.rb Ruby script to create a new chart URL when the earthquakes.yml file is update, the new URL must currently be inserted manually into index.html.


  • Customise map markers based on depth
  • Filter by depth
  • Zoom timescale
  • Animate display
Something went wrong with that request. Please try again.