brnstz / bus

Mobile web app for discovering public transit in NYC --
https://token.live
MIT License
5 stars 2 forks source link

Use fake shape when direction shape doesn't include current stop #116

Open brnstz opened 7 years ago

brnstz commented 7 years ago

There are three kinds of shapes we use:

If the "direction shape" goes to the same location but doesn't include the current stop, we use it. We should instead use the fake shape. The tricky part here is the trip doesn't know about the current stop, so it can't just be determined in the trip model.