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.

96 lines
3.9 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": [
  87. "{% if tags.religion == 'christian' %}✝",
  88. "{% elseif tags.religion == 'muslim' %}☪",
  89. "{% elseif tags.religion == 'buddhist' %}☸",
  90. "{% elseif tags.religion == 'hindu' %}ॐ",
  91. "{% elseif tags.religion == 'jewish' %}✡",
  92. "{% elseif tags.religion == 'pagan' %}☆",
  93. "{% endif %}"
  94. ]
  95. }
  96. }