From 5f483417ae0499792d277de01efc8179a6f1cbbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Mon, 26 Jun 2017 21:23:31 +0200 Subject: [PATCH] Category communication: new category --- communication.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 communication.json diff --git a/communication.json b/communication.json new file mode 100644 index 000000000..64cce3f23 --- /dev/null +++ b/communication.json @@ -0,0 +1,15 @@ +{ + "type": "overpass", + "query": { + "13": "(node[amenity~'^(post_office|internet_cafe)$'];node[amenity~'^(post_office|internet_cafe)$'];node[amenity~'^(post_office|internet_cafe)$'];);", + "16": "(node[amenity~'^(post_office|internet_cafe|post_box|telephone)$'];node[amenity~'^(post_office|internet_cafe)$'];node[amenity~'^(post_office|internet_cafe)$'];);" + }, + "minZoom": 13, + "feature": { + "title": "{{ tags.name|default(tags.operator)|default(tagTrans('amenity', tags.amenity)) }}", + "markerSign": "{% if tags.amenity=='post_office' %}🏤{% elseif tags.amenity=='post_box'%}📮{% elseif tags.amenity=='internet_cafe' %}💻{% elseif tags.amenity=='telephone' %}✆{% endif %}", + "body": "{{ tagTrans('amenity', tags.amenity) }}
{% if tags.operator %}Operator: {{ tags.operator }}
{% endif %}", + "description": "{{ tagTrans('amenity', tags.amenity) }}" + } +} +