|barrier = gate|
|A section in a wall or fence which can be opened to allow access.|
|Rendering in openstreetmap-carto|
|Used on these elements|
|Tools for this tag|
How to map
On a node
This can be placed on a linear barrier, in the intersection node of a linear barrier and a highway way, or at a highway way node.
Avoid tagging highway intersections as that does not make clear which way has the impediment.
On a way
Based on the location below, the gate node should be the end of a way. A new way starts with the gate node and it should have the access set to private if the access is restricted.
O= node with barrier=gate
+++++way with access=private
There seems to be the key gate:type=* in use to specify more details for the gate type. Have a look at Taginfo until some definitions get agreed on and documented here. Most common values are currently:
- gate:type=swing - but see also barrier=swing_gate
Similar keys (only gate:type=* was documented here until 2020-03):
More info about gate at barrier=*.
|barrier=gate||40°26′45.74″ N, 3°47′40.56″ W|