MapComplete/Docs/BuiltinQuestions.md

91 KiB

questions

Special library layer which does not need a '.questions'-prefix before being imported

  • This layer is shown at zoomlevel 0 and higher
  • Elements don't have a title set and cannot be toggled nor will they show up in the dashboard. If you import this layer in your theme, override title to make this toggleable.
  • Not visible in the layer selection by default. If you want to make this layer toggable, override name
  • Not rendered on the map by default. If you want to rendering this on the map, override mapRenderings

This is a special layer - data is not sourced from OpenStreetMap

Table of contents

  1. Supported attributes
  2. Featureview elements and TagRenderings

Supported attributes

Warning:: this quick overview is incomplete

attribute type values which are supported by this layer
wikidata wikidata
phone phone
contact:mastodon fediverse
contact:facebook url
email email
website url
wheelchair Multiple choice designated yes limited no
dog Multiple choice yes no leashed unleashed outside
description text
opening_hours opening_hours
opening_hours opening_hours 24/7
opening_hours opening_hours 24/7
opening_hours opening_hours ["by appointment"](https://wiki.openstreetmap.org/wiki/Tag:opening_hours%3D"by appointment")
service:electricity Multiple choice yes limited ask no
payment:coins:denominations Multiple choice [0.01 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.01 EUR) [0.02 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.02 EUR) [0.05 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.05 EUR) [0.10 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.10 EUR) [0.20 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.20 EUR) [0.50 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.50 EUR) [1 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D1 EUR) [2 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D2 EUR) [0.05 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.05 CHF) [0.10 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.10 CHF) [0.20 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.20 CHF) [0.50 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D0.50 CHF) [1 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D1 CHF) [2 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D2 CHF) [5 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:coins:denominations%3D5 CHF)
payment🎶denominations Multiple choice [5 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D5 EUR) [10 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D10 EUR) [20 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D20 EUR) [50 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D50 EUR) [100 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D100 EUR) [200 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D200 EUR) [500 EUR](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D500 EUR) [10 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D10 CHF) [20 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D20 CHF) [50 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D50 CHF) [100 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D100 CHF) [200 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D200 CHF) [1000 CHF](https://wiki.openstreetmap.org/wiki/Tag:payment:notes:denominations%3D1000 CHF)
level string 0 1 -1
level float 0 1 -1
smoking Multiple choice yes no outside
hearing_loop Multiple choice yes no
internet_access Multiple choice wlan no terminal wired terminal;wlan
internet_access:fee Multiple choice yes no customers
internet_access:ssid string Telekom
survey:date date
check_date date
diet:sugar_free Multiple choice only yes limited no
diet:lactose_free Multiple choice only yes limited no
diet:gluten_free Multiple choice only yes limited no
diet:vegan Multiple choice only yes limited no
seasonal Multiple choice no summer spring;summer;autumn
shower Multiple choice hot cold yes no
brand string
indoor Multiple choice yes no
maxstay pfloat unlimited
name string
toilets Multiple choice yes no separate

Featureview elements and TagRenderings

id question labels freeform key
questions
(Original in questions)
{questions()} Multiple choice only
images
(Original in questions)
{image_carousel()}{image_upload()} Multiple choice only
images_no_blur
(Original in questions)
{image_carousel()}{image_upload(,,,true)} Multiple choice only
mapillary
(Original in questions)
{mapillary_link()} Multiple choice only
export_as_gpx
(Original in questions)
{export_as_gpx()} Multiple choice only
export_as_geojson
(Original in questions)
{export_as_geojson()} Multiple choice only
wikipedia
(Original in questions)
What is the corresponding Wikidata entity?
{wikipedia():max-height:25rem}
2 options
wikidata (wikidata)
reviews
(Original in questions)
{create_review()}{list_reviews()} Multiple choice only
phone
(Original in questions)
What is the phone number of ?
{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)}
1 options
contact phone (phone)
mastodon
(Original in questions)
What is the Mastodon-handle of ?
{fediverse_link(contact:mastodon)}
contact:mastodon (fediverse)
facebook
(Original in questions)
What is the facebook page of of ?
{link(Facebook page,&LBRACEcontact:facebook&RBRACE,,,,)}
Facebook is known to harm mental health, manipulate public opinion and cause hate. Try to use healthier alternatives
contact:facebook (url)
osmlink
(Original in questions)
_<a href='https://openstreetmap.org/{id}' target='blank' rel='noopener'F>
1 options
Multiple choice only
email
(Original in questions)
What is the email address of ?
{email}
2 options
contact email (email)
website
(Original in questions)
What is the website of ?
{website}
1 options
contact website (url)
wheelchair-access
(Original in questions)
Is this place accessible with a wheelchair?
4 options
Multiple choice only
dog-access
(Original in questions)
Are dogs allowed in this business?
5 options
Multiple choice only
description
(Original in questions)
Is there still some relevant info that the previous questions did not cover? Feel free to add it here.
{description}
description (text)
opening_hours
(Original in questions)
What are the opening hours of ?

Opening hours

{opening_hours_table(opening_hours)}

1 options
opening_hours (opening_hours)
opening_hours_24_7
(Original in questions)
What are the opening hours of ?

Opening hours

{opening_hours_table(opening_hours)}

2 options
opening_hours (opening_hours)
opening_hours_24_7_default
(Original in questions)
What are the opening hours of ?

Opening hours

{opening_hours_table(opening_hours)}

2 options
opening_hours (opening_hours)
opening_hours_by_appointment
(Original in questions)
What are the opening hours of ?

Opening hours

{opening_hours_table(opening_hours)}

3 options
opening_hours (opening_hours)
service:electricity
(Original in questions)
Does this amenity have electrical outlets, available to customers when they are inside?
4 options
Multiple choice only
payment-options
(Original in questions)
Which methods of payment are accepted here?
3 options
Multiple choice only
payment-options-split
(Original in questions)
Which methods of payment are accepted here?
7 options
Multiple choice only
payment-options-advanced
(Original in questions)
Which methods of payment are accepted here?
5 options
Multiple choice only
denominations-coins
(Original in questions)
What coins can you use to pay here?
15 options
Multiple choice only
denominations-notes
(Original in questions)
what notes can you use to pay here?
13 options
Multiple choice only
all_tags
(Original in questions)
{all_tags()} Multiple choice only
multilevels
(Original in questions)
What levels does this elevator go to?
This elevator goes to floors {level}
5 options
level (string)
repeated
(Original in questions)
Multiple, identical objects can be found on floors {repeat_on}. level Multiple choice only
single_level
(Original in questions)
On what level is this feature located?
Located on the {level}th floor
5 options
level level (float)
smoking
(Original in questions)
Is smoking allowed at ?
3 options
Multiple choice only
induction-loop
(Original in questions)
Does this place have an audio induction loop for people with reduced hearing?
2 options
Multiple choice only
internet
(Original in questions)
Does this place offer internet access?
6 options
internet-all Multiple choice only
internet-fee
(Original in questions)
Is there a fee for internet access?
3 options
internet-all Multiple choice only
internet-ssid
(Original in questions)
What is the network name for the wireless internet access?
The network name is {internet_access:ssid}
1 options
internet-all internet_access:ssid (string)
luminous_or_lit
(Original in questions)
Is this object lit or does it emit light?
4 options
Multiple choice only
survey_date
(Original in questions)
When was this object last surveyed?
This object was last surveyed on {survey:date}
1 options
survey:date (date)
check_date
(Original in questions)
When was this object last checked?
This object was last checked on {check_date}
1 options
check_date (date)
sugar_free
(Original in questions)
Does this shop have a sugar free offering?
4 options
diets Multiple choice only
lactose_free
(Original in questions)
Does have a lactose-free offering?
4 options
diets Multiple choice only
gluten_free
(Original in questions)
Does this shop have a gluten free offering?
4 options
diets Multiple choice only
vegan
(Original in questions)
Does this place offer a vegan option?
4 options
diets Multiple choice only
lod
(Original in questions)
{linked_data_from_website()} added_by_default Multiple choice only
split_button
(Original in questions)
{split_button()} Multiple choice only
seasonal
(Original in questions)
Is available all around the year?
3 options
Multiple choice only
shower
(Original in questions)
Does this facility offer showers?
4 options
Multiple choice only
preset_description
(Original in questions)
{preset_description()} Multiple choice only
brand
(Original in questions)
Is part of a bigger brand?
Part of {brand}
1 options
brand (string)
indoor
(Original in questions)
Is this object located indoors?
2 options
Multiple choice only
seating
(Original in questions)
What kind of seating does have?
2 options
Multiple choice only
maxstay
(Original in questions)
What is the maximum amount of time one is allowed to stay here?
One can stay at most {canonical(maxstay)}
1 options
maxstay (pfloat)
name
(Original in questions)
What is the name of this place?
{name}
name (string)
has_toilets
(Original in questions)
Has toilets?
3 options
Multiple choice only

questions

Show the questions block at this location This tagrendering has no question and is thus read-only {questions()}

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

images_no_blur

Same as images, but uploaded request to disable blurring to the panoramax server This tagrendering has no question and is thus read-only {image_carousel()}{image_upload(,,,true)}

mapillary

Shows a button to open Mapillary on this location This tagrendering has no question and is thus read-only {mapillary_link()}

export_as_gpx

Shows a button to export this feature as GPX. Especially useful for route relations This tagrendering has no question and is thus read-only {export_as_gpx()}

export_as_geojson

Shows a button to export this feature as geojson. Especially useful for debugging or using this in other programs This tagrendering has no question and is thus read-only {export_as_geojson()}

wikipedia

Shows a wikipedia box with the corresponding wikipedia article; the wikidata-item link can be changed by a contributor The question is What is the corresponding Wikidata entity? {wikipedia():max-height:25rem} is shown if wikidata is set

  • {wikipedia():max-height:25rem} is shown if with wikipedia~.+. This option cannot be chosen as answer
  • No Wikipedia page has been linked yet is shown if with wikidata=. This option cannot be chosen as answer

reviews

Shows the reviews module (including the possibility to leave a review) This tagrendering has no question and is thus read-only {create_review()}{list_reviews()}

phone

The question is What is the phone number of {title()}? {link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)} is shown if phone is set

  • {link(&LBRACEcontact:phone&RBRACE,tel:&LBRACEcontact:phone&RBRACE,,,,)} is shown if with contact:phone~.+. This option cannot be chosen as answer

