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
Parts of the 551 bus route (1954) keep showing up as early as 1931, this seems to be the case with some linestrings when they are used by a public transport, then no route run through them and then again one does.
I fixed it with a fail-safe in the route materialized view: if a date is present but doesn't parse, we drop that row instead of letting it render forever. Empty dates still keep their normal unbounded meaning, so open-ended routes are fine. Only the broken ones get hidden, until the data is fixed in OSM.
Activity
1ec5 commentedon May 20, 2026
Possibly the same root cause as what remains of #1362.
Rub21 commentedon Jul 6, 2026
The routes were rendering at the wrong dates because of invalid dates in the data, not a problem with the routes themselves. Two examples here:
https://www.openhistoricalmap.org/relation/2835893 (route 551): start_date=1954-09-31 — September has 30 days, so that date doesn't exist.
https://www.openhistoricalmap.org/relation/2660797 (route 32): end_date=uncertain — that's a word, not a date.
When a date can't be parsed, the decdate ends up NULL, and a NULL date is read as unbounded, so the route shows across all of time. That's why the 551 appeared as early as 1931.
I fixed it with a fail-safe in the route materialized view: if a date is present but doesn't parse, we drop that row instead of letting it render forever. Empty dates still keep their normal unbounded meaning, so open-ended routes are fine. Only the broken ones get hidden, until the data is fixed in OSM.
here a list of wrong dates in relations https://gist.github.com/Rub21/f815145e24a7782918780bfaa17da7b0
Fixes currently in staging.https://vtiles.ohmstaging.org/#2/20/0