osmose-backend icon indicating copy to clipboard operation
osmose-backend copied to clipboard

Add missing stations check to subways

Open alexey-zakharenkov opened this issue 1 year ago • 1 comments

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 Osmose validator.

alexey-zakharenkov avatar Feb 05 '24 11:02 alexey-zakharenkov

Does the the subway validator running somewhere frequently ? If so, the result can also be send to the Osmose-QA API.

As the Subway validator is also in Pyhton, it may also be run inside Osmose-QA backend.

frodrigo avatar Feb 05 '24 13:02 frodrigo