2.0.2 • Published 2 years ago

singapore-train-data v2.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Forked version of sgraildata

Generate and download data

const { download, generate } = require('sgraildata');

// Generate data from static datasets 
let dataset = generate(); 

// Get latest data by running download
download(); 
let freshDataSet = generate(false); 

This is a data-only repository to complement RailRouter SG.

The data

It's in the /data folder.

Changelog in CHANGELOG.md.

Notes

  • ids are not guaranteed to be unique
  • Rail line coordinates are not guaranteed to match the real tracks. They are also simplified and smoothed.
  • Station buildings data is not complete;
    • Incomplete underground building data
    • Missing aboveground building data
    • Missing multiple levels (Ground level, basement level, etc)
  • Some exits data are inaccurate and incomplete

Data sources