Show HN: Tubemaps – Tube routes from terminal and Node.js
github.com
github.com
I did notice something odd in the example on your github page:
$ tubemaps path --from "Euston" --to "Hammersmith"
# Piccadilly Line: Hammersmith to Barons Court
# Piccadilly Line: Barons Court to Earl's Court
# Piccadilly Line: Earl's Court to Gloucester Road
# Piccadilly Line: Gloucester Road to South Kensington
# Piccadilly Line: South Kensington to Knightsbridge
# Piccadilly Line: Knightsbridge to Hyde Park Corner
# Piccadilly Line: Hyde Park Corner to Green Park
# Victoria Line: Green Park to Oxford Circus
# Victoria Line: Oxford Circus to Warren Street
# Victoria Line: Warren Street to Euston
It may just be me, but it seems you have "from" and "to" reversed?(NOTE: Trusting my judgement on such directional things tends to be a bad bet since I'm ambidextrous and dyslectic --I don't know left from right, and for me, it often doesn't matter. ;)
Update: solved in 1.0.2 :)
In fact the station data looks to be from the same source but we added more stations if you're interested.
This older project is also similar https://github.com/benbarnett/SVG-Tube-Map
https://github.com/nicola/tubemaps/blob/master/datasets/lond...