Browse Source

tourism_services: improve tourism=information; rewrite queries to use 'nwr'

- for tourism=information, show type of information, also include information=office from z13
climbing
parent
commit
07d842e7c7
  1. 13
      tourism_services.json

13
tourism_services.json

@ -22,17 +22,14 @@
"query": { "query": {
"13": [ "13": [
"(", "(",
"node[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];",
"way[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];",
"relation[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];",
"nwr[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|motel|wilderness_hut)$\"];",
"nwr[office~\"^(guide|tourism|tourist_accommodation|camping)$\"];", "nwr[office~\"^(guide|tourism|tourist_accommodation|camping)$\"];",
"nwr[tourism=information][information~\"^(office)$\"];",
")" ")"
], ],
"16": [ "16": [
"(", "(",
"node[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
"way[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
"relation[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
"nwr[tourism~\"^(alpine_hut|apartment|camp_site|caravan_site|chalet|guest_house|hostel|hotel|information|motel|wilderness_hut)$\"];",
"nwr[office~\"^(guide|tourism|tourist_accommodation|camping)$\"];", "nwr[office~\"^(guide|tourism|tourist_accommodation|camping)$\"];",
")" ")"
] ]
@ -52,6 +49,10 @@
" {{ keyTrans('office') }} ({{ tagTrans('office', tags.office) }})", " {{ keyTrans('office') }} ({{ tagTrans('office', tags.office) }})",
"{% else %}", "{% else %}",
" {{ tagTrans(key, value) }}", " {{ tagTrans(key, value) }}",
"{% endif %}",
"",
"{% if tags.tourism == 'information' and tags.information %}",
"- {{ tagTransList('information', tags.information) }}",
"{% endif %}" "{% endif %}"
], ],
"markerSign": [ "markerSign": [

Loading…
Cancel
Save