Main categories of OpenStreetBrowser with public transport zoom level
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.

89 lines
3.1 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. "pt-br": "Saúde e Assistência",
  15. "ro": "Sanatate",
  16. "ru": "Медицина",
  17. "uk": "Здоров'я"
  18. },
  19. "query": {
  20. "11": [
  21. "(",
  22. "node[amenity~\"^(hospital)$\"];",
  23. "way[amenity~\"^(hospital)$\"];",
  24. "relation[amenity~\"^(hospital)$\"];",
  25. "node[healthcare~\"^(hospital|clinic)$\"];",
  26. "way[healthcare~\"^(hospital|clinic)$\"];",
  27. "relation[healthcare~\"^(hospital|clinic)$\"];",
  28. ")"
  29. ],
  30. "14": [
  31. "(",
  32. "node[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];",
  33. "node[emergency=defibrillator];",
  34. "way[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];",
  35. "relation[amenity~\"^(baby_hatch|clinic|dentist|doctors|hospital|nursing_home|pharmacy|social_facility|veterinary)$\"];",
  36. "node[healthcare];",
  37. "way[healthcare];",
  38. "relation[healthcare];",
  39. ")"
  40. ]
  41. },
  42. "feature": {
  43. "pre": [
  44. "{% if tags.emergency in [ 'defibrillator' ] %}",
  45. " {% set key = 'emergency' %}",
  46. " {% set value = tags.emergency %}",
  47. "{% elseif tags.healthcare %}",
  48. " {% set key = 'healthcare' %}",
  49. " {% set value = tags.healthcare %}",
  50. "{% else %}",
  51. " {% set key = 'amenity' %}",
  52. " {% set value = tags.amenity %}",
  53. "{% endif %}"
  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]|raw }}"
  63. },
  64. "info": [
  65. "<table>",
  66. "{% for value, sign in const %}",
  67. " <tr>",
  68. " <td>{{ markerCircle({})|raw }}<div class='sign'>{{ sign|raw }}</div></td>",
  69. " <td>{{ tagTrans('amenity', value) }}</td>",
  70. " </tr>",
  71. "{% endfor %}",
  72. "</table>"
  73. ],
  74. "const": {
  75. "baby_hatch": "🚼",
  76. "blood_bank": "<img src='maki:blood-bank'>",
  77. "blood_donation": "<img src='maki:blood-bank'>",
  78. "clinic": "🏥",
  79. "defibrillator": "<img src='maki:defibrillator'>",
  80. "dentist": "<img src='maki:dentist'>",
  81. "doctor": "<img src='maki:doctor'>",
  82. "doctors": "<img src='maki:doctor'>",
  83. "hospital": "🏥",
  84. "nursing_home": "",
  85. "pharmacy": "<img src='maki:pharmacy'>",
  86. "social_facility": "",
  87. "veterinary": "<img src='maki:veterinary'>"
  88. }
  89. }