[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
# 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](#themes-using-this-layer)
2. [Presets](#presets)
3. [Basic tags for this layer](#basic-tags-for-this-layer)
4. [Supported attributes](#supported-attributes)
5. [Featureview elements and TagRenderings](#featureview-elements-and-tagrenderings)
- [Opening hours](#opening-hours)
- [images](#images)
- [repeated](#repeated)
- [single_level](#single_level)
- [Name](#name)
- [Classification](#classification)
- [opening_hours](#opening_hours)
- [Opening hours](#opening-hours)
- [website](#website)
- [email](#email)
- [phone](#phone)
- [payment-options](#payment-options)
- [wheelchair-access](#wheelchair-access)
- [smoking](#smoking)
- [service:electricity](#serviceelectricity)
- [seating](#seating)
- [dog-access](#dog-access)
- [internet](#internet)
- [internet-fee](#internet-fee)
- [internet-ssid](#internet-ssid)
- [reviews](#reviews)
- [leftover-questions](#leftover-questions)
- [move-button](#move-button)
- [delete-button](#delete-button)
- [lod](#lod)
6. [Filters](#filters)
## Themes using this layer
- [cafes_and_pubs](https://mapcomplete.org/cafes_and_pubs)
- [onwheels](https://mapcomplete.org/onwheels)
- [personal](https://mapcomplete.org/personal)
- [stations](https://mapcomplete.org/stations)
## Presets
The following options to create new points are included:
- **a pub** which has the following tags:amenity=pub
- **a bar** which has the following tags:amenity=bar
- **a cafe** which has the following tags:amenity=cafe
- **a nightclub or disco** which has the following tags:amenity=nightclub
## Basic tags for this layer
Elements must match **any** of the following expressions:
- amenity=bar
- amenity=pub
- amenity=cafe
- amenity=biergarten
- amenity=nightclub
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22amenity%22%3D%22bar%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22amenity%22%3D%22pub%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22amenity%22%3D%22cafe%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22amenity%22%3D%22biergarten%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B%22amenity%22%3D%22nightclub%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
## Supported attributes
**Warning:**: this quick overview is incomplete
| attribute | type | values which are supported by this layer |
-----|-----|----- |
|
[level](https://wiki.openstreetmap.org/wiki/Key:level) | [float](../SpecialInputElements.md#float) | [0](https://wiki.openstreetmap.org/wiki/Tag:level%3D0) [1](https://wiki.openstreetmap.org/wiki/Tag:level%3D1) [-1](https://wiki.openstreetmap.org/wiki/Tag:level%3D-1) |
|
[name](https://wiki.openstreetmap.org/wiki/Key:name) | [string](../SpecialInputElements.md#string) | |
|
[amenity](https://wiki.openstreetmap.org/wiki/Key:amenity) | Multiple choice | [pub](https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dpub) [bar](https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dbar) [cafe](https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcafe) [restaurant](https://wiki.openstreetmap.org/wiki/Tag:amenity%3Drestaurant) [biergarten](https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dbiergarten) [nightclub](https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dnightclub) |
|
[opening_hours](https://wiki.openstreetmap.org/wiki/Key:opening_hours) | [opening_hours](../SpecialInputElements.md#opening_hours) | |
|
[website](https://wiki.openstreetmap.org/wiki/Key:website) | [url](../SpecialInputElements.md#url) | |
|
[email](https://wiki.openstreetmap.org/wiki/Key:email) | [email](../SpecialInputElements.md#email) | |
|
[phone](https://wiki.openstreetmap.org/wiki/Key:phone) | [phone](../SpecialInputElements.md#phone) | |
|
[wheelchair](https://wiki.openstreetmap.org/wiki/Key:wheelchair) | Multiple choice | [designated](https://wiki.openstreetmap.org/wiki/Tag:wheelchair%3Ddesignated) [yes](https://wiki.openstreetmap.org/wiki/Tag:wheelchair%3Dyes) [limited](https://wiki.openstreetmap.org/wiki/Tag:wheelchair%3Dlimited) [no](https://wiki.openstreetmap.org/wiki/Tag:wheelchair%3Dno) |
|
[smoking](https://wiki.openstreetmap.org/wiki/Key:smoking) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:smoking%3Dyes) [no](https://wiki.openstreetmap.org/wiki/Tag:smoking%3Dno) [outside](https://wiki.openstreetmap.org/wiki/Tag:smoking%3Doutside) |
|
[service:electricity](https://wiki.openstreetmap.org/wiki/Key:service:electricity) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:service:electricity%3Dyes) [limited](https://wiki.openstreetmap.org/wiki/Tag:service:electricity%3Dlimited) [ask](https://wiki.openstreetmap.org/wiki/Tag:service:electricity%3Dask) [no](https://wiki.openstreetmap.org/wiki/Tag:service:electricity%3Dno) |
|
[dog](https://wiki.openstreetmap.org/wiki/Key:dog) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:dog%3Dyes) [no](https://wiki.openstreetmap.org/wiki/Tag:dog%3Dno) [leashed](https://wiki.openstreetmap.org/wiki/Tag:dog%3Dleashed) [unleashed](https://wiki.openstreetmap.org/wiki/Tag:dog%3Dunleashed) [outside](https://wiki.openstreetmap.org/wiki/Tag:dog%3Doutside) |
|
[internet_access](https://wiki.openstreetmap.org/wiki/Key:internet_access) | Multiple choice | [wlan](https://wiki.openstreetmap.org/wiki/Tag:internet_access%3Dwlan) [no](https://wiki.openstreetmap.org/wiki/Tag:internet_access%3Dno) [terminal](https://wiki.openstreetmap.org/wiki/Tag:internet_access%3Dterminal) [wired](https://wiki.openstreetmap.org/wiki/Tag:internet_access%3Dwired) [terminal;wlan](https://wiki.openstreetmap.org/wiki/Tag:internet_access%3Dterminal;wlan) |
|
[internet_access:fee](https://wiki.openstreetmap.org/wiki/Key:internet_access:fee) | Multiple choice | [yes](https://wiki.openstreetmap.org/wiki/Tag:internet_access:fee%3Dyes) [no](https://wiki.openstreetmap.org/wiki/Tag:internet_access:fee%3Dno) [customers](https://wiki.openstreetmap.org/wiki/Tag:internet_access:fee%3Dcustomers) |
|
[internet_access:ssid](https://wiki.openstreetmap.org/wiki/Key:internet_access:ssid) | [string](../SpecialInputElements.md#string) | [Telekom](https://wiki.openstreetmap.org/wiki/Tag:internet_access:ssid%3DTelekom) |
## Featureview elements and TagRenderings
| id | question | labels | freeform key |
-----|-----|-----|----- |
| [images](#images)
_(Original in [questions](./BuiltinQuestions.md#images))_ | _{image_carousel()}{image_upload()}_ | | _Multiple choice only_ |
| [repeated](#repeated)
_(Original in [questions](./BuiltinQuestions.md#repeated))_ | _Multiple, identical objects can be found on floors {repeat_on}._ | level | _Multiple choice only_ |
| [single_level](#single_level)
_(Original in [questions](./BuiltinQuestions.md#single_level))_ | On what level is this feature located?
_Located on the {level}th floor_
5 options | level | *[level](https://wiki.osm.org/wiki/Key:level)* ([float](../SpecialInputElements.md#float)) |
| [Name](#Name) | What is the name of this business?
_This business is named {name}_ | | *[name](https://wiki.osm.org/wiki/Key:name)* ([string](../SpecialInputElements.md#string)) |
| [Classification](#Classification) | What kind of cafe is this?
6 options | | _Multiple choice only_ |
| [opening_hours](#opening_hours)
_(Original in [questions](./BuiltinQuestions.md#opening_hours))_ | What are the opening hours of ?
_
Opening hours
{opening_hours_table(opening_hours)}_
1 options | | *[opening_hours](https://wiki.osm.org/wiki/Key:opening_hours)* ([opening_hours](../SpecialInputElements.md#opening_hours)) |
| [website](#website)
_(Original in [questions](./BuiltinQuestions.md#website))_ | What is the website of ?
_{website}_
1 options | contact | *[website](https://wiki.osm.org/wiki/Key:website)* ([url](../SpecialInputElements.md#url)) |
| [email](#email)
_(Original in [questions](./BuiltinQuestions.md#email))_ | What is the email address of ?
_{email}_
2 options | contact | *[email](https://wiki.osm.org/wiki/Key:email)* ([email](../SpecialInputElements.md#email)) |
| [phone](#phone)
_(Original in [questions](./BuiltinQuestions.md#phone))_ | What is the phone number of ?
_{link(&LBRACEphone&RBRACE,tel:&LBRACEphone&RBRACE,,,,)}_
1 options | contact | *[phone](https://wiki.osm.org/wiki/Key:phone)* ([phone](../SpecialInputElements.md#phone)) |
| [payment-options](#payment-options)
_(Original in [questions](./BuiltinQuestions.md#payment-options))_ | Which methods of payment are accepted here?
3 options | | _Multiple choice only_ |
| [wheelchair-access](#wheelchair-access)
_(Original in [questions](./BuiltinQuestions.md#wheelchair-access))_ | Is this place accessible with a wheelchair?
4 options | | _Multiple choice only_ |
| [smoking](#smoking)
_(Original in [questions](./BuiltinQuestions.md#smoking))_ | Is smoking allowed at ?
3 options | | _Multiple choice only_ |
| [service:electricity](#service:electricity)
_(Original in [questions](./BuiltinQuestions.md#service:electricity))_ | Does this amenity have electrical outlets, available to customers when they are inside?
4 options | | _Multiple choice only_ |
| [seating](#seating)
_(Original in [questions](./BuiltinQuestions.md#seating))_ | What kind of seating does have?
2 options | | _Multiple choice only_ |
| [dog-access](#dog-access)
_(Original in [questions](./BuiltinQuestions.md#dog-access))_ | Are dogs allowed in this business?
5 options | | _Multiple choice only_ |
| [internet](#internet)
_(Original in [questions](./BuiltinQuestions.md#internet))_ | Does this place offer internet access?
6 options | internet-all | _Multiple choice only_ |
| [internet-fee](#internet-fee)
_(Original in [questions](./BuiltinQuestions.md#internet-fee))_ | Is there a fee for internet access?
3 options | internet-all | _Multiple choice only_ |
| [internet-ssid](#internet-ssid)
_(Original in [questions](./BuiltinQuestions.md#internet-ssid))_ | What is the network name for the wireless internet access?
_The network name is {internet_access:ssid}_
1 options | internet-all | *[internet_access:ssid](https://wiki.osm.org/wiki/Key:internet_access:ssid)* ([string](../SpecialInputElements.md#string)) |
| [reviews](#reviews)
_(Original in [questions](./BuiltinQuestions.md#reviews))_ | _{create_review()}{list_reviews()}_ | | _Multiple choice only_ |
| [leftover-questions](#leftover-questions) | _{questions( ,hidden)}_ | | _Multiple choice only_ |
| [move-button](#move-button) | _{move_button()}_ | | _Multiple choice only_ |
| [delete-button](#delete-button) | _{delete_button()}_ | | _Multiple choice only_ |
| [lod](#lod)
_(Original in [questions](./BuiltinQuestions.md#lod))_ | _{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?`
-
*Cash is accepted here* is shown if with payment:cash=yes. Unselecting this answer will add payment:cash=no
-
*Payment cards are accepted here* is shown if with payment:cards=yes. Unselecting this answer will add payment:cards=no
-
*Payment by QR-code is possible here* is shown if with payment:qr_code=yes. Unselecting this answer will add payment:qr_code=no
### 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()}?`
-
*Smoking is allowed* is shown if with smoking=yes
-
*Smoking is not allowed* is shown if with smoking=no
- *Smoking is allowed outside.* is shown if with smoking=outside
### 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?`
-
*This place has outdoor seating* is shown if with outdoor_seating=yes. Unselecting this answer will add outdoor_seating=no
- *This place has indoor seating* is shown if with indoor_seating=yes. Unselecting this answer will add indoor_seating=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
### internet
The question is `Does this place offer internet access?`
-
*This place offers wireless internet access* is shown if with internet_access=wlan
- *This place does not offer internet access* is shown if with internet_access=no
- *This place offers internet access* is shown if with internet_access=yes. _This option cannot be chosen as answer_
-
*This place offers internet access via a terminal or computer* is shown if with internet_access=terminal
- *This place offers wired internet access* is shown if with internet_access=wired
- *This place offers both wireless internet and internet access via a terminal or computer* is shown if with internet_access=terminal;wlan
This tagrendering has labels
`internet-all`
### internet-fee
The question is `Is there a fee for internet access?`
- *There is a fee for the internet access at this place* is shown if with internet_access:fee=yes
- *Internet access is free at this place* is shown if with internet_access:fee=no
- *Internet access is free at this place, for customers only* is shown if with internet_access:fee=customers
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
- *Telekom* is shown if with internet_access:ssid=Telekom
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 | internet_access=yes | internet_access=wired |
| 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 | dog=yes |
| dogs.2 | No dogs allowed | dog=no |
This document is autogenerated from [assets/layers/cafe_pub/cafe_pub.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/layers/cafe_pub/cafe_pub.json)