thfield / sfmta

visualizing the sfmta routes by stop frequency
0 stars 0 forks source link

bus route line doesn't show splits #5

Closed thfield closed 8 years ago

thfield commented 8 years ago

if bus route diverges (outbound/inbound go along different streets, eg one-ways) the drawn route doesn't show it.

screen shot 2015-12-02 at 11 48 49 am

why? routes_controller#busline.shapesFromMyRoute only grabs trip from first stop on route.

solution? look at trip.direction_id and grab shapes from one of each

thfield commented 8 years ago

solved with #13