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

Calculate GTFS stop ID to Bustracker stop ID list when we get new GTFS data #52

Open
brendanbabb opened this issue Nov 19, 2015 · 0 comments

Comments

@brendanbabb
Copy link
Contributor

This is an enhancement. But we should be able to grab the lat longs for new GTFS stops.txt and do a search vs. the bustracker stops XML file (http://bustracker.muni.org/InfoPoint/XML/stops.xml) to find the stop with lat and long within x meters of the GTFS stop and determine that they are the same stop. Write the results out to the lib/stop_numbers_lookup.js file.

There are challenges still with old stops or duplicate stops or incorrect names, that we might need to hand correct, but this would get 90% of the stops and could check nightly (say 2am) after the GTFS load, which occurs at midnight, and only run if there is a new GTFS feed date.

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

No branches or pull requests

1 participant