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

Add missing stations check to subways #26

Open
alexey-zakharenkov opened this issue Feb 5, 2024 · 0 comments
Open

Add missing stations check to subways #26

alexey-zakharenkov opened this issue Feb 5, 2024 · 0 comments

Comments

@alexey-zakharenkov
Copy link

Quite often, one or several stations drop out of a route. This can be quite easily detected for a backward+forward pair of routes in a route_master:

A -->-- B -->-- C -->-- D
A --<-- B --<-------<-- D

While this situation may often take place in reality, for subway routes this almost always signals about an error.

Since 2018, I have occasionally corrected such errors. Over the past two months, laborious work has been done to find them in nearly 300 subway and other rapid transit networks. As a result, about 150 stations were added to routes even in such well-mapped cities as Madrid, Stockholm, Warsaw, New York, Stuttgart, Munich S-Bahn, etc. There were about 10% false positives, mostly on routes of train type.

This became possible after adding missing station search algorithm to the Subway validator. I suggest implementing the same check in your validator.

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

1 participant