Tag:restriction=no_exit

From OpenStreetMap Wiki
Jump to navigation Jump to search
restriction = no_exit
Description
Forbids the exit from a two-way street
Group: restrictions
Used on these elements
should not be used on nodesshould not be used on waysshould not be used on areasmay be used on relations
Requires
Useful combination
See also
Status: in use

Denotes whether one is able to exit a road from one side or not without the road being an actual one-way road (i.e. one can turn around in the street, only exiting it to one side is forbidden).

Rationale

A "no exit" sign is a rare sign. Functionally, it works like a "one-way" sign at the intersection only i.e. vehicles can enter a street from an intersection but not leave it through the same intersection. Unlike real one-way signs, though, vehicles are still able to turn around in the street and usually also enter it from the other side (when not also sign with a "no entry" sign). Depending on the country, they may look like a "no entry" sign (see page image for the Vienna Convention standard). restriction=no_exit is an easy and straightforward way to set up no-entry restrictions on OSM without resorting to various hacks (see #Alternatives below). In some cases, the "no exit" sign is pointing

Usage

Create a turn relation and select the way way you can't exit the road from with Role from, the way ways you can't enter with Role to and the node node at the intersection with Role via. Unlike most other turn restriction, restriction=no_entry can take multiple Role to members. It still is limited to only one Role from member, though.

If the no entry doesn't apply to every mode of traffic, add it to except=* (e.g. except=bicycle). If this restriction applies to only certain traffic modes, add a suffix of the vehicular mode to restriction=* (e.g. restriction:hgv=* for heavy goods vehicles).

Optionally, add a traffic_sign=* to the relation.

Support

Support for restriction=no_exit isn't universal and there are varying states of support between each tool:

Routers:

  • All three routing engines on OSM (Grasshopper, OSRM, Valhalla) can evaluate no_exit with the correct behaviour
  • OSRM v6.0.0-rc.1 introduced support for multiple Role to and Role from members. [1]

Editors:

  • iD:
    • Doesn't provide a no_entry template (being treated as "other restriction" and requires the user to enter it manually)
    • Can't set a no_entry in the in-editor turn restriction support
    • Can read a no_entry in the in-editor turn restriction support.
  • JOSM:
    • Unable to select restriction=no_entry and restriction=no_exit in turn restriction template, requiring the user to manually enter it[1]
    • Throws (false positive) errors at multiple Role to members even though the documentation mentions that this is legal for no_entry.[2][3]
    • Doesn't display a "no entry" sign when it does for other turn restrictions.

Alternatives

Because of limited support compared to restriction=no_left_turn, only_right_turn, etc., overlap in usage and general disputes, there are alternatives to restriction=no_entry:

Using multiple turn restrictions:

  • Split a no_exit into multiple turn restrictions with the appropriate restriction type, each with only one Role to member.
  • Keep in mind that this is unwieldy to set up with amount of turn restrictions (easier prone to errors).

Using oneway=*:

  • Split a small portion of the road (around one metre or up to the next footway crossing) and tag it as oneway=yes and whichever exceptions apply. The intend is to minimise routing errors (in that the router forbids you to go backwards even though you legally can) for reasonable users as many as possible (this can be seen as a variation for tagging for the router).

Using vehicle + *:forward=*/*:backward=* tags:

  • Same limitation as oneway=* with no rendering support.

See also

  • restriction=no_entry - for the opposite scenario i.e. a road one can exit but not enter at that intersection.
  • oneway=* - Linear features that users can only go one direction in. Used in highways, zip lines, and other features

References