This tagrendering has labels contact

mastodon

Shows and asks for the mastodon handle The question is What is the Mastodon-handle of {title()}? {fediverse_link(contact:mastodon)} is shown if contact:mastodon is set

facebook

Shows and asks for the facebook handle The question is What is the facebook page of of {title()}? {link(Facebook page,&LBRACEcontact:facebook&RBRACE,,,,)}

Facebook is known to harm mental health, manipulate public opinion and cause hate. Try to use healthier alternatives
is shown if contact:facebook is set

This tagrendering has no question and is thus read-only <a href='https://openstreetmap.org/{id}' target='_blank' rel='noopener'F>

  • Uploading... is shown if with id~^(=-)$

email

The question is What is the email address of {title()}? {email} is shown if email is set

  • {contact:email} is shown if with contact:email~.+. This option cannot be chosen as answer
  • {operator:email} is shown if with operator:email~.+. This option cannot be chosen as answer

This tagrendering has labels contact

website

The question is What is the website of {title()}? {website} is shown if website is set

  • {contact:website} is shown if with contact:website~.+. This option cannot be chosen as answer

This tagrendering has labels contact

wheelchair-access

The question is Is this place accessible with a wheelchair?

  • This place is specially adapted for wheelchair users is shown if with wheelchair=designated
  • This place is easily reachable with a wheelchair is shown if with wheelchair=yes
  • It is possible to reach this place in a wheelchair, but it is not easy is shown if with wheelchair=limited
  • This place is not reachable with a wheelchair is shown if with wheelchair=no

