Modify

Opened 13 years ago

Closed 13 years ago

#5673 closed enhancement (fixed)

"oneway" arrows on ways should be painted in different style than way-direction arrows

Reported by: ivanatora@… 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 bastiK, 13 years ago

Summary: "oneway", arrows point in wrong direction"oneway" arrows on ways should be painted in different style than way-direction arrows

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.

comment:2 by bastiK, 13 years ago

Type: defectenhancement

comment:3 by ivanatora@…, 13 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 bastiK, 13 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.

comment:5 by bastiK, 13 years ago

Resolution: fixed
Status: newclosed

In [3889/josm]:

fixed #5673 - "oneway" arrows on ways should be painted in different style than way-direction arrows

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.