[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
# barrier
[object Object]
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: a preset snaps to this layer (presets[0])
- This layer will automatically load [cycleways_and_roads](./cycleways_and_roads.md) into the layout as it depends on it: a preset snaps to this layer (presets[1])
## Table of contents
1. [Themes using this layer](#themes-using-this-layer)
2. [Basic tags for this layer](#basic-tags-for-this-layer)
3. [Supported attributes](#supported-attributes)
- [just_created](#just_created)
- [nothing_known](#nothing_known)
- [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)
- [minimap](#minimap)
- [nearby_images](#nearby_images)
- [delete-button](#delete-button)
- [lod](#lod)
- [favourite_status](#favourite_status)
- [share](#share)
- [qr_code](#qr_code)
- [last_edit](#last_edit)
- [all-tags](#all-tags)
## Themes using this layer
- [cycle_infra](https://mapcomplete.org/cycle_infra)
- [personal](https://mapcomplete.org/personal)
## 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 |
-----|-----|----- |
| ] [object Object] | Multiple choice | |
| ] [object Object] | Multiple choice | [object Object] [object Object] |
| ] [object Object] | Multiple choice | [object Object] [object Object] |
| ] [object Object] | Multiple choice | [object Object] [object Object] [object Object] [object Object] [object Object] |
| ] [object Object] | Multiple choice | [object Object] [object Object] [object Object] [object Object] |
| ] [object Object] | [distance](../SpecialInputElements.md#distance) | |
| ] [object Object] | [distance](../SpecialInputElements.md#distance) | |
| ] [object Object] | [distance](../SpecialInputElements.md#distance) | |
| ] [object Object] | [distance](../SpecialInputElements.md#distance) | |
### just_created
This element shows a 'thank you' that the contributor has recently created this element
_This tagrendering has no question and is thus read-only_
- *You just created this element! Thanks for sharing this info with the world and helping people worldwide.* corresponds with id~.+
This tagrendering is only visible in the popup if the following condition is met: _last_edit:passed_time<300 & (_version_number= | _version_number=1) & _backend~.+
This tagrendering has labels
`added_by_default_top`
### nothing_known
_This tagrendering has no question and is thus read-only_
This tagrendering is only visible in the popup if the following condition is met: _last_edit:passed_time>=300 & _backend~.+
This tagrendering has labels
`added_by_default_top`
### images
This block shows the known images which are linked with the `image`-keys, but also via `mapillary` and `wikidata` and shows the button to upload new images
_This tagrendering has no question and is thus read-only_
### bicycle=yes/no
The question is `Can a bicycle go past this barrier?`
- *A cyclist can go past this.* corresponds with bicycle=yes
- *A cyclist can not go past this.* corresponds with bicycle=no
This tagrendering is only visible in the popup if the following condition is met: _referencing_ways~.+
### barrier_type
_This tagrendering has no question and is thus read-only_
- *This is a single bollard in the road* corresponds with barrier=bollard
- *This is a cycle barrier slowing down cyclists* corresponds with barrier=cycle_barrier
### Bollard type
The question is `What kind of bollard is this?`
- *Removable bollard* corresponds with bollard=removable
- *Fixed bollard* corresponds with bollard=fixed
- *Bollard that can be folded down* corresponds with bollard=foldable
- *Flexible bollard, usually plastic* corresponds with bollard=flexible
- *Rising bollard* corresponds with bollard=rising
This tagrendering is only visible in the popup if the following condition is met: barrier=bollard
### Cycle barrier type
The question is `What kind of cycling barrier is this?`
- *Single, just two barriers with a space inbetween* corresponds with cycle_barrier=single
- *Double, two barriers behind each other* corresponds with cycle_barrier=double
- *Triple, three barriers behind each other* corresponds with cycle_barrier=triple
- *Squeeze gate, gap is smaller at top, than at the bottom* corresponds with cycle_barrier=squeeze
This tagrendering is only visible in the popup if the following condition is met: barrier=cycle_barrier
### MaxWidth
The question is `How wide is the gap left over besides the barrier?`
This rendering asks information about the property
[maxwidth:physical](https://wiki.openstreetmap.org/wiki/Key:maxwidth:physical)
This is rendered with `Maximum width: {maxwidth:physical} m`
This tagrendering is only visible in the popup if the following condition is met: _referencing_ways~.+ & cycle_barrier!=double & cycle_barrier!=triple
### Space between barrier (cyclebarrier)
The question is `How much space is there between the barriers (along the length of the road)?`
This rendering asks information about the property
[width:separation](https://wiki.openstreetmap.org/wiki/Key:width:separation)
This is rendered with `Space between barriers (along the length of the road): {width:separation} m`
This tagrendering is only visible in the popup if the following condition is met: cycle_barrier=double | cycle_barrier=triple
### Width of opening (cyclebarrier)
The question is `How wide is the smallest opening next to the barriers?`
This rendering asks information about the property
[width:opening](https://wiki.openstreetmap.org/wiki/Key:width:opening)
This is rendered with `Width of opening: {width:opening} m`
This tagrendering is only visible in the popup if the following condition is met: cycle_barrier=double | cycle_barrier=triple
### Overlap (cyclebarrier)
The question is `How much overlap do the barriers have?`
This rendering asks information about the property
[overlap](https://wiki.openstreetmap.org/wiki/Key:overlap)
This is rendered with `Overlap: {overlap} m`
This tagrendering is only visible in the popup if the following condition is met: cycle_barrier=double | cycle_barrier=triple
### leftover-questions
_This tagrendering has no question and is thus read-only_
### minimap
Shows a small map with the feature. Added by default to every popup
_This tagrendering has no question and is thus read-only_
### nearby_images
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default_conditional`
### delete-button
_This tagrendering has no question and is thus read-only_
### lod
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### favourite_status
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### share
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### qr_code
_This tagrendering has no question and is thus read-only_
This tagrendering has labels
`added_by_default`
### last_edit
Gives some metainfo about the last edit and who did edit it - rendering only
_This tagrendering has no question and is thus read-only_
This tagrendering is only visible in the popup if the following condition is met: _last_edit:changeset~.+ & _last_edit:contributor~.+
This tagrendering has labels
`added_by_default`
### all-tags
_This tagrendering has no question and is thus read-only_
This document is autogenerated from [assets/layers/barrier/barrier.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/barrier/barrier.json)