Opened 11 years ago

Last modified 3 years ago

#8019 new defect

Sort relations by directional roles

Reported by: NE2 Owned by: team
Priority: major Milestone:
Component: Core Version:
Keywords: sort route relation role Cc:


Yep, this again. Apparently one of the routing engines uses the directional roles for relations to tell you what ramp you take (e.g. for you put role east on the SR 92 relation and it says merge into SR 92 east). But JOSM only sorts the forward and backward roles, so it's impossible to find and fix common errors (such as ways being the wrong way) with directional roles.

I suggest as a quick fix that forward:* and backward:* be treated the same as forward and backward. So you could use "forward:east" as the role and the routing engine would parse this. In the longer term, better support could be added that allows simply east, but this would require checking oneways and such to make sure it's all routable. is an example of a relation that uses directional roles. I give no guarantees that it's complete.

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by skyper

Is this still a problem? Common alternative is link.

comment:2 Changed 3 years ago by skyper

Keywords: sort route relation added

comment:3 Changed 3 years ago by skyper

Actually, these roles look much easier to handle than forward/backward as there is not mixture of roles within one branch.

Does north/south always mean that the way is used in way direction aka forward or does it only mean that the way is only used in one direction but it can mean forward or backward

comment:4 Changed 3 years ago by skyper

Keywords: role added

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to NE2
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.