From 0822ce6208a1329c77ee02aa11d13cf4d598ac74 Mon Sep 17 00:00:00 2001 From: Osmwithspace <> Date: Wed, 19 Feb 2025 20:30:28 +0100 Subject: [PATCH] add group_only tagRendering in tourism_accomodation --- .../tourism_accomodation.json | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/assets/layers/tourism_accomodation/tourism_accomodation.json b/assets/layers/tourism_accomodation/tourism_accomodation.json index 11171f23d..81524d9fd 100644 --- a/assets/layers/tourism_accomodation/tourism_accomodation.json +++ b/assets/layers/tourism_accomodation/tourism_accomodation.json @@ -308,6 +308,42 @@ } }, "{preset_type_select()}", + { + "condition": { + "and": [ + "tourism=hostel" + ] + }, + "question": { + "de": "Ist diese Unterkunft ausschließlich für Gruppen?", + "en": "Is this hostel exclusively for groups?" + }, + "mappings": [ + { + "if": { + "and": [ + "group_only=yes" + ] + }, + "then": { + "en": "This hostel is exclusively for groups", + "de": "Diese Unterkunft ist ausschließlich für Gruppen" + } + }, + { + "if": { + "and": [ + "group_only=no" + ] + }, + "then": { + "en": "This hostel is not exclusively for groups", + "de": "Diese Unterkunft ist nicht ausschließlich für Gruppen" + } + } + ], + "id": "group_only" + }, "brand", "contact", "wheelchair-access",