MapComplete/Docs/Layers/barrier.md

17 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: preset a bollard snaps to this layer (barrier.presets[0])
  • This layer will automatically load cycleways_and_roads 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
  2. Presets
  3. Basic tags for this layer
  4. Supported attributes
  5. Featureview elements and TagRenderings

Themes using this layer

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:

Execute on overpass

Supported attributes

Warning:: this quick overview is incomplete

attribute type values which are supported by this layer
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

Featureview elements and TagRenderings

id question labels freeform key
images
(Original in questions)
{image_carousel()}{image_upload()} Multiple choice only
bicycle=yes/no Can a bicycle go past this barrier?
2 options
Multiple choice only
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 How wide is the gap left over besides the barrier?
Maximum width: {maxwidth:physical} m
maxwidth:physical (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 (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 (distance)
Overlap (cyclebarrier) How much overlap do the barriers have?
Overlap: {overlap} m
overlap (distance)
leftover-questions {questions( ,hidden)} Multiple choice only
move-button {move_button()} Multiple choice only
delete-button {delete_button()} Multiple choice only
lod
(Original in questions)
{linked_data_from_website()} added_by_default Multiple choice only

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 {image_carousel()}{image_upload()}

bicycle=yes/no

The question is Can a bicycle go past this barrier?

  • A cyclist can go past this. is shown if with bicycle=yes
  • A cyclist can not go past this. is shown if 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: barrier=bollard

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: barrier=cycle_barrier

MaxWidth

The question is How wide is the gap left over besides the barrier? Maximum width: {maxwidth:physical} m is shown if maxwidth:physical is set

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)? Space between barriers (along the length of the road): {width:separation} m is shown if width:separation is set

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? Width of opening: {width:opening} m is shown if width:opening is set

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? Overlap: {overlap} m is shown if overlap is set

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 {questions( ,hidden)}

move-button

This tagrendering has no question and is thus read-only {move_button()}

delete-button

This tagrendering has no question and is thus read-only {delete_button()}

lod

This tagrendering has no question and is thus read-only {linked_data_from_website()}

This tagrendering has labels added_by_default

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