|Feature : Barriers|
|A barrier is a physical structure which blocks or impedes movement.|
A barrier is a physical structure which blocks or impedes movement. The barrier tag only covers on-the-ground barriers, it does not cover waterway barriers (dams, waterfalls...). See also Routing#Routing obstacles and other conditions requiring special consideration.
There are two main types: linear barriers and node barriers.
Tagging: draw a way along the barrier location.
These barriers are special because they don’t have the same height on each side. Examples:
Tagging: draw a way along the barrier location. The direction of the way is important, see natural=cliff for orientation.
If a linear barrier crosses a highway, they must connect with a node at intersection. Always tag this node with the appropriate node-barrier tag (usually an entrance or a gate), else routing engines don’t know if crossing is possible.
Tagging: place a node at the location of the barrier on an existing way (either a highway or a linear barrier). Do not place a node-barrier at the junction of two highways, else it will restrict the traffic on both highways.
Note that some barriers (bollards, gates...) may be either linear or node-barriers.
Each barrier has its own accessibility defaults. Use tag access=* to override them.
- access=* to override access restrictions.
- height=* to specify barrier height.
- operator=* to indicate who operates the barrier.