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 }}
Repository navigation
Tiles containing route relations are malformed #761
In conclusion, it seems that the tiler works well even if the dates are in incorrect formats or wrong for nodes and ways. However, in the case of relations, if they have a bad date format, they do not show. I believe this is related to the newly added layer, transport_lines_relations If it seems we are still not using it in the styles, maybe we can remove it.
@vknoppkewetzel Are you suing the transport_lines_relations on the map styles?
changed the title [-]Tiles are not appearing in places where the dates are wrong[/-][+]Tiles containing route relations are malformed[/+]on Apr 24, 2024
@1ec5@vknoppkewetzel Due to the fact that we are not using the transport_lines_relation, I have disabled it for now. I will further investigate the issue in the SQL queries and deploy it later.
Activity
Rub21 commentedon Apr 17, 2024
I fixed the wrong date, and the tiles is appearing https://www.openhistoricalmap.org/relation/2789850/history#map=13/51.0217/3.7612&layers=O&date=1924-04-17&daterange=1824-01-01,2024-12-31

Rub21 commentedon Apr 17, 2024
This is weird. I have been checking relations that had incorrect dates, but those are now showing correctly. However, the error occurs when a relation or way displays the format of the date correctly but not the number. For example,
https://www.openhistoricalmap.org/relation/2796047#map=13/50.6578/3.7684&layers=ON&date=1924-04-17&daterange=1824-01-01,2024-12-31
1906-09-31After fixing the wrong date, it works correctly :
Rub21 commentedon Apr 17, 2024
In conclusion, it seems that the tiler works well even if the dates are in incorrect formats or wrong for nodes and ways. However, in the case of relations, if they have a bad date format, they do not show. I believe this is related to the newly added layer,
transport_lines_relationsIf it seems we are still not using it in the styles, maybe we can remove it.@vknoppkewetzel Are you suing the
transport_lines_relationson the map styles?cc. @danrademacher
Rub21 commentedon Apr 17, 2024
Also, I wrote a script that will help us detect wrong dates in nodes, ways, and relations using the Planet PBF file. https://github.com/OpenHistoricalMap/ohm-dates-analyzer/
vknoppkewetzel commentedon Apr 18, 2024
Hey @Rub21
transport_lines_relationsis only in the draft demo style (tegola-ohm-draft) and not in production yet, mostly because I need clarity/confirmation on expectations on how I should style it.1ec5 commentedon Apr 24, 2024
I get numerous
Decoding failederrors in the console when attempting to view https://www.openhistoricalmap.org/relation/2796047, even with your fix. I also get the same errors attempting to view https://www.openhistoricalmap.org/relation/2695155 or https://www.openhistoricalmap.org/relation/2749954, in which thestart_dateandend_dateare both syntactically and calendrically valid. In fact, I can only view tiles that contain route relations withoutstart_dateorend_date, such as https://www.openhistoricalmap.org/relation/2738230.I wonder if the culprit is that these queries reference an ambiguous
tagsrather thanr.tags:https://github.com/OpenHistoricalMap/ohm-deploy/blob/9de4aecf8c78469c3015a8aaecc658dee008cc96/images/tiler-server/config/providers/transport_lines_relation.toml#L19-L20
https://github.com/OpenHistoricalMap/ohm-deploy/blob/9de4aecf8c78469c3015a8aaecc658dee008cc96/images/tiler-server/config/providers/transport_lines_relation.toml#L51-L52
I’m not too well-versed in PostgresQL, so this might be a red herring. But definitely something is up with the date tags specifically.
[-]Tiles are not appearing in places where the dates are wrong[/-][+]Tiles containing route relations are malformed[/+]Rub21 commentedon Apr 24, 2024
@1ec5 @vknoppkewetzel Due to the fact that we are not using the transport_lines_relation, I have disabled it for now. I will further investigate the issue in the SQL queries and deploy it later.
1ec5 commentedon May 30, 2024
Should we close this issue, since the problematic code has been backed out?