Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Data feeds containing stops without any coordinates fail for the entire feed #4
Running transitflow for the operator Cumfybus, i.e.
Digging into it, it seems to be because the
I've worked round it (because claiming the stop is in the mid-Atlantic, while hopefully quite obvious to see, doesn't seem the correct fix :-) with the following mod to transitflow.py:
Happy to submit it as a pull request, if that is a valid fix, mind you.
Thank you, @amcewen ! I agree with your idea of ignoring instances where stop lat/lons are not found and implemented something similar. Obviously, a more thorough solution would be to investigate why these particular stops are missing lat/lons in the database. But I agree that a single stop missing should not throw an error for an entire operator.
Cumfybus now works for me: