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.

178 lines
6.8 KiB

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