diff --git a/paddling_amenities.yaml b/paddling_amenities.yaml index b3f1587..74df6bf 100644 --- a/paddling_amenities.yaml +++ b/paddling_amenities.yaml @@ -17,7 +17,7 @@ query: ) feature: pre: |- - {% if tags.canoe == 'portage' (and not attribute(tags, 'surface') or attribute(tags, 'surface') == 'water') %} + {% if tags.canoe == 'portage' and ( not attribute(tags, 'surface') or attribute(tags, 'surface') == 'water' ) %} {% set key = 'waterway' %} {% set value = 'portage' %} {% elseif tags.canoe %}