Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An interactive timeline of the Darfield Earthquake
JavaScript Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
images
loaders
README.markdown
circle.svg
earthquakes.kml
index.html
param.js
stats.rb
styles.css
test.kml
timemap.js
timemap_full.pack.js

README.markdown

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.

TODO

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