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.

76 lines
2.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-br": "Religião",
  16. "ro": "Religie",
  17. "ru": "Религия",
  18. "uk": "Релігія"
  19. },
  20. "query": {
  21. "13": [
  22. "(",
  23. "node[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];",
  24. "way[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];",
  25. "relation[amenity~\"^(place_of_worship|grave_yard|crematorium)$\"];",
  26. "way[landuse~\"^(cemetery)$\"];",
  27. "relation[landuse~\"^(cemetery)$\"];",
  28. ")"
  29. ]
  30. },
  31. "feature": {
  32. "pre": [
  33. "{% if tags.landuse == 'cemetery' %}",
  34. "{% set key = 'landuse' %}",
  35. "{% set value = tags.landuse %}",
  36. "{% else %}",
  37. "{% set key = 'amenity' %}",
  38. "{% set value = tags.amenity %}",
  39. "{% endif %}"
  40. ],
  41. "description": [
  42. "{% if tags.building and tags.religion %}",
  43. " {% if isTranslated('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) %}",
  44. " {{ trans('tag:building=' ~ tags.building ~ ' religion=' ~ tags.religion) }}",
  45. " {% elseif tags.building != 'yes' %}",
  46. " {{ trans('tag:building=' ~ tags.building) }}{% if tags.religion %}: {{ tagTransList('religion', tags.religion) }}{% endif %}",
  47. " {% else %}",
  48. " {{ tagTrans(key, value) }}: {{ tagTransList('religion', tags.religion) }}",
  49. " {% endif %}",
  50. "{% else %}",
  51. " {{ tagTrans(key, value) }}{% if tags.religion %}: {{ tagTransList('religion', tags.religion) }}{% endif %}",
  52. "{% endif %}"
  53. ],
  54. "popupDescription": "{{ tagTrans(key, value) }}",
  55. "body": [
  56. "{% if tags.building %}",
  57. " {{ keyTrans('building') }}: {{ tagTrans('building', tags.building) }}<br/>",
  58. "{% endif %}",
  59. "{% if tags.religion %}",
  60. " {{ keyTrans('religion') }}: {{ tagTransList('religion', tags.religion) }}<br/>",
  61. "{% endif %}",
  62. "{% if tags.denomination %}",
  63. " {{ keyTrans('denomination') }}: {{ tagTransList('denomination', tags.denomination) }}<br/>",
  64. "{% endif %}"
  65. ],
  66. "markerSign": [
  67. "{% if tags.religion == 'christian' %}✝",
  68. "{% elseif tags.religion == 'muslim' %}☪",
  69. "{% elseif tags.religion == 'buddhist' %}☸",
  70. "{% elseif tags.religion == 'hindu' %}ॐ",
  71. "{% elseif tags.religion == 'jewish' %}✡",
  72. "{% elseif tags.religion == 'pagan' %}☆",
  73. "{% endif %}"
  74. ]
  75. }
  76. }