osm-relatify
osm-relatify copied to clipboard
Feature Wish: Select ways more than once
Sometimes a bus travels one and the same road up, reaches the bus stop and turns around on the road and travels the same way back. For this reason, it should be possible to select routes several times in order to establish the connection correctly.
The routing engine should be smart enough to figure such cases out, do you have any specific example in mind? You should make sure to turn on all applicable bus stops as this affects the routing engine behavior.
Yes, I just created this relation and wanted to complete it: https://www.openstreetmap.org/relation/15999105
OSM location: https://www.openstreetmap.org/#map=19/47.26091/10.08743 The bus turns left here, drives up to the bus stop, turns around there and drives back down to the main road.
Sadly I cannot save my current effort and all changes are lost :(
EDIT: I've created a loop as a workaround here to be able to save the relation :)
Ah, I see, so basically the bus reverses 'in-place'. I am now curious how should the relation structure look like in this case, is the way member repeated twice (once per each time that bus traverses the road-length), or just once? Talking about the type=way in https://www.openstreetmap.org/api/0.6/relation/2634688.
Hm, in JOSM you then simply have the same path twice among each other and on the right the connection connects accordingly.
One of the most challenging routes to fix in Munich area (if broken, not correctly sorted) is Bus 901
Bus 901 with multiple use of several roads in same or reverse direction
This one is correct but cannot be calculated by Relatify
One of the most challenging routes to fix in Munich area (if broken, not correctly sorted) is Bus 901
Bus 901 with multiple use of several roads in same or reverse direction
This one is correct but cannot be calculated by Relatify
Oh... did I ever say Relatify will only handle 99% of the cases :smile:
There is a balance between app simplicity and handling all the scenarios, and this particular route is definitely outside the current scope of my work. The idea behind Relatify is to automatically generate routes based on a set of bus stops and ways. However, if those two options fail, it is recommended to use more advanced tools like JOSM.
Hm, in JOSM you then simply have the same path twice among each other and on the right the connection connects accordingly.
I will see whether I can add support for such cases. This looks doable but no promises.
There is a balance between app simplicity and handling all the scenarios, ...
I absolutely agree to this.
I have another example if it helps with testing. https://www.openstreetmap.org/relation/11834596#map=18/50.64469/-1.17701