Open examples/index.html
in your web browser. Note that in some web browsers loading any of the data sources will not work, as the UI makes ajax calls to load files, which is sometimes blocked. Chrome allows you to get around this by running it like this:
chrome.exe --allow-file-access-from-files
The data for the various sources needs to be transformed in order that we don't send a huge amount of data to the browser, and only send what we need. The transformation scripts are written in javascript and run in node.js. You will need to install a version of node.js that supports ES6 - v7.4.0 is sufficient, though it may work in some earlier versions too.
cd converters
npm install
node all
These datasources are not distributed with this project due to licencing restrictions, but the code is distributed as an example of how to obtain the data for personal use.
node nt.js
- Visit trigpointing.uk/trigs/
- Click
Download Trigpoints
- Select "Download file format":
CSV
- Select "Customise for": (pick a blank)
- Click
Download
- Place downloaded file into
converters/tmp-input/trigs
(deleting any other files) node trigs.js