Barriers

From OpenStreetMap Wiki
Jump to: navigation, search
logo Feature page: Barriers
One example for Feature page: Barriers
Description
Used for describe various forms of barrier, including walls, fences and gate.
Tags

Physical barriers to all types of "beings" such as vehicles, humans or animals. Not only impediments to a given "way", but also to free movements such as a walk (not following a path) in the countryside. Note that there are two main types of barriers: Linear and Node. There is also an ITO Map layer to help track, and validate, barrier tags in OpenStreetMap.

Contents

How to tag

Mf way.png Linear barriers

Barrier waysok.png City wall render eg1.png

sided barriers:

comments
When a linear barrier crosses a way they share a node. Always tag this node with the proper node barrier tag.
If it is just a "hole" with no limitations on the way then tag it as: barrier=entrance. e.g.:
· Two different ways coming to ends on each side are assumed to not form an entrance, so intersection node needs a tag.
· There is a "hole" in a linear barrier but no way is crossing then tag it the same way.
· The "hole" is big enough then make different linear barriers.

height=* can be used as attribute of linear barriers eg. barrier=wall height=3 ft or barrier=wall height=1 m

Mf node.png Node barriers

Node barriers are placed on ways, either highway or linear barriers.

barrier=* (free-form). see possible values to match spelling and avoid duplicating tags for same node barrier.

Possible render for types of node barriers:

Barrier nodesok.png

1 barrier=block
2 barrier=bollard
3 barrier=bus_trap
4 barrier=cattle_grid
5 barrier=drawbridge

6 barrier=*
7 barrier=gate
8 barrier=bump_gate
9 barrier=hampshire_gate
10 barrier=kissing_gate

11 barrier=lift_gate
12 barrier=portcullis
13 barrier=sally_port
14 barrier=spikes
15 barrier=stile

16 barrier=entrance
17 barrier=chain
18 barrier=turnstile
19 barrier=kent_carriage_gap


Usage notes for barrier nodes


Related tags

Depending on the point of view same thing can be barrier or traffic calming, so there can be overlapping tags.


barrier type tags discussion.

Examples

A bollard which allows bicycles and pedestrians:

barrier=bollard,bicycle=yes,foot=yes

A one-way exit

barrier=spikes,foot=yes,oneway=yes

An operator=* tag may be used to indicate who operates the barrier (e.g. who has keys to a locked gate)


See also

to-dos

  1. Make renderers support barrier=*
    • Osmarender supports: barrier=gate; barrier=lift_gate; barrier=cycle_barrier; barrier=bollard; barrier=fence; barrier=wall; barrier=retaining_wall; barrier=hedge
    • Mapnik supports: barrier=bollard; barrier=fence; barrier=gate; barrier=hedge; barrier=retaining_wall; barrier=wall
  2. Make editors support barrier=*
    • JOSM supports main barriers
  3. Make routing engines support barrier=* (already a WIP for Traveling Salesman)
  4. Add a photo for each type of gate
Personal tools
Namespaces
Variants
Actions
site
Toolbox