Skip to content

publictransit-in/busrouter-sg

 
 

Repository files navigation

Singapore Bus Routes Explorer

Available in the Chrome Web Store Get it in the Firefox Marketplace

Abbreviated as SBRE. I know, the name sucks. This app basically shows all routes on the map for all bus services in Singapore, inspired by this tweet.

Also available as an iPad app, created by Eddy Yanto.

Technical stuff

All data such as routes, bus stops and services are taken from http://publictransport.sg/, which means they are copyrighted by the Land Transport Authority.

Here's how to get the data, assuming that you have node, grunt and checked out this repo:

npm install
grunt fetchBusServices
grunt fetchBusStopsRoutes
grunt fixBadRoutes
grunt mapServicesStops
grunt populateServicesName

The data you'll get are:

Few more grunt goodies:

  • grunt connect - starts a local server
  • grunt uglify - concat/minify the JS files
  • grunt s3 - uploads data to a S3 bucket

The icon is from The Noun Project. The map is powered by Google Maps JavaScript API. The color scheme and markers are inspired by Gothere.sg. Tested to work great on modern web browsers.

If you have any feedback, tweet me at @cheeaun.

Releases

No releases published

Packages

No packages published