mapcomplete/assets/layers/cafe_pub/cafe_pub.json

218 lines
5 KiB
JSON
Raw Normal View History

2021-09-08 17:33:00 +02:00
{
2021-11-07 14:37:21 +01:00
"id": "cafe_pub",
"name": {
"nl": "Cafés",
"en": "Cafés and pubs",
2021-11-16 04:16:44 +01:00
"de": "Cafés und Kneipen",
"fr": "Cafés et pubs"
2021-11-07 14:37:21 +01:00
},
"source": {
"osmTags": {
"or": [
"amenity=bar",
"amenity=pub",
"amenity=cafe",
"amenity=biergarten"
]
}
},
"presets": [
{
"tags": [
"amenity=pub"
],
"title": {
"en": "pub",
"nl": "bruin cafe of kroeg",
"de": "Kneipe",
"ru": "паб"
},
"description": {
"nl": "Dit is <b>een bruin café of een kroeg</b> waar voornamelijk bier wordt gedronken. De inrichting is typisch gezellig met veel houtwerk "
},
"preciseInput": {
"preferredBackground": "map"
}
2021-09-12 19:04:06 +02:00
},
2021-11-07 14:37:21 +01:00
{
"tags": [
"amenity=bar"
],
"title": {
"en": "bar",
"nl": "bar",
"de": "Bar",
"ru": "бар"
},
"description": {
"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"
},
"preciseInput": {
"preferredBackground": "map"
}
2021-09-12 19:04:06 +02:00
},
2021-11-07 14:37:21 +01:00
{
"tags": [
"amenity=cafe"
],
"title": {
"en": "cafe",
"nl": "cafe",
"de": "Café",
"ru": "кафе"
},
"description": {
"nl": "Dit is een <b>cafe</b> - een plaats waar men rustig kan zitten om een thee, koffie of alcoholische drank te nuttigen."
},
"preciseInput": {
"preferredBackground": "map"
}
}
],
"title": {
"render": {
"nl": "Café"
2021-09-08 17:33:00 +02:00
},
2021-11-07 14:37:21 +01:00
"mappings": [
{
"if": {
"and": [
"name~*"
]
},
"then": {
"nl": "<i>{name}</i>",
"en": "<i>{name}</i>",
"de": "<i>{name}</i>",
"ru": "<i>{name}</i>"
2021-09-08 17:33:00 +02:00
}
2021-11-07 14:37:21 +01:00
}
]
},
"tagRenderings": [
"images",
{
"question": {
"nl": "Wat is de naam van dit café?",
"en": "What is the name of this pub?",
2021-11-16 04:16:44 +01:00
"de": "Wie heißt diese Kneipe?",
"fr": "Quel est le nom de ce pub ?"
2021-11-07 14:37:21 +01:00
},
"render": {
"nl": "De naam van dit café is {name}",
"en": "This pub is named {name}",
2021-11-16 04:16:44 +01:00
"de": "Diese Kneipe heißt {name}",
"fr": "Ce pub se nomme {name}"
2021-11-07 14:37:21 +01:00
},
"freeform": {
"key": "name"
},
"id": "Name"
2021-09-08 17:33:00 +02:00
},
2021-11-07 14:37:21 +01:00
{
"question": {
"en": "What kind of cafe is this",
"nl": "Welk soort café is dit?",
"de": "Was ist das für ein Café"
},
"mappings": [
2021-09-08 17:33:00 +02:00
{
2021-11-07 14:37:21 +01:00
"if": "amenity=pub",
"then": {
"nl": "Dit is <b>een bruin café of een kroeg</b> waar voornamelijk bier wordt gedronken. De inrichting is typisch gezellig met veel houtwerk "
}
2021-09-08 17:33:00 +02:00
},
{
2021-11-07 14:37:21 +01:00
"if": "amenity=bar",
"then": {
"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"
}
2021-09-08 17:33:00 +02:00
},
{
2021-11-07 14:37:21 +01:00
"if": "amenity=cafe",
"then": {
"nl": "Dit is een <b>cafe</b> - een plaats waar men rustig kan zitten om een thee, koffie of alcoholische drank te nuttigen."
}
2021-09-08 17:33:00 +02:00
},
{
2021-11-07 14:37:21 +01:00
"if": "amenity=restaurant",
"then": {
"nl": "Dit is een <b>restaurant</b> waar men een maaltijd geserveerd krijgt"
}
},
2021-09-08 17:33:00 +02:00
{
2021-11-07 14:37:21 +01:00
"if": "amenity=biergarten",
"then": {
"nl": "Een open ruimte waar bier geserveerd wordt. Typisch in Duitsland"
},
"hideInAnswer": "_country!=de"
}
2021-11-07 14:37:21 +01:00
],
"id": "Classification"
},
2021-11-07 14:37:21 +01:00
"opening_hours",
"website",
"email",
"phone",
"payment-options",
"wheelchair-access",
"service:electricity",
2021-11-07 14:37:21 +01:00
"dog-access"
],
"filter": [
{
"id": "opened-now",
"options": [
{
2021-11-07 14:37:21 +01:00
"question": {
"en": "Opened now",
"nl": "Nu geopened",
2021-11-16 04:16:44 +01:00
"de": "Jetzt geöffnet",
"fr": "Ouvert maintenant"
2021-11-07 14:37:21 +01:00
},
"osmTags": "_isOpen=yes"
}
2021-11-07 14:37:21 +01:00
]
}
],
"deletion": {
"softDeletionTags": {
"and": [
"amenity=",
"disused:amenity:={amenity}"
]
}
},
2021-11-07 15:31:55 +01:00
"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": [
2021-11-09 19:45:26 +01:00
"point",
"centroid"
2021-11-07 15:31:55 +01:00
]
}
]
2021-09-08 17:33:00 +02:00
}