All Projects → cheeaun → railrouter-sg

cheeaun / railrouter-sg

Licence: other
A progressive web app that lets you explore MRT and LRT rail routes in Singapore

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to railrouter-sg

Next-Station-iOS
Source code of Next Station iOS app, available on App Store for downloading.
Stars: ✭ 15 (-48.28%)
Mutual labels:  metro, transport, subway
citylines
Citylines.co is a collaborative platform for mapping the transit systems of the world!
Stars: ✭ 53 (+82.76%)
Mutual labels:  metro, transport, subway
bvg-topological-map
BVG transport map as a nice SVG.
Stars: ✭ 15 (-48.28%)
Mutual labels:  map, transport
Mpk Ttss
Improved www.ttss.krakow.pl
Stars: ✭ 63 (+117.24%)
Mutual labels:  map, transport
european-transport-operators
NOT UP-TO-DATE ANYMORE, UNMAINTAINED. CHECK european-transport-feeds INSTEAD. List of european long-distance transport operators, available API endpoints, GTFS feeds and client modules.
Stars: ✭ 47 (+62.07%)
Mutual labels:  transport, train
the-subway-of-china
中国地铁图
Stars: ✭ 104 (+258.62%)
Mutual labels:  map, subway
arrivelah
Fast simple API for bus arrival times in Singapore.
Stars: ✭ 67 (+131.03%)
Mutual labels:  singapore, lta
subwayclock
Display clock for NYC subways
Stars: ✭ 29 (+0%)
Mutual labels:  subway, train
ClimateChangeProjections
An embeddable map that shows climate change projections. How hot will it be by 2070 if we don't do something about it? Accessible at https://climatechange.codeforafrica.org
Stars: ✭ 29 (+0%)
Mutual labels:  map
turkeyvisited
Mark the cities you have visited in Turkey and share the map!
Stars: ✭ 82 (+182.76%)
Mutual labels:  map
ProMotion-map
ProMotion::MapScreen gem. Extracted from ProMotion core.
Stars: ✭ 13 (-55.17%)
Mutual labels:  map
vts-browser-cpp
VTS Browser C++ library
Stars: ✭ 45 (+55.17%)
Mutual labels:  map
coronavirus-stats
Automatically scrape data and statistics on Coronavirus to make them easily accessible in CSV format
Stars: ✭ 47 (+62.07%)
Mutual labels:  singapore
jsvectormap
A lightweight JavaScript library for creating interactive maps and pretty data visualization.
Stars: ✭ 163 (+462.07%)
Mutual labels:  map
PSIBar
A quickly hacked up PSI OS X status bar app
Stars: ✭ 24 (-17.24%)
Mutual labels:  singapore
r5r
ipeagit.github.io/r5r/
Stars: ✭ 90 (+210.34%)
Mutual labels:  transport
planvelo-carte
Observatoire du Plan Vélo
Stars: ✭ 28 (-3.45%)
Mutual labels:  map
poplar-trie
C++17 implementation of memory-efficient dynamic tries
Stars: ✭ 47 (+62.07%)
Mutual labels:  map
kirby-locator
A simple map & geolocation field, built on top of open-source services and Mapbox. Kirby 3 only.
Stars: ✭ 83 (+186.21%)
Mutual labels:  map
otp-tutorial
Introductory tutorial (approx. 3 hours) covering the setup and querying of an OpenTripPlanner instance
Stars: ✭ 85 (+193.1%)
Mutual labels:  transport

RailRouter SG

Screenshot of RailRouter SG

Screenshot of RailRouter SG

RailRouter SG is a progressive web app that lets you explore MRT and LRT rail routes in Singapore.

It was built to scratch my curiosity itch for comparing the real route lines VS the lines shown on Google Maps, which I personally find too straight and skews the perception of how trains actually travel in the real world.

Available features:

  • Real rail route lines, for all train routes.
  • Show station names in Chinese and Tamil, besides English.
  • Show station building structures, both underground and aboveground.
  • Show location of exits (a.k.a. entrances) for (almost) all stations.
  • Show train arrival times for some stations.
  • Possibly, works offline.

Previously

Screenshot of RailRouter SG

This is the first version, using Google Maps.

Technicalities

For development

  • npm i - install dependencies
  • npm start - starts the server
  • npm run build - builds the production assets for deployment

Data source

From my other repo: cheeaun/sgraildata.

⚠️ NOTE: All feature ids are removed from sg-rail.geo.json in this repo, due to a strange bug in Mapbox GL JS. If the id number is too large, errors occur.

Generating station code markers

  1. Go to https://codepen.io/cheeaun/full/pogQjgV
  2. Paste all the train codes.
  3. Click "Generate Images" button to download ZIP file of SVG images.
  4. Extract files from the ZIP file.
  5. Go to https://www.facetstudios.com/sprite-generator
  6. Drag/Upload all SVG files to the site.
  7. Uncheck "Export for retina". Check "Generate JSON".
  8. Click "Download Files" button.
  9. Extract files from ZIP file.
  10. Move & rename sprite image to src/stations.png. Optimize the image with TinyPNG.
  11. Move & rename sprite JSON to src/sprite.json.
  12. Run node scripts/gen-stations-sprite.js which will generate src/stations.json.

License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].