Tag:barrier=gate

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg barrier = gate
Gate-hindeloopen-westerdijk.jpg
Description
A section in a wall or fence which can be opened to allow access. Show/edit corresponding data item.
Rendering in OSM Carto
Barrier gate.svg
Group: barriers
Used on these elements
may be used on nodesmay be used on waysshould not be used on areasshould not be used on relations (except multipolygon relations)
Useful combination
See also
Status: approvedPage for proposal

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

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.

+------+------•××××+××××+


See also