-
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
Line direction is reverted at merge #4872
Comments
Ah yeah, iD strongly prefers to generate a forward path.. The same code that joins ways also joins relation members. This comment is right before the part that does the reversal. iD/modules/osm/multipolygon.js Lines 131 to 135 in 00c4c57
I'm going to close here, since it doesn't really affect anything.. |
@bhousel It seems there is something wrong there. The direction matters for waterways and one-way highways. Waterways can be very wandering and you can easily lose track of what direction the current segment is supposed to have. It has already occurred to me to save such incorrect reverting, but I was lucky to notice the mistake later on. With one-way highways such mistakes are especially dangerous due to usage in navigation. |
Ok, I just tested this - the reversing doesn't actually affect oneway roads (the tag gets reversed to I'll see if this is something we can fix. The main issue is if those ways also belong to a relation that requires the members ordered in a forward direction. Maybe I can skip that reversal code in most cases. |
Ok, the tag secures the navigation. But is it really correct to revert the line direction and then fix it by means of the tag in this case? Let's take for example this one-way highway which is part of a route |
☝️ I did this - now iD won't reverse the ways when it doesn't need to.. |
Thanks, @bhousel ! |
When you merge two lines the direction is reverted but only if you select the last line first.
The text was updated successfully, but these errors were encountered: