mapcomplete/Docs/Layers/barrier.md

14 KiB

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 into the layout as it depends on it: a preset snaps to this layer (presets[0])
  • This layer will automatically load cycleways_and_roads into the layout as it depends on it: a preset snaps to this layer (presets[1])

Themes using this layer

Basic tags for this layer

Elements must match any of the following expressions:

Execute on overpass

Supported attributes

Warning:

this quick overview is incomplete

attribute type values which are supported by this layer
id Multiple choice
bicycle Multiple choice yes no
barrier Multiple choice bollard cycle_barrier
bollard Multiple choice removable fixed foldable flexible rising
cycle_barrier Multiple choice single double triple squeeze
maxwidth:physical distance
width:separation distance
width:opening distance
overlap 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= | <a href='https://wiki.openstreetmap.org/wiki/Key:_version_number' target='_blank'>_version_number</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_version_number%3D1' target='_blank'>1</a>) & _backend~.+

This tagrendering has labels added_by_default

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

Bollard type

The question is What kind of bollard is this?

This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:barrier' target='_blank'>barrier</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dbollard' target='_blank'>bollard</a>

Cycle barrier type

The question is What kind of cycling barrier is this?

This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:barrier' target='_blank'>barrier</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dcycle_barrier' target='_blank'>cycle_barrier</a>

MaxWidth

The question is How wide is the gap left over besides the barrier?

This rendering asks information about the property 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

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: <a href='https://wiki.openstreetmap.org/wiki/Key:cycle_barrier' target='_blank'>cycle_barrier</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:cycle_barrier%3Ddouble' target='_blank'>double</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:cycle_barrier' target='_blank'>cycle_barrier</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:cycle_barrier%3Dtriple' target='_blank'>triple</a>

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

This is rendered with Width of opening: {width:opening} m

This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:cycle_barrier' target='_blank'>cycle_barrier</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:cycle_barrier%3Ddouble' target='_blank'>double</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:cycle_barrier' target='_blank'>cycle_barrier</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:cycle_barrier%3Dtriple' target='_blank'>triple</a>

Overlap (cyclebarrier)

The question is How much overlap do the barriers have?

This rendering asks information about the property overlap

This is rendered with Overlap: {overlap} m

This tagrendering is only visible in the popup if the following condition is met: <a href='https://wiki.openstreetmap.org/wiki/Key:cycle_barrier' target='_blank'>cycle_barrier</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:cycle_barrier%3Ddouble' target='_blank'>double</a> | <a href='https://wiki.openstreetmap.org/wiki/Key:cycle_barrier' target='_blank'>cycle_barrier</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:cycle_barrier%3Dtriple' target='_blank'>triple</a>

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

delete-button

This tagrendering has no question and is thus read-only

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

favourite_status

This tagrendering has no question and is thus read-only

qr_code

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

all-tags

This tagrendering has no question and is thus read-only

This document is autogenerated from assets/layers/barrier/barrier.json