From e731a2e643452558a8e45a2df47e3e97eda5a838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Fri, 23 Jun 2017 13:43:02 +0200 Subject: [PATCH] Category: places --- index.json | 4 ++++ places.json | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 places.json diff --git a/index.json b/index.json index cb0ed50..b8e2d8f 100644 --- a/index.json +++ b/index.json @@ -27,6 +27,10 @@ { "id": "parks", "name:en": "Parks" + }, + { + "id": "places", + "name:en": "Places" } ] } diff --git a/places.json b/places.json new file mode 100644 index 0000000..816a5d1 --- /dev/null +++ b/places.json @@ -0,0 +1,10 @@ +{ + "type": "category", + "query": "node[place]", + "minZoom": 14, + "feature": { + "title": "{% set loc_name = localizedTag(tags, 'name') %}{{ loc_name }}{% if loc_name != tags.name %} ({{ tags.name }}){% endif %}", + "body": "{{ tagTrans('place', tags.place) }}", + "description": "{{ tagTrans('place', tags.place) }}" + } +}