Main categories of OpenStreetBrowser
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

139 lines
3.8 KiB

  1. type: overpass
  2. name:
  3. ast: Relixón
  4. ca: Religió
  5. cs: Náboženství
  6. de: Religion
  7. el: Θρησκεία
  8. en: Religion
  9. es: Religión
  10. et: Religioon
  11. fr: Religion
  12. gl: Relixión
  13. hu: Vallás
  14. it: Religione
  15. ja: 宗教
  16. nb: Religion
  17. nl: Religie
  18. oc: Religion
  19. pl: Religia
  20. pt: Religião
  21. pt-br: Religião
  22. ro: Religie
  23. ru: Религия
  24. sr: Религија
  25. tr: Din
  26. uk: Релігія
  27. query:
  28. 13: |-
  29. (
  30. nwr[amenity~"^(.*;|)(place_of_worship|grave_yard|crematorium)(;.*|)$"];
  31. nwr[landuse~"^(.*;|)(cemetery)(;.*|)$"];
  32. )
  33. 14: |-
  34. (
  35. nwr[amenity~"^(.*;|)(place_of_worship|grave_yard|crematorium)(;.*|)$"];
  36. nwr[landuse~"^(.*;|)(cemetery)(;.*|)$"];
  37. nwr[historic~"^(.*;|)wayside_(cross|shrine|chapel)(;.*|)$"];
  38. nwr[office~"^(.*;|)(parish|religion)(;.*|)$"];
  39. )
  40. feature:
  41. pre: |-
  42. {% set key = null %}
  43. {% set value = null %}
  44. {% for k, d in const.types %}
  45. {% set kv = k|split('=') %}
  46. {% if attribute(tags, kv[0]) and kv[1] in attribute(tags, kv[0])|split(';') %}
  47. {% set key = kv[0] %}
  48. {% set value = kv[1] %}
  49. {% endif %}
  50. {% endfor %}
  51. description: |-
  52. {% if tags.building and tags.religion %}
  53. {% if isTranslated('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) %}
  54. {{ trans('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) }}
  55. {% elseif tags.building != 'yes' %}
  56. {{ trans('tag:building=' ~ tags.building) }}
  57. {% else %}
  58. {{ tagTransList(key, attribute(tags, key)) }}
  59. {% endif %}
  60. {% else %}
  61. {{ tagTransList(key, attribute(tags, key)) }}
  62. {% endif %}
  63. listDetails: '{{ tagTransList("religion", tags.religion) }}{% if tags.denomination %} - {{ tagTransList("denomination", tags.denomination) }}{% endif %}'
  64. body: |-
  65. {% if tags.building %}
  66. {{ keyTrans('building') }}: {{ tagTrans('building', tags.building) }}<br/>
  67. {% endif %}
  68. {% if tags.religion %}
  69. {{ keyTrans('religion') }}: {{ tagTransList('religion', tags.religion) }}<br/>
  70. {% endif %}
  71. {% if tags.denomination %}
  72. {{ keyTrans('denomination') }}: {{ tagTransList('denomination', tags.denomination) }}<br/>
  73. {% endif %}
  74. markerSign: '{{ const.religion[tags.religion] }}'
  75. const:
  76. types:
  77. landuse=cemetery:
  78. zoom: 13
  79. historic=wayside_cross:
  80. zoom: 14
  81. historic=wayside_shrine:
  82. zoom: 14
  83. historic=wayside_chapel:
  84. zoom: 14
  85. amenity=place_of_worship:
  86. zoom: 13
  87. amenity=grave_yard:
  88. zoom: 13
  89. amenity=crematorium:
  90. zoom: 13
  91. office=parish:
  92. zoom: 14
  93. office=religion:
  94. zoom: 14
  95. religion:
  96. christian:
  97. muslim:
  98. buddhist:
  99. shinto: ''
  100. hindu:
  101. jewish:
  102. taoist: ''
  103. sikh: ''
  104. none: ''
  105. multifaith: ''
  106. unitarian_universialist: ''
  107. spiritualist: ''
  108. jain: ''
  109. voodoo: ''
  110. confucian: ''
  111. bahai: ''
  112. caodaism: ''
  113. tenrikyo: ''
  114. vietnamese_folk: ''
  115. pagan:
  116. scientologist: ''
  117. zoroastrian: ''
  118. pentecostal: ''
  119. shamanic: ''
  120. filter:
  121. type:
  122. name: '{{ trans("filter:type") }}'
  123. show_default: 'true'
  124. query: nwr[{{ value }}]
  125. type: select
  126. values: |-
  127. {% for k, v in const.types %}
  128. <option value="{{ k }}" query="nwr[{{ k|replace({ '=': '^' }) }}]" minzoom="{{ v.zoom }}">
  129. {{ tagTrans(k) }}
  130. </option>
  131. {% endfor %}
  132. religion:
  133. name: '{{ keyTrans("religion") }}'
  134. show_default: 'true'
  135. type: select
  136. valueName: '{{ tagTrans("religion", value) }}'
  137. values: '{% set list = [] %}{% for t, v in const.religion %}<option value="{{ t }}">{% set list = list|merge([ t ]) %}{{ tagTrans("religion", t) }}</option>{% endfor %}<option value="other" query="nwr[religion][religion!~"^({{ list|join("|") }})$"]">{{ trans("other") }}</option>'
  138. op: has