Main categories of OpenStreetBrowser with public transport zoom level
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.

170 lines
6.5 KiB

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