Opened 14 years ago
Closed 14 years ago
#5673 closed enhancement (fixed)
"oneway" arrows on ways should be painted in different style than way-direction arrows
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
Every road is displayed as a vector - it has two points and an arrow between them. If the road is one way, the arrow is pointing in its direction.
However sometimes I see arrows pointing left and when I select the road segment the arrows switch direction and they point right. If I deselect the segment the original direction of the arrow is restored.
What is the real direction of the way - the one that is when the road is selected or the one when the road is deselected? Is that behaviour a feature (why?) or a bug?
Attachments (0)
Change History (5)
comment:1 by , 14 years ago
Summary: | "oneway", arrows point in wrong direction → "oneway" arrows on ways should be painted in different style than way-direction arrows |
---|
comment:2 by , 14 years ago
Type: | defect → enhancement |
---|
comment:3 by , 14 years ago
Thank you for your response.
What "technical direction of the way is"? The direction the way nodes were placed in? I.e. arrow always pointing from first placed node to the second?
In that case the arrow I see when the way is deselected is the "traffic data" direction?
P.S. And another thing - I just tried to reverse the road direction here: "GET http://api.openstreetmap.org/api/0.6/map?bbox=25.637626599999997,42.363364,25.6590843,42.4109103". After that the "selected" direction changed and the "unselected" direction did not change. So the "selected" direcion is the "traffic data" direction and my previous thoughts on the issue were wrong?
comment:4 by , 14 years ago
your first interpretation is right. reverse way means to reverse the list of nodes, so the "technical direction" is reversed. You should notice, however, that oneway=yes is converted to oneway=-1 to account for this.
It's a feature: You will see arrows only for oneway roads and other directed features. If you select a way you always see the technical direction of the way. I'll convert this into an enhancement.