mapcomplete/assets/layers/cafe_pub/cafe_pub.json
2022-06-01 20:21:16 +02:00

302 lines
No EOL
10 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "cafe_pub",
"name": {
"nl": "Cafés",
"en": "Cafés and pubs",
"de": "Cafés und Kneipen",
"fr": "Cafés et pubs",
"zh_Hant": "咖啡廳與酒吧",
"hu": "Kávézók és kocsmák",
"es": "Cafeterías y bares",
"da": "Caféer og pubber"
},
"source": {
"osmTags": {
"or": [
"amenity=bar",
"amenity=pub",
"amenity=cafe",
"amenity=biergarten"
]
}
},
"presets": [
{
"tags": [
"amenity=pub"
],
"title": {
"en": "a pub",
"nl": "een bruin café of kroeg",
"de": "eine Kneipe",
"ru": "паб",
"hu": "kocsma",
"ca": "un bar",
"da": "en pub",
"es": "un pub"
},
"description": {
"en": "A pub, mostly for drinking beers in a warm, relaxed interior",
"nl": "Dit is <b>een bruin café of een kroeg</b> waar voornamelijk bier wordt gedronken. De inrichting is typisch gezellig met veel houtwerk",
"de": "Eine Kneipe, in der vor allem Bier in ruhiger, entspannter Atmosphäre getrunken wird",
"es": "Un bar, principalmente para beber cervezas en un interior templado y relajado",
"da": "En pub, mest et sted at drikke øl i et varme, afslappede omgivelser"
},
"preciseInput": {
"preferredBackground": "map"
}
},
{
"tags": [
"amenity=bar"
],
"title": {
"en": "a bar",
"nl": "een bar",
"de": "eine Bar",
"ru": "бар",
"hu": "bár",
"ca": "un pub",
"da": "en bar",
"es": "un bar"
},
"description": {
"en": "A more modern and commercial <b>bar</b>, possibly with a music and light installation",
"nl": "Dit is een <b>bar</b> waar men ter plaatse alcoholische drank nuttigt. De inrichting is typisch modern en commercieel, soms met lichtinstallatie en feestmuziek",
"de": "Eine modernere und kommerzielle <b>Bar</b>, möglicherweise mit einer Musik- und Lichtinstallation",
"da": "En mere moderne og kommerciel <b>bar</b>, eventuelt med en musik- og lysinstallation",
"es": "Un <b>bar</b> más moderno y comercial, posiblemente con una instalación de música y luz"
},
"preciseInput": {
"preferredBackground": "map"
}
},
{
"tags": [
"amenity=cafe"
],
"title": {
"en": "a cafe",
"nl": "een café",
"de": "ein Café",
"ru": "кафе",
"hu": "kávézó",
"ca": "un cafè",
"da": "en cafe",
"es": "una cafetería"
},
"description": {
"en": "A <b>cafe</b> to drink tea, coffee or an alcoholical bevarage in a quiet environment",
"nl": "Dit is een <b>cafe</b> - een plaats waar men rustig kan zitten om een thee, koffie of alcoholische drank te nuttigen.",
"de": "Ein <b>Café</b>, um in ruhiger Umgebung Tee, Kaffee oder ein alkoholisches Getränk zu trinken",
"da": "En <b>café</b> til at drikke te, kaffe eller en alkoholisk drik i rolige omgivelser"
},
"preciseInput": {
"preferredBackground": "map"
}
}
],
"title": {
"render": {
"en": "Pub",
"nl": "Café",
"ca": "Bar",
"de": "Kneipe",
"da": "Pub",
"es": "Pub"
},
"mappings": [
{
"if": {
"and": [
"name~*"
]
},
"then": {
"nl": "<i>{name}</i>",
"en": "<i>{name}</i>",
"de": "<i>{name}</i>",
"ru": "<i>{name}</i>",
"ca": "<i>{name}</i>",
"da": "<i>{name}</i>",
"es": "<i>{name}</i>"
}
}
]
},
"tagRenderings": [
"images",
{
"question": {
"nl": "Wat is de naam van dit café?",
"en": "What is the name of this pub?",
"de": "Wie heißt diese Kneipe?",
"fr": "Quel est le nom de ce pub ?",
"hu": "Mi a neve ennek a kocsmának?",
"da": "Hvad hedder denne pub?",
"es": "¿Cual es el nombre de este pub?"
},
"render": {
"nl": "De naam van dit café is {name}",
"en": "This pub is named {name}",
"de": "Diese Kneipe heißt {name}",
"fr": "Ce pub se nomme {name}",
"hu": "A kocsma neve: {name}",
"da": "Denne pub hedder {name}",
"es": "Este pub se llama {name}"
},
"freeform": {
"key": "name"
},
"id": "Name"
},
{
"question": {
"en": "What kind of cafe is this?",
"nl": "Welk soort café is dit?",
"de": "Was ist das für ein Café?",
"hu": "Milyen fajta kávézó ez?",
"da": "Hvilken slags cafe er dette",
"es": "Qué tipo de café es este"
},
"mappings": [
{
"if": "amenity=pub",
"then": {
"en": "A pub, mostly for drinking beers in a warm, relaxed interior",
"nl": "Dit is <b>een bruin café of een kroeg</b> waar voornamelijk bier wordt gedronken. De inrichting is typisch gezellig met veel houtwerk",
"de": "Eine Kneipe, in der vor allem Bier in ruhiger, entspannter Atmosphäre getrunken wird"
}
},
{
"if": "amenity=bar",
"then": {
"en": "A more modern and commercial <b>bar</b>, possibly with a music and light installation",
"nl": "Dit is een <b>bar</b> waar men ter plaatse alcoholische drank nuttigt. De inrichting is typisch modern en commercieel, soms met lichtinstallatie en feestmuziek",
"de": "Eine modernere und kommerzielle <b>Bar</b>, möglicherweise mit einer Musik- und Lichtinstallation",
"da": "En mere moderne og kommerciel <b>bar</b>, eventuelt med en musik- og lysinstallation"
}
},
{
"if": "amenity=cafe",
"then": {
"en": "A <b>cafe</b> to drink tea, coffee or an alcoholical bevarage in a quiet environment",
"nl": "Dit is een <b>cafe</b> - een plaats waar men rustig kan zitten om een thee, koffie of alcoholische drank te nuttigen.",
"de": "Ein <b>Café</b>, um in ruhiger Umgebung Tee, Kaffee oder ein alkoholisches Getränk zu trinken",
"da": "En <b>café</b> til at drikke te, kaffe eller en alkoholisk drik i rolige omgivelser"
}
},
{
"if": "amenity=restaurant",
"then": {
"en": "A <b>restuarant</b> where one can get a proper meal",
"nl": "Dit is een <b>restaurant</b> waar men een maaltijd geserveerd krijgt",
"de": "Ein <b>Restaurant</b>, in dem man ordentlich essen kann",
"da": "En <b>restaurant</b>, hvor man kan få et ordentligt måltid",
"es": "Un <b>restaurante</b> donde puedes comer una comida de verdad"
}
},
{
"if": "amenity=biergarten",
"then": {
"en": "An open space where beer is served, typically seen in Germany",
"nl": "Een open ruimte waar bier geserveerd wordt. Typisch in Duitsland",
"de": "Ein Außenbereich mit Bierausschank, typischerweise in Deutschland",
"da": "Et åbent rum, hvor der serveres øl, typisk set i Tyskland",
"es": "Un espacio abierto donde se sirve cerveza, típico de Alemania"
},
"hideInAnswer": "_country!=de"
}
],
"id": "Classification"
},
"opening_hours",
"website",
"email",
"phone",
"payment-options",
"wheelchair-access",
"service:electricity",
"dog-access"
],
"filter": [
{
"id": "opened-now",
"options": [
{
"question": {
"en": "Opened now",
"nl": "Nu geopened",
"de": "Derzeit geöffnet",
"fr": "Ouvert maintenant",
"hu": "Most nyitva van",
"ca": "Obert ara",
"es": "Abiert oahora",
"da": "Åbent nu"
},
"osmTags": "_isOpen=yes"
}
]
}
],
"deletion": {
"softDeletionTags": {
"and": [
"amenity=",
"disused:amenity:={amenity}"
]
},
"extraDeleteReasons": [
{
"explanation": {
"nl": "{title()} is permanent gestopt",
"en": "{title()} has closed down permanently",
"de": "{title()} wurde dauerhaft geschlossen",
"es": "{title()} ha cerrado permanentemente",
"da": "{title()} er lukket permanent"
},
"changesetMessage": "shop_closed"
}
]
},
"allowMove": true,
"mapRendering": [
{
"icon": {
"render": "circle:white;./assets/layers/cafe_pub/pub.svg",
"mappings": [
{
"if": "amenity=cafe",
"then": "circle:white;./assets/layers/cafe_pub/cafe.svg"
}
]
},
"iconBadges": [
{
"if": "opening_hours~*",
"then": "isOpen"
}
],
"label": {
"mappings": [
{
"if": "name~*",
"then": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>"
}
]
},
"location": [
"point",
"centroid"
]
}
],
"description": {
"en": "A layer showing cafés and pubs where one can gather around a drink. The layer asks for some relevant questions",
"hu": "Egy olyan réteg, amely kávézókat és kocsmákat jelenít meg, ahol össze lehet gyűlni egy ital köré. A réteg néhány lényeges kérdést tesz fel",
"nl": "Een laag die kroegen en koffiehuizen toont waar je iets kunt drinken. De laag zal je enkele vragen stellen",
"de": "Eine Ebene mit Cafés und Kneipen, in denen man sich auf ein Getränk treffen kann. Die Ebene fragt nach einigen relevanten Eigenschaften",
"es": "Una capa que muestra cafeterías y bares donde uno se puede reunir con una bebida. La capa pregunta algunas preguntas relevantes",
"da": "Et lag med caféer og pubber, hvor man kan samles omkring en drink. Laget stiller nogle relevante spørgsmål"
}
}