dog-access

The question is Are dogs allowed in this business?

  • Dogs are allowed is shown if with dog=yes
  • Dogs are not allowed is shown if with dog=no
  • Dogs are allowed, but they have to be leashed is shown if with dog=leashed
  • Dogs are allowed and can run around freely is shown if with dog=unleashed
  • Dogs are allowed only outside is shown if with dog=outside

description

The question is Is there still some relevant info that the previous questions did not cover? Feel free to add it here. {description} is shown if description is set

opening_hours

The question is What are the opening hours of {title()}?

Opening hours

{opening_hours_table(opening_hours)} is shown if opening_hours is set

  • Marked as closed for an unspecified time is shown if with opening_hours=closed. This option cannot be chosen as answer

opening_hours_24_7

The question is What are the opening hours of {title()}?

Opening hours

{opening_hours_table(opening_hours)} is shown if opening_hours is set

  • 24/7 opened (including holidays) is shown if with opening_hours=24/7
  • Marked as closed for an unspecified time is shown if with opening_hours=closed. This option cannot be chosen as answer

opening_hours_24_7_default

The question is What are the opening hours of {title()}?

Opening hours

{opening_hours_table(opening_hours)} is shown if opening_hours is set

  • 24/7 opened (including holidays) is shown if with opening_hours=24/7
  • Marked as closed for an unspecified time is shown if with opening_hours=closed. This option cannot be chosen as answer

opening_hours_by_appointment

The question is What are the opening hours of {title()}?

Opening hours

{opening_hours_table(opening_hours)} is shown if opening_hours is set

  • Only by appointment is shown if with opening_hours="by appointment"
  • Only by appointment is shown if with opening_hours~^("by appointment"|by appointment)$. This option cannot be chosen as answer
  • Marked as closed for an unspecified time is shown if with opening_hours=closed. This option cannot be chosen as answer

service:electricity

The question is Does this amenity have electrical outlets, available to customers when they are inside?

  • There are plenty of domestic sockets available to customers seated indoors, where they can charge their electronics is shown if with service:electricity=yes
  • There are a few domestic sockets available to customers seated indoors, where they can charge their electronics is shown if with service:electricity=limited
  • There are no sockets available indoors to customers, but charging might be possible if the staff is asked is shown if with service:electricity=ask
  • There are a no domestic sockets available to customers seated indoors is shown if with service:electricity=no

payment-options

The question is Which methods of payment are accepted here?

payment-options-split

The question is Which methods of payment are accepted here?

payment-options-advanced

The question is Which methods of payment are accepted here?

denominations-coins

The question is What coins can you use to pay here?

This tagrendering is only visible in the popup if the following condition is met: (payment:cash=yes | payment:coins=yes) & (_currency~^(.EUR.) | _currency~^(.*CHF.*))

denominations-notes

The question is what notes can you use to pay here?

This tagrendering is only visible in the popup if the following condition is met: (payment:cash=yes | payment:notes=yes) & (_currency~^(.EUR.) | _currency~^(.*CHF.*))

all_tags

Shows a table with all the tags of the feature This tagrendering has no question and is thus read-only {all_tags()}

multilevels

The question is What levels does this elevator go to? This elevator goes to floors {level} is shown if level is set

  • Located underground is shown if with location=underground. This option cannot be chosen as answer
  • Located on the ground floor is shown if with level=0
  • Located on the ground floor is shown if with level=. This option cannot be chosen as answer
  • Located on the first floor is shown if with level=1
  • Located on the first basement level is shown if with level=-1

repeated

This tagrendering has no question and is thus read-only Multiple, identical objects can be found on floors {repeat_on}.

This tagrendering is only visible in the popup if the following condition is met: repeat_on~.+ This tagrendering has labels level

single_level

The question is On what level is this feature located? Located on the {level}th floor is shown if level is set

  • Located underground is shown if with location=underground. This option cannot be chosen as answer
  • Located on the ground floor is shown if with level=0
  • Located on the ground floor is shown if with level=. This option cannot be chosen as answer
  • Located on the first floor is shown if with level=1
  • Located on the first basement level is shown if with level=-1

This tagrendering has labels level

smoking

The question is Is smoking allowed at {title()}?

induction-loop

An accessibility feature: induction loops are for hard-hearing persons which have an FM-receiver. The question is Does this place have an audio induction loop for people with reduced hearing?

  • This place has an audio induction loop is shown if with hearing_loop=yes
  • This place does not have an audio induction loop is shown if with hearing_loop=no

internet

The question is Does this place offer internet access?

This tagrendering has labels internet-all

internet-fee

The question is Is there a fee for internet access?

This tagrendering is only visible in the popup if the following condition is met: internet_access!=no & internet_access~.+ This tagrendering has labels internet-all

internet-ssid

The question is What is the network name for the wireless internet access? The network name is {internet_access:ssid} is shown if internet_access:ssid is set

This tagrendering is only visible in the popup if the following condition is met: internet_access~^(.wlan.)$ This tagrendering has labels internet-all

luminous_or_lit

The question is Is this object lit or does it emit light?

  • This object both emits light and is lighted by an external light source is shown if with lit=yes & luminous=yes
  • This object emits light is shown if with luminous=yes
  • This object is lit externally, e.g. by a spotlight or other lights is shown if with lit=yes
  • This object does not emit light and is not lighted by externally is shown if with lit=no & luminous=no

survey_date

The question is When was this object last surveyed? This object was last surveyed on {survey:date} is shown if survey:date is set

  • This object was last surveyed today is shown if with survey:date=

check_date

The question is When was this object last checked? This object was last checked on {check_date} is shown if check_date is set

  • This object was last checked today is shown if with check_date=

sugar_free

The question is Does this shop have a sugar free offering?

This tagrendering has labels diets

lactose_free

The question is Does {title()} have a lactose-free offering?

This tagrendering has labels diets

gluten_free

The question is Does this shop have a gluten free offering?

This tagrendering has labels diets

vegan

The question is Does this place offer a vegan option?

This tagrendering has labels diets

lod

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

This tagrendering has labels added_by_default

split_button

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

seasonal

The question is Is {title()} available all around the year?

shower

The question is Does this facility offer showers?

  • This facility does have showers with warm water is shown if with shower=hot
  • This facility does have showers, but the water is not heated is shown if with shower=cold
  • This facility does have showers is shown if with shower=yes
  • This facility does not offer a shower is shown if with shower=no

preset_description

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

brand

The question is Is {title()} part of a bigger brand? Part of {brand} is shown if brand is set

  • Not part of a bigger brand is shown if with nobrand=yes

indoor

The question is Is this object located indoors?

  • This object is located indoors is shown if with indoor=yes
  • This object is located outdoors is shown if with indoor=no

seating

The question is What kind of seating does {title()} have?

maxstay

The question is What is the maximum amount of time one is allowed to stay here? One can stay at most {canonical(maxstay)} is shown if maxstay is set

  • There is no limit to the amount of time one can stay here is shown if with maxstay=unlimited

name

The question is What is the name of this place? {name} is shown if name is set

has_toilets

The question is Has {title()} toilets?

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