Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bustime.js's stops collection is ignoring multiple stops with same ID #11

Open
tdhsmith opened this issue Oct 11, 2014 · 1 comment
Open

Comments

@tdhsmith
Copy link
Contributor

organizeData should have an additional case when the stop id already exists in the hash (because multiple routes can use the same stop) that adds the new route and direction to the stop. This will require stopsHash[i].routeId and stopsHash[i].direction to be arrays or somesuch.

@brennanMKE
Copy link
Contributor

@tdhsmith Please try the API on the branch that I created to see what needs to be adjusted. I did not account for these conditions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants