You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
I had several occurence of data inconsistency in routes and stop, in particular the relationship served_by or operated_by for stops and routes.
This is disturbing the valhalla fetch transit tool, because some routes aren't including in the bounding box. Mainly because relation route -> serves -> stops isn't correct and the route doesn't serve all the stops that have schedule_stop_pair associated to the route.
It seems to happens mostly after several update of a feed with new feed versions.
I have seen both routes that miss some served stops and routes that indicate serving stop that they don't serve. My guess is that the inconsistency are link to routes that have a similar route name, or identical gtfs_id than another route from a previous import.
Any ideas where to dig to fix this? Or potentially to rebuild the relationship based on schedule_stop_pairs origin/destination? Is the relationship using gtfs_id/name in any way that could cause an issue due to previous feed_versions?