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