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.

62 lines
2.1 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": "{{ tagTrans(key, value) }}{% if tags.religion %}: {{ tagTransList('religion', tags.religion) }}{% endif %}",
  42. "popupDescription": "{{ tagTrans(key, value) }}",
  43. "body": [
  44. "{% if tags.religion %}",
  45. " {{ keyTrans('religion') }}: {{ tagTransList('religion', tags.religion) }}",
  46. "{% endif %}",
  47. "{% if tags.denomination %}",
  48. " <br/>",
  49. " {{ keyTrans('denomination') }}: {{ tagTransList('denomination', tags.denomination) }}",
  50. "{% endif %}"
  51. ],
  52. "markerSign": [
  53. "{% if tags.religion == 'christian' %}✝",
  54. "{% elseif tags.religion == 'muslim' %}☪",
  55. "{% elseif tags.religion == 'buddhist' %}☸",
  56. "{% elseif tags.religion == 'hindu' %}ॐ",
  57. "{% elseif tags.religion == 'jewish' %}✡",
  58. "{% elseif tags.religion == 'pagan' %}☆",
  59. "{% endif %}"
  60. ]
  61. }
  62. }