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.

77 lines
3.0 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. },
  32. "feature": {
  33. "pre": [
  34. "{% if tags.landuse == 'cemetery' %}",
  35. "{% set key = 'landuse' %}",
  36. "{% set value = tags.landuse %}",
  37. "{% else %}",
  38. "{% set key = 'amenity' %}",
  39. "{% set value = tags.amenity %}",
  40. "{% endif %}"
  41. ],
  42. "description": [
  43. "{% if tags.building and tags.religion %}",
  44. " {% if isTranslated('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) %}",
  45. " {{ trans('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) }}",
  46. " {% elseif tags.building != 'yes' %}",
  47. " {{ trans('tag:building=' ~ tags.building) }}{% if tags.religion %}: {{ tagTransList('religion', tags.religion) }}{% endif %}",
  48. " {% else %}",
  49. " {{ tagTrans(key, value) }}: {{ tagTransList('religion', tags.religion) }}",
  50. " {% endif %}",
  51. "{% else %}",
  52. " {{ tagTrans(key, value) }}{% if tags.religion %}: {{ tagTransList('religion', tags.religion) }}{% endif %}",
  53. "{% endif %}"
  54. ],
  55. "popupDescription": "{{ tagTrans(key, value) }}",
  56. "body": [
  57. "{% if tags.building %}",
  58. " {{ keyTrans('building') }}: {{ tagTrans('building', tags.building) }}<br/>",
  59. "{% endif %}",
  60. "{% if tags.religion %}",
  61. " {{ keyTrans('religion') }}: {{ tagTransList('religion', tags.religion) }}<br/>",
  62. "{% endif %}",
  63. "{% if tags.denomination %}",
  64. " {{ keyTrans('denomination') }}: {{ tagTransList('denomination', tags.denomination) }}<br/>",
  65. "{% endif %}"
  66. ],
  67. "markerSign": [
  68. "{% if tags.religion == 'christian' %}✝",
  69. "{% elseif tags.religion == 'muslim' %}☪",
  70. "{% elseif tags.religion == 'buddhist' %}☸",
  71. "{% elseif tags.religion == 'hindu' %}ॐ",
  72. "{% elseif tags.religion == 'jewish' %}✡",
  73. "{% elseif tags.religion == 'pagan' %}☆",
  74. "{% endif %}"
  75. ]
  76. }
  77. }