-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not split Roundabout #58
Comments
IMO splitting roundabout is necessary to create valid PTv2 routes. |
There is no official guideline to split roundabouts for bus routes so this tool should not recommend this and should also not show intact roundabouts as "not used ways". By the way this tool tends to create overlapping roundabout segments if it splits roundabouts. |
The guidance is here: https://wiki.openstreetmap.org/wiki/Relation:route#Bus_routes_and_roundabouts . It allows splitting roundabouts as one of two valid ways to map bus routes: "The roundabout is split and the part used by the bus route is included in the route relation.". In the absence of consensus, I think it is valid and reasonable for users and application developers to split or not-split as they prefer. The guidance gives suggestions to developers of systems that consume route data of either type; it makes it seem that non-split roundabouts are harder to deal with in some circumstances. If the tool is creating overlapping roundabout segments, then that is a Problem. Do you have examples? |
Yes exactly, and as there is not only "one" way about how to proceed in this case your tool should be neutral and not prefer one or the other way. As it is now, your tool irritates beginners as they do not know the background. Regarding examples, there have been some changes made recently by "ManueleRa" which I fixed today and guided me to the discussion here. You can still see the corresponding error view of OSM inspector showing those issues at the roundabouts (blue markers), but they no longer exist in the database: More or less all segments of the split roundabouts were duplicated and one of these doubled items was a member of one or more bus routes. In one example one segment was assingned to one group of routes and the other segment assigned to an other group of routes. If I remember correctly this here was the corresponding example: |
Or, to put it another way, Relatify is following one of the correct methods. I think we're just going to disagree on this point - you're saying that because two valid method are available, Relatify should chose the low-detail method. I'm saying it's OK for it to chose the high-detail method.
Thanks for the examples - I hope the developers will be able to confirm the problem and fix it. |
Digging into this a bit, I've built a query for OSMCha that shows Relatify-made changesets which created new objects, made by Manuel Ra: There are 7 in total, so it should be easy to spot Relatify messing up. |
This roundabout has double segments: |
Looks like the two ways were created by two different Relatify sessions: The two changesets were closed about 3 minutes apart - is it possible that you had two Relatify sessions open at the same time, both of them thinking there was a single Roundabout object? E.g. e.g. you saved the second one, it didn't know that the first one had already split the roundabout? |
Shouldn't relatify implement an optimistic locking in that case and deny updating in case the versions of ways to split have changed, instead of |
For clarity I did not blame anyone for anything and I do not consider that anyone has done anything blameworthy. |
Yes, sorry, I neither wanted to blame you. |
It is possibile that i had open the two different directions at the same time... The same direction twice i think not... |
The roundabout duplication bug is known to me: #32. I am currently focusing on NG (https://github.com/Zaczero/openstreetmap-ng) development which one of the goals is to create API 0.7. The new API release will remove dependency on overpass and simplify big chunks of the synchronization code. I could fix it now, but that's not my priority and doing it after the NG will require less work in total. At the moment, I believe it's more feasible to wait for NG and then fix all the issues manually or automatically. You have my word that I will correct all the map issues which are the result of this bug. 🦀 |
The easiest solution for now is just waiting i.e. 3-5 minutes before next relation edit in relatify. New data need this time for propagation to Overpass server. |
This is a workaround but I sure need to fix it the right way 🙂! |
Hi,
A much discussed topic and in my opinion without a clear answer is whether due to a relationship (in our case a bus line) a roundabout needs to be split into several segments. Some say no, because for them the roundabout is a single element, not to be split. It would be nice if each user could decide how to manage roundabouts on their own lines.
What do you think?
The text was updated successfully, but these errors were encountered: