MapComplete/Docs/Layers/bench.md

35 KiB

bench

A bench is a wooden, metal, stone, … surface where a human can sit. This layers visualises them and asks a few questions about them.

  • This layer is shown at zoomlevel 14 and higher

Table of contents

  1. Themes using this layer
  2. Presets
  3. Basic tags for this layer
  4. Supported attributes
  5. Featureview elements and TagRenderings
  1. Filters

Themes using this layer

Presets

The following options to create new points are included:

Basic tags for this layer

Elements must match the expression amenity=bench

Execute on overpass

Supported attributes

Warning:: this quick overview is incomplete

attribute type values which are supported by this layer
backrest Multiple choice backrest=yes backrest=yes backrest=no
armrest Multiple choice armrest=yes armrest=no
seats nat
material string material=wood material=metal material=stone material=concrete material=plastic material=steel
direction direction
colour color colour=brown colour=green colour=gray colour=white colour=red colour=black colour=blue colour=yellow
survey:date date survey:date
inscription text
historic Multiple choice historic=memorial historic
artwork_type string artwork_type=architecture artwork_type=mural artwork_type=painting artwork_type=sculpture artwork_type=statue artwork_type=bust artwork_type=stone artwork_type=installation artwork_type=graffiti artwork_type=relief artwork_type=azulejo artwork_type=tilework artwork_type=woodcarving artwork_type=poem
artist:wikidata wikidata
artist_name string
website url
subject:wikidata wikidata
wikidata wikidata
subject:wikidata wikidata

Featureview elements and TagRenderings

id question labels freeform key
images
(Original in questions)
{image_carousel()}{image_upload()} Multiple choice only
bench-backrest Does this bench have a backrest?
3 options
bench-questions Multiple choice only
bench-armrest Does this bench have one or more armrests?
2 options
bench-questions Multiple choice only
bench-seats How many seats does this bench have?
This bench has {seats} seats
1 options
bench-questions seats (nat)
bench-material What is the bench (seating) made from?
Material: {material}
6 options
bench-questions material (string)
bench-direction In which direction are you looking when sitting on the bench?
When sitting on the bench, one looks towards {direction}°.
bench-questions direction (direction)
bench-colour Which colour does this bench have?
Colour: {colour}
8 options
bench-questions colour (color)
bench-survey:date When was this bench last surveyed?
This bench was last surveyed on {survey:date}
1 options
bench-questions survey:date (date)
bench-inscription Does this bench have an inscription?
This bench has the following inscription:

{inscription}


2 options
bench-questions inscription (text)
bench-artwork Does this bench have an artistic element?
3 options
Multiple choice only
bench-memorial Does this bench act as memorial for someone or something?
2 options
bench-questions Multiple choice only
artwork-artwork_type
(Original in artwork)
What is the type of this artwork?
This is a {artwork_type}
14 options
artwork-question artwork_type (string)
artwork-artist-wikidata
(Original in artwork)
Who made this artwork?
This artwork was made by {wikidata_label(artist:wikidata):font-weight:bold}
{wikipedia(artist:wikidata)}
artwork-question artist:wikidata (wikidata)
artwork-artist_name
(Original in artwork)
Which artist created this?
Created by {artist_name}
artwork-question artist_name (string)
artwork-website
(Original in artwork)
Is there a website with more information about this artwork?
{link(More information on this website,&LBRACEwebsite&RBRACE,,,,)}
artwork-question website (url)
artwork_subject
(Original in artwork)
What does this artwork depict?
This artwork depicts {wikidata_label(subject:wikidata)}{wikipedia(subject:wikidata)}
artwork-question subject:wikidata (wikidata)
memorial-wikidata
(Original in memorial)
What is the Wikipedia page about this memorial?

Wikipedia page about the memorial

{wikipedia(wikidata)}
memorial-specific, memorial-questions wikidata (wikidata)
subject-wikidata
(Original in memorial)
What is the Wikipedia page about the person or event that is remembered here?

Wikipedia page about the remembered event or person

{wikipedia(subject:wikidata)}
memorial-specific, memorial-questions subject:wikidata (wikidata)
leftover-questions {questions( ,hidden)} ignore-docs, added_by_default Multiple choice only
create_copy {create_copy()} Multiple choice only
move-button {move_button()} Multiple choice only
delete-button {delete_button()} Multiple choice only
spacer
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()}

bench-backrest

The question is Does this bench have a backrest?

  • This bench is two-sided and shares the backrest is shown if with backrest=yes & two_sided=yes
  • This bench does have a backrest is shown if with backrest=yes
  • This bench does not have a backrest is shown if with backrest=no

This tagrendering has labels bench-questions

bench-armrest

The question is Does this bench have one or more armrests?

  • This bench does have one or more armrests is shown if with armrest=yes
  • This bench does not have any armrests is shown if with armrest=no

This tagrendering has labels bench-questions

bench-seats

The question is How many seats does this bench have?

This bench has {seats} seats is shown if seats is set.

This tagrendering has labels bench-questions

bench-material

The question is What is the bench (seating) made from?

Material: {material} is shown if material is set.

This tagrendering has labels bench-questions

bench-direction

The question is In which direction are you looking when sitting on the bench?

When sitting on the bench, one looks towards {direction}°. is shown if direction is set.

This tagrendering has labels bench-questions

bench-colour

The question is Which colour does this bench have?

Colour: {colour} is shown if colour is set.

This tagrendering has labels bench-questions

bench-survey:date

The question is When was this bench last surveyed?

This bench was last surveyed on {survey:date} is shown if survey:date is set.

  • Surveyed today! is shown if with survey:date=

This tagrendering has labels bench-questions

bench-inscription

The question is Does this bench have an inscription?

This bench has the following inscription:

{inscription}

is shown if inscription is set.

  • This bench does not have an inscription is shown if with not:inscription=yes
  • This bench probably does not not have an inscription is shown if with inscription=. This option cannot be chosen as answer

This tagrendering has labels bench-questions

bench-artwork

The question is Does this bench have an artistic element?

  • This bench has an integrated artwork is shown if with tourism=artwork
  • This bench does not have an integrated artwork is shown if with not:tourism:artwork=yes
  • This bench probably doesn't have an integrated artwork is shown if with tourism=. This option cannot be chosen as answer

bench-memorial

The question is Does this bench act as memorial for someone or something?

  • This bench is a memorial for someone or something is shown if with historic=memorial
  • This bench is a not a memorial for someone or something is shown if with historic= & not:historic=memorial

This tagrendering is only visible in the popup if the following condition is met: historic=memorial | memorial=bench | tourism=artwork | inscription~.+ This tagrendering has labels bench-questions

artwork-artwork_type

The question is What is the type of this artwork?

This is a {artwork_type} is shown if artwork_type is set.

This tagrendering is only visible in the popup if the following condition is met: tourism=artwork This tagrendering has labels artwork-question

artwork-artist-wikidata

The question is Who made this artwork?

This artwork was made by {wikidata_label(artist:wikidata):font-weight:bold}
{wikipedia(artist:wikidata)}
is shown if artist:wikidata is set.

This tagrendering is only visible in the popup if the following condition is met: tourism=artwork This tagrendering has labels artwork-question

artwork-artist_name

The question is Which artist created this?

Created by {artist_name} is shown if artist_name is set.

This tagrendering is only visible in the popup if the following condition is met: tourism=artwork This tagrendering has labels artwork-question

artwork-website

The question is Is there a website with more information about this artwork?

{link(More information on this website,&LBRACEwebsite&RBRACE,,,,)} is shown if website is set.

This tagrendering is only visible in the popup if the following condition is met: tourism=artwork This tagrendering has labels artwork-question

artwork_subject

The question is What does this artwork depict?

This artwork depicts {wikidata_label(subject:wikidata)}{wikipedia(subject:wikidata)} is shown if subject:wikidata is set.

This tagrendering is only visible in the popup if the following condition is met: tourism=artwork This tagrendering has labels artwork-question

memorial-wikidata

The question is What is the Wikipedia page about this memorial?

Wikipedia page about the memorial

{wikipedia(wikidata)} is shown if wikidata is set.

This tagrendering is only visible in the popup if the following condition is met: historic=memorial This tagrendering has labels memorial-specific memorial-questions

subject-wikidata

The question is What is the Wikipedia page about the person or event that is remembered here?

Wikipedia page about the remembered event or person

{wikipedia(subject:wikidata)} is shown if subject:wikidata is set.

This tagrendering is only visible in the popup if the following condition is met: historic=memorial This tagrendering has labels memorial-specific memorial-questions

leftover-questions

This tagrendering has no question and is thus read-only

{questions( ,hidden)}

This tagrendering has labels ignore-docs added_by_default

create_copy

This tagrendering has no question and is thus read-only

{create_copy()}

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()}

spacer

This tagrendering has no question and is thus read-only

lod

This tagrendering has no question and is thus read-only

{linked_data_from_website()}

This tagrendering has labels added_by_default

Filters

id question osmTags
bench_is_memorial.0 is a memorial historic=memorial
id question osmTags
has_backrest.0 With and without backrest (default)
has_backrest.1 Has a backrest backrest=yes
has_backrest.2 Has no backrest backrest=no
id question osmTags
has_image.0 With and without images (default)
has_image.1 Has at least one image image~.+
has_image.2 Probably does not have an image (image!~.+

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