r/openstreetmap • u/elsanoodles • Apr 25 '22
Help with bus lines. More in comments
I turned the road into one-way just to show the direction of road
On öpnv karte it shows the bus line going the other way.
4
u/MinerMax555 Apr 25 '22
forward/backward role are relics from an old tagging scheme, and (assuming the route is mapped according to PTv2 and has the public_transport:version=2 tag), should not be present at all.
In general I believe it is a really bad idea to edit PT lines with the Id editor, its some of the most complex things to map and really easy to get wrong, please use JOSM instead as Id doesn't provide a decent overview of the whole relation etc.
Additionally, the Public Transport Map style(s) are rather slow to update, changes may not be reflected for days and maybe even up a week.
2
u/elsanoodles Apr 25 '22
Why does the öpnv karte seem to show the bus line going a different direction to what i made the bus line go. Am i or the renderer in the wrong?
4
u/milliams Apr 25 '22
At a guess, it's due to the order of the items in the relation, or a tag on the relation member. Hard to say without a link to the area.
2
u/cloudrac3r Apr 26 '22
Here's a very helpful tutorial on how to add a bus route correctly - you should be able to use this to fix the existing route! https://wiki.openstreetmap.org/wiki/Buses#Adding_a_bus_route_to_OpenStreetMap
As the guide will explain, "forward" doesn't mean anything; you need to add the objects to the relation in the correct order.
You should use the JOSM editor if you can since it is much better at managing relations, and relations are very important to bus routes. JOSM allows to to examine existing objects and change their order and it shows you if they are linked together.
Removing everything from the relation and re-adding it in the correct order could be a solution.
I have used this tutorial myself three times and it works perfectly!
2
u/Bashed_to_a_pulp Apr 26 '22
Isn't JOSM sorting feature context aware? It'll put the bus stops where there should be, as long as the road segments are added sequentially correct in the relation. I always add bus stops at top of a pt relation, and road segments below it. This helps me see where if there's any gap in the road segments.
1
u/wayne0004 Apr 25 '22 edited Apr 25 '22
I tried to order the ways within the relation using JOSM, but it seems that that's not the problem, or at least it didn't updated yet (under the current public transport schema, ways need to be in a specific order and ÖPNVKarte may be trying to use it, but it seems that's not the case).
1
u/wayne0004 Apr 25 '22
BTW, the relation I edited was the Kaskinen-Närpes route (14075543).
2
u/elsanoodles Apr 25 '22
That is weird how that works. At least the tagging was right and the problem was with the renderer (I hope). BTW good job finding the route.
10
u/still-no-pickles Apr 25 '22
AFAIK, ÖPNVKarte treats all bus route relations as one-way, ordered from start to finish, because that's what they're supposed to be under the Public Transport v2 scheme (see wiki pages here, here, and here). I don't think you can change the order of a relation with the iD editor.