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
2.5 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Salú",
  5. "cs": "Zdravotnictví",
  6. "de": "Gesundheitsdienste",
  7. "el": "Υγεία",
  8. "en": "Health",
  9. "fr": "Santé",
  10. "it": "Sanità",
  11. "ja": "健康",
  12. "nl": "Gezondheid",
  13. "pl": "Zdrowie",
  14. "ro": "Sanatate",
  15. "ru": "Медицина",
  16. "uk": "Здоров'я"
  17. },
  18. "query": {
  19. "11": [
  20. "(",
  21. "node[amenity~\"^(hospital)$\"];",
  22. "way[amenity~\"^(hospital)$\"];",
  23. "relation[amenity~\"^(hospital)$\"];",
  24. "node[healthcare~\"^(hospital|clinic)$\"];",
  25. "way[healthcare~\"^(hospital|clinic)$\"];",
  26. "relation[healthcare~\"^(hospital|clinic)$\"];",
  27. ")"
  28. ],
  29. "14": [
  30. "(",
  31. "node[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];",
  32. "node[emergency=defibrillator];",
  33. "way[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];",
  34. "relation[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];",
  35. "node[healthcare];",
  36. "way[healthcare];",
  37. "relation[healthcare];",
  38. ")"
  39. ]
  40. },
  41. "feature": {
  42. "pre": [
  43. "{% if tags.emergency in [ 'defibrillator' ] %}",
  44. " {% set key = 'emergency' %}",
  45. " {% set value = tags.emergency %}",
  46. "{% elseif tags.healthcare %}",
  47. " {% set key = 'healthcare' %}",
  48. " {% set value = tags.healthcare %}",
  49. "{% else %}",
  50. " {% set key = 'amenity' %}",
  51. " {% set value = tags.amenity %}",
  52. "{% endif %}",
  53. ""
  54. ],
  55. "description": [
  56. "{{ tagTrans(key, value) }}",
  57. "{% if attribute(tags, 'healthcare:speciality') %}",
  58. "-",
  59. "{{ tagTransList('healthcare:speciality', attribute(tags, 'healthcare:speciality')) }}",
  60. "{% endif %}"
  61. ],
  62. "markerSign": "{{ const[value] }}"
  63. },
  64. "const": {
  65. "baby_hatch": "🚼",
  66. "clinic": "🏥",
  67. "dentist": "☤",
  68. "defibrillator": "❤",
  69. "doctor": "☤",
  70. "doctors": "☤",
  71. "hospital": "🏥",
  72. "nursing_home": "",
  73. "pharmacy": "",
  74. "social_facility": "",
  75. "veterinary": "🐕"
  76. }
  77. }