|barrier = gate
|A section in a wall or fence which can be opened to allow access.
|Rendering in OSM Carto
|Used on these elements
|Tools for this tag
How to map
On a node
For general information on how to map barriers as nodes refer to:
On a way
Add a node on the intersection between any footways and the gate, also tagged with barrier=gate, much like how crossings are mapped. (This helps routers as many will just ignore the gate if there is no node)
Tags used in combination
- access=* - access=yes, access=private, etc.
- foot=yes, bicycle=yes, etc.
Also remember to add the access (e.g. access=private) to the path or road beyond the gate. Add access=yes and access:conditional if the access level changes under circumstances like snow, ice, or flooding.
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