-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Several broken things when editing a route relation that doubles back over a way #4589
Comments
When spitting a way which is a
At least for PTv2 routes, the members do also need to have in the correct order. |
Gotcha @slhh that makes sense.. So I guess there are 3 cases of what to do when splitting a relation member:
(1 and 2 might be the same thing actually) |
Need to fix:
|
(re #4589) Strongly prefer to generate a forward path that preserves the order of the members array. For multipolygons and most relations, member order does not matter - but for routes, it does. If we started this sequence backwards (i.e. next member way attaches to the start node and not the end node), reverse the initial way before continuing.
This was done 🎉 |
Reported to me over the weekend - it looks like we have an issue with splitting ways that belong to route relations. After they split, they don't all belong to the route relation.
This probably used to work and we changed it to work like this for Turn Restrictions.
(When splitting a way with a turn restriction, you only want one of the roads to keep the relation, but when splitting a road with other kind of relations, you want all of the surviving ways to belong to the relation).
The text was updated successfully, but these errors were encountered: