[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
# barrier
Obstacles while cycling, such as bollards and cycle barriers
- This layer is shown at zoomlevel **17** and higher
- This layer will automatically load [cycleways_and_roads](./cycleways_and_roads.md) into the layout as it depends on it: preset `a bollard` snaps to this layer (barrier.presets[0])
- This layer will automatically load [cycleways_and_roads](./cycleways_and_roads.md) into the layout as it depends on it: preset `a cycle barrier` snaps to this layer (barrier.presets[1])
## Table of contents
1. [Themes using this layer](#themes-using-this-layer)
2. [Presets](#presets)
3. [Basic tags for this layer](#basic-tags-for-this-layer)
4. [Supported attributes](#supported-attributes)
5. [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
- [images](#images)
- [bicycle=yes/no](#bicycle=yesno)
- [barrier_type](#barrier_type)
- [Bollard type](#bollard-type)
- [Cycle barrier type](#cycle-barrier-type)
- [MaxWidth](#maxwidth)
- [Space between barrier (cyclebarrier)](#space-between-barrier-(cyclebarrier))
- [Width of opening (cyclebarrier)](#width-of-opening-(cyclebarrier))
- [Overlap (cyclebarrier)](#overlap-(cyclebarrier))
- [leftover-questions](#leftover-questions)
- [move-button](#move-button)
- [delete-button](#delete-button)
- [spacer](#spacer)
- [lod](#lod)
## Themes using this layer
- [cycle_infra](https://mapcomplete.org/cycle_infra)
- [personal](https://mapcomplete.org/personal)
## Presets
The following options to create new points are included:
- **a bollard** which has the following tags:barrier=bollard (snaps to layers `cycleways_and_roads`)
- **a cycle barrier** which has the following tags:barrier=cycle_barrier (snaps to layers `cycleways_and_roads`)
## Basic tags for this layer
Elements must match **any** of the following expressions:
- barrier=bollard
- barrier=cycle_barrier
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22barrier%22%3D%22bollard%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22barrier%22%3D%22cycle_barrier%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
## Supported attributes
**Warning:**: this quick overview is incomplete
| attribute | type | values which are supported by this layer |
-----|-----|----- |
|
[bicycle](https://wiki.openstreetmap.org/wiki/Key:bicycle) | Multiple choice | [bicycle=yes](https://wiki.openstreetmap.org/wiki/Tag:bicycle%3Dyes) [bicycle=no](https://wiki.openstreetmap.org/wiki/Tag:bicycle%3Dno) |
|
[barrier](https://wiki.openstreetmap.org/wiki/Key:barrier) | Multiple choice | [barrier=bollard](https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dbollard) [barrier=cycle_barrier](https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcycle_barrier) |
|
[bollard](https://wiki.openstreetmap.org/wiki/Key:bollard) | Multiple choice | [bollard=removable](https://wiki.openstreetmap.org/wiki/Tag:bollard%3Dremovable) [bollard=fixed](https://wiki.openstreetmap.org/wiki/Tag:bollard%3Dfixed) [bollard=foldable](https://wiki.openstreetmap.org/wiki/Tag:bollard%3Dfoldable) [bollard=flexible](https://wiki.openstreetmap.org/wiki/Tag:bollard%3Dflexible) [bollard=rising](https://wiki.openstreetmap.org/wiki/Tag:bollard%3Drising) |
|
[cycle_barrier](https://wiki.openstreetmap.org/wiki/Key:cycle_barrier) | Multiple choice | [cycle_barrier=single](https://wiki.openstreetmap.org/wiki/Tag:cycle_barrier%3Dsingle) [cycle_barrier=double](https://wiki.openstreetmap.org/wiki/Tag:cycle_barrier%3Ddouble) [cycle_barrier=triple](https://wiki.openstreetmap.org/wiki/Tag:cycle_barrier%3Dtriple) [cycle_barrier=squeeze](https://wiki.openstreetmap.org/wiki/Tag:cycle_barrier%3Dsqueeze) |
|
[maxwidth:physical](https://wiki.openstreetmap.org/wiki/Key:maxwidth:physical) | [distance](../SpecialInputElements.md#distance) | |
|
[width:separation](https://wiki.openstreetmap.org/wiki/Key:width:separation) | [distance](../SpecialInputElements.md#distance) | |
|
[width:opening](https://wiki.openstreetmap.org/wiki/Key:width:opening) | [distance](../SpecialInputElements.md#distance) | |
|
[overlap](https://wiki.openstreetmap.org/wiki/Key:overlap) | [distance](../SpecialInputElements.md#distance) | |
## Featureview elements and TagRenderings
| id | question | labels | freeform key |
-----|-----|-----|----- |
| [images](#images)
_(Original in [questions](./BuiltinQuestions.md#images))_ | _{image_carousel()}{image_upload()}_ | | _Multiple choice only_ |
| [bicycle=yes/no](#bicycle=yes/no) | Can a bicycle go past this barrier?
2 options | | _Multiple choice only_ |
| [barrier_type](#barrier_type) | 2 options | | _Multiple choice only_ |
| [Bollard type](#Bollard type) | What kind of bollard is this?
5 options | | _Multiple choice only_ |
| [Cycle barrier type](#Cycle barrier type) | What kind of cycling barrier is this?
4 options | | _Multiple choice only_ |
| [MaxWidth](#MaxWidth) | How wide is the gap left over besides the barrier?
_Maximum width: {maxwidth:physical} m_ | | *[maxwidth:physical](https://wiki.osm.org/wiki/Key:maxwidth:physical)* ([distance](../SpecialInputElements.md#distance)) |
| [Space between barrier (cyclebarrier)](#Space between barrier (cyclebarrier)) | How much space is there between the barriers (along the length of the road)?
_Space between barriers (along the length of the road): {width:separation} m_ | | *[width:separation](https://wiki.osm.org/wiki/Key:width:separation)* ([distance](../SpecialInputElements.md#distance)) |
| [Width of opening (cyclebarrier)](#Width of opening (cyclebarrier)) | How wide is the smallest opening next to the barriers?
_Width of opening: {width:opening} m_ | | *[width:opening](https://wiki.osm.org/wiki/Key:width:opening)* ([distance](../SpecialInputElements.md#distance)) |
| [Overlap (cyclebarrier)](#Overlap (cyclebarrier)) | How much overlap do the barriers have?
_Overlap: {overlap} m_ | | *[overlap](https://wiki.osm.org/wiki/Key:overlap)* ([distance](../SpecialInputElements.md#distance)) |
| [leftover-questions](#leftover-questions) | _{questions( ,hidden)}_ | ignore-docs, added_by_default | _Multiple choice only_ |
| [move-button](#move-button) | _{move_button()}_ | | _Multiple choice only_ |
| [delete-button](#delete-button) | _{delete_button()}_ | | _Multiple choice only_ |
| [spacer](#spacer) | _