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.

92 lines
3.7 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. ")"
  42. ]
  43. },
  44. "feature": {
  45. "pre": [
  46. "{% if tags.landuse == 'cemetery' %}",
  47. "{% set key = 'landuse' %}",
  48. "{% set value = tags.landuse %}",
  49. "{% elseif tags.historic in [ 'wayside_cross', 'wayside_shrine', 'wayside_chapel' ] %}",
  50. "{% set key = 'historic' %}",
  51. "{% set value = tags.historic %}",
  52. "{% else %}",
  53. "{% set key = 'amenity' %}",
  54. "{% set value = tags.amenity %}",
  55. "{% endif %}"
  56. ],
  57. "description": [
  58. "{% if tags.building and tags.religion %}",
  59. " {% if isTranslated('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) %}",
  60. " {{ trans('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) }}",
  61. " {% elseif tags.building != 'yes' %}",
  62. " {{ trans('tag:building=' ~ tags.building) }}{% if tags.religion %}: {{ tagTransList('religion', tags.religion) }}{% endif %}",
  63. " {% else %}",
  64. " {{ tagTrans(key, value) }}: {{ tagTransList('religion', tags.religion) }}",
  65. " {% endif %}",
  66. "{% else %}",
  67. " {{ tagTrans(key, value) }}{% if tags.religion %}: {{ tagTransList('religion', tags.religion) }}{% endif %}",
  68. "{% endif %}"
  69. ],
  70. "popupDescription": "{{ tagTrans(key, value) }}",
  71. "body": [
  72. "{% if tags.building %}",
  73. " {{ keyTrans('building') }}: {{ tagTrans('building', tags.building) }}<br/>",
  74. "{% endif %}",
  75. "{% if tags.religion %}",
  76. " {{ keyTrans('religion') }}: {{ tagTransList('religion', tags.religion) }}<br/>",
  77. "{% endif %}",
  78. "{% if tags.denomination %}",
  79. " {{ keyTrans('denomination') }}: {{ tagTransList('denomination', tags.denomination) }}<br/>",
  80. "{% endif %}"
  81. ],
  82. "markerSign": [
  83. "{% if tags.religion == 'christian' %}✝",
  84. "{% elseif tags.religion == 'muslim' %}☪",
  85. "{% elseif tags.religion == 'buddhist' %}☸",
  86. "{% elseif tags.religion == 'hindu' %}ॐ",
  87. "{% elseif tags.religion == 'jewish' %}✡",
  88. "{% elseif tags.religion == 'pagan' %}☆",
  89. "{% endif %}"
  90. ]
  91. }
  92. }