From 32a06ff946d3a22e46e01d14d9c68f5f975e89a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Fri, 16 Nov 2018 13:13:33 +0100 Subject: [PATCH] bathing_swimming: show sauna type, small bugfixes --- swimming_bathing.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/swimming_bathing.json b/swimming_bathing.json index 6a99877..0e090d3 100644 --- a/swimming_bathing.json +++ b/swimming_bathing.json @@ -32,11 +32,14 @@ "feature": { "pre": "", "description": [ - "{% if tags.amenity == 'public_path' %}", - " {{ tagTrans('amenity', 'public_path') }}", - " {% if attribute(tags, 'bath:type') %}({{ tagTrans('bath:type', attribute(tags, 'bath:type')) }}){% endif %}", + "{% if tags.amenity == 'public_bath' %}", + "{{ tagTrans('amenity', 'public_bath' ) }}", + "{% if attribute(tags, 'bath:type') %}({{ tagTrans('bath:type', attribute(tags, 'bath:type')) }}){% endif %}", "{% elseif tags.tourism == 'spa_resort' %}", "{{ tagTrans('tourism', tags.tourism ) }}", + "{% elseif tags.leisure == 'sauna' %}", + " {{ tagTrans('leisure', 'sauna') }}", + " {% if tags.sauna and tags.sauna != 'yes' %}({{ tagTransList('sauna', tags.sauna) }}){% endif %}", "{% elseif tags.leisure %}", "{{ tagTrans('leisure', tags.leisure) }}", "{% elseif tags.natural %}",