MapComplete/Docs/Layers/cafe_pub.md

36 KiB

cafe_pub

A layer showing cafés and pubs where one can gather around a drink. The layer asks for some relevant questions

  • This layer is shown at zoomlevel 12 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 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
level float 0 1 -1
name string
amenity Multiple choice pub bar cafe restaurant biergarten nightclub
opening_hours opening_hours
website url
email email
phone phone
wheelchair Multiple choice designated yes limited no
smoking Multiple choice yes no outside
service:electricity Multiple choice yes limited ask no
dog Multiple choice yes no leashed unleashed outside
internet_access Multiple choice wlan no terminal wired terminal;wlan
internet_access:fee Multiple choice yes no customers
internet_access:ssid string Telekom

Featureview elements and TagRenderings

id question labels freeform key
images
(Original in questions)
{image_carousel()}{image_upload()} Multiple choice only
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)
Name What is the name of this business?
This business is named {name}
name (string)
Classification What kind of cafe is this?
6 options
Multiple choice only
opening_hours
(Original in questions)
What are the opening hours of ?

Opening hours

{opening_hours_table(opening_hours)}

1 options
opening_hours (opening_hours)
website
(Original in questions)
What is the website of ?
{website}
1 options
contact website (url)
email
(Original in questions)
What is the email address of ?
{email}
2 options
contact email (email)
phone
(Original in questions)
What is the phone number of ?
{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)}
1 options
contact phone (phone)
payment-options
(Original in questions)
Which methods of payment are accepted here?
3 options
Multiple choice only
wheelchair-access
(Original in questions)
Is this place accessible with a wheelchair?
4 options
Multiple choice only
smoking
(Original in questions)
Is smoking allowed at ?
3 options
Multiple choice only
service:electricity
(Original in questions)
Does this amenity have electrical outlets, available to customers when they are inside?
4 options
Multiple choice only
seating
(Original in questions)
What kind of seating does have?
2 options
Multiple choice only
dog-access
(Original in questions)
Are dogs allowed in this business?
5 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)
reviews
(Original in questions)
{create_review()}{list_reviews()} Multiple choice only
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()}

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

Name

The question is What is the name of this business? This business is named {name} is shown if name is set

Classification

The question is What kind of cafe is this?

  • A pub, mostly for drinking beers in a warm, relaxed interior is shown if with amenity=pub
  • A more modern and commercial bar, possibly with a music and light installation is shown if with amenity=bar
  • A cafe to drink tea, coffee or an alcoholical bevarage in a quiet environment is shown if with amenity=cafe
  • A restaurant where one can get a proper meal is shown if with amenity=restaurant
  • An open space where beer is served, typically seen in Germany is shown if with amenity=biergarten
  • This is a nightclub or disco with a focus on dancing, music by a DJ with accompanying light show and a bar to get (alcoholic) drinks is shown if with amenity=nightclub

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

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

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

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

payment-options

The question is Which methods of payment are accepted here?

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

smoking

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

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

seating

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

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

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

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

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

Filters

id question osmTags
open_now.0 Now open _isOpen=yes
id question osmTags
accepts_cash.0 Accepts cash payment:cash=yes
id question osmTags
accepts_cards.0 Accepts payment cards payment:cards=yes
id question osmTags
has_internet.0 Offers internet internet_access=wlan
id question osmTags
has_electricity.0 Offers electricity service:electricity=yes
id question osmTags
outdoor_seating.0 Has outdoor seating outdoor_seating=yes
id question osmTags
indoor_seating.0 Has indoor seating indoor_seating=yes
id question osmTags
dogs.0 No preference towards dogs (default)
dogs.1 Dogs allowed dog=unleashed
dogs.2 No dogs allowed dog=no

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