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.

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