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.

88 lines
3.0 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. "description": [
  55. "{{ tagTrans(key, value) }}",
  56. "{% if attribute(tags, 'healthcare:speciality') %}",
  57. "-",
  58. "{{ tagTransList('healthcare:speciality', attribute(tags, 'healthcare:speciality')) }}",
  59. "{% endif %}"
  60. ],
  61. "markerSign": "{{ const[value]|raw }}"
  62. },
  63. "info": [
  64. "<table>",
  65. "{% for value, sign in const %}",
  66. " <tr>",
  67. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign|raw }}</div></td>",
  68. " <td>{{ tagTrans('amenity', value) }}</td>",
  69. " </tr>",
  70. "{% endfor %}",
  71. "</table>"
  72. ],
  73. "const": {
  74. "baby_hatch": "🚼",
  75. "blood_bank": "<img src='maki:blood-bank'>",
  76. "blood_donation": "<img src='maki:blood-bank'>",
  77. "clinic": "🏥",
  78. "defibrillator": "<img src='maki:defibrillator'>",
  79. "dentist": "<img src='maki:dentist'>",
  80. "doctor": "<img src='maki:doctor'>",
  81. "doctors": "<img src='maki:doctor'>",
  82. "hospital": "🏥",
  83. "nursing_home": "",
  84. "pharmacy": "<img src='maki:pharmacy'>",
  85. "social_facility": "",
  86. "veterinary": "<img src='maki:veterinary'>"
  87. }
  88. }