Opened 12 years ago
Last modified 4 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: |
Description
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 http://www.aaroads.com/california/images092/ca-092_freeway_entrance_eb_hayward.jpg 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.
http://www.openstreetmap.org/browse/relation/929422 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 by , 5 years ago
comment:2 by , 5 years ago
Keywords: | sort route relation added |
---|
comment:3 by , 4 years ago
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 by , 4 years ago
Keywords: | role added |
---|
Is this still a problem? Common alternative is
link
.