jeffkaufman / mbtaplot

mbta bus plotter using google app engine
http://sccs.swarthmore.edu/~cbr/news/mbtaplot.html
11 stars 1 forks source link

ashmont inbound trains on the wrong route #4

Closed jeffkaufman closed 14 years ago

jeffkaufman commented 14 years ago

Trains inbound from ashmont have direction set to '0', which usually means that something is a braintree train. So I was "snapping" them to the braintree route. I've temporarily turned off "snap to path" for subway routes (which don't need it generally) but it would be better to twiddle the direction field for trains coming from ashmont. Right now if you click on an ashmont-originating train it will highlight the braintree branch instead.

jeffkaufman commented 14 years ago

direction field should now always be set based on what stops we see the train at instead of trusting the mbta's setting.