[OSM-newbies] no_u_turn restrictions

Paul news at pointdee.co.uk
Mon Sep 7 21:53:38 BST 2009


I've been trying to add some no_u_turn restrictions and it would seem
that when adding these (in JOSM at least) that the direction of the
"via" way is taken into account and this is stopping me from being able
to fully map all the restrictions. Consider the following


A       B       C
--------+------->
        |
<-------+--------
D      E|       F
        |
        \/
        G
ABC is oneway in direction ABC
FED is oneway in direction FED
BE is twoway but is marked with direction BE

U turns are not allowed for FEBC nor are they allowed for ABED

In this situation setting a no_u_turn for from:AB, to:ED, via:BE is
valid but setting no_u_turn from:FE, to:BC, via:BE is marked as invalid
in JOSM (an * by the side of it in the relation editor) and Validator
flags this as "Error: The "to" way doesn't start or end at the "via" way

If I reverse the direction of BE then the error swaps to the other
restriction which is what leads me to believe the direction of the "via"
way is being taken into account

What is the normal solution to mapping this type of situation or is this
a limitation of some kind?

Cheers

Paul





More information about the newbies mailing list