GithubHelp home page GithubHelp logo

isabella232 / darfield-earthquake-timeline Goto Github PK

View Code? Open in Web Editor NEW

This project forked from malclocke/darfield-earthquake-timeline

0.0 0.0 0.0 235 KB

An interactive timeline of the Darfield Earthquake

Home Page: http://wholemeal.co.nz/~malc/darfield-earthquake-timeline

Ruby 0.71% JavaScript 99.29%

darfield-earthquake-timeline's Introduction

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

darfield-earthquake-timeline's People

Contributors

malclocke avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.