Tag:barrier=gate
barrier = gate |
Description |
---|
A section in a wall or fence which can be opened to allow access. |
Rendering in OSM Carto |
Group: barriers |
Used on these elements |
Useful combination |
See also |
Status: approved |
Tools for this tag |
|
A gate is a section in a wall or fence which can be opened to allow or restrict access. They are usually made of wood or metal.
How to map
On a node
On a way barrier=wall/fence/etc. add a node with the tag barrier=gate at the gate's location.
For general information on how to map barriers as nodes refer to:
Key:barrier#How_to_map_barrier_nodes
On a way
Tag a way with barrier=gate on the real position and width of the gate, this should be connected to the fence at either side of the 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
- amenity=ticket_validator
- height=*
- maxwidth=*
- 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.
Example
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.
x------x------O++++x++++x
x
= nodeO
= node with barrier=gate------
default way+++++
way with access=private
See also
- barrier=wicket_gate — a pedestrian door or gate (note that barrier=gate is typically used instead).
- barrier=lift_gate
- barrier=swing_gate
- barrier=sliding_gate
- barrier=kissing_gate
- barrier=entrance
- barrier=cattle_grid
- barrier=chain
- barrier=sally_port
- building=gatehouse
- gate:type=*