Explore bus stops and routes on the map for all bus services in Singapore, with realtime bus arrival times and per-bus-stop passing routes overview.
Previously known as Singapore Bus Routes Explorer, abbreviated as 'SBRE' and previously looks like this:
A separate mini-site showing ALL stops and routes on a map. All of them.
Check it out: Visualization mini-site (β οΈ Uses a lot of bandwidth).
All data such as bus stops, services and routes are mostly scraped from https://www.lta.gov.sg/, which means they are copyrighted by the Land Transport Authority.
They are available here: cheeaun/sgbusdata.
The scripts for the web app:
npm start
- start server for developmentnpm run build
- build for production and deployment, in ./dist
folder.β‘οΈ Start translating β¬ οΈ
At least Node.js 14 is required.
The scripts to generate the data, in order:
node visualization/build-routes.mjs
data.busrouter.sg/v1/data/stops.min.json
and transform routes data with "levels" for 3D extrusion.visualization/data/routes.json
and visualization/data/levels.json
to be read by the build-stops
script.node visualization/build-stops.mjs
data.busrouter.sg/v1/data/stops.min.geojson
and buffered into triangle polygons which will be 3D-extruded.visualization/data/stops.3d.json
.Data Β© LTA Β© OneMap Β© OSM contributors. Everything else: MIT
If you have any feedback, leave them on Discussions or tweet me @cheeaun on Twitter.