Tag:barrier=gate

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages
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.
Used on these elements
may be used on nodes
may be used on ways
should not be used on areas
use on relations unspecified
Useful combination
Status: unspecified

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.

See also barrier=fence

How to Map

On a node

Simply add the tag barrier=gate to the node or way where the gate is.
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

Tag a way with barrier=gate on the real position and width of the gate.

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 = node
  • O = node with barrier=gate
  • ------ default way
  • +++++ way with access=private

More info about gate at barrier=*

Render

Tag Type Sample Location OsmaRender/t@h Mapnik
barrier=gate Node lat=40.446 lon=-3.79512 Barrier gate osmarender.png

See also

Related terms: <opening> <passage> <lock> <access> <exit> <door> <portal> <gate>