/interactive-geological-timescale

Primary LanguageVueGNU General Public License v3.0GPL-3.0

Interactive Geological Timescale

The point-of-truth repository for this tool is now managed by the International Stratigraphic Commission, so this code base is now archived.

This repository contains a single page web application that is an interactive rendering of the International Commission on Stratigraphy's International Chronostratigraphic Chart.

This application presents a familar view of the geologic timescale drawn from oldest at the bottom to youngest at the top, as per Figure 1.

Figure 1: A screenshot of this application

When any time period is clicked by a user, information about that period is retrieved from the Semantic Web delivery of the 2018 version of the Geological Timescale online at:

Example Deployment

You can see this application online at https://kurrawong.net/timescale/

Deploying this application

This is a vue.js application, built using node.js.

Project setup

Download this repository then:

npm install
Compile and hot-reloads for development
npm run serve
Compile and minify for production

Produces a dist/ folder that can be deployed on a standard webserver (HTML, JS & CSS only).

npm run build

Production deployment from pre-built files

This repository contains a pre-built arechive file for deployment: timescale.tar.gz.

You can rebuild this file by taring and gzipping the dist/ folder created with npm run build. Just make sure you make the following changes after building:

  1. convert paths in index.html from =/ to just =
    • 9 instances
  2. strip last char from footer image paths (3 images)
    • go to js/app.xxxxxx.js
    • find the 3 images (img/...)
    • add this to the image path generation variable: .slice(0, -1), .e.g i.exports=r.p.slice(0, -1)+"img/
Run your tests
npm run test
Lints and fixes files
npm run lint

Rights and License

The content of the Geological Timescale is copyrighted and licensed as per the content delivery at http://resource.geosciml.org/vocabulary/timescale/gts2018.

All code and other information in this repository is © CSIRO, 2019 and available for use under the GNU General Public License, v3 (also see LICENSE in this repostory for a copy of the deed).

Contacts

Technical Owner:
Nicholas Car
Data Systems Architect
SURROUND Australia Pty Ltd
nicholas.car@surroundaustralia.com

Developer:
Jake Hashim-Jones
Junior Informatics Developer
CSIRO LAnd & Water, Environmental Informatics Group
jake.hashim-jones@csiro.au