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.

83 lines
3.3 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "de": "Einrichtungen für Kinder",
  5. "en": "Children amenities",
  6. "fr": "Équipements pour enfants"
  7. },
  8. "query": {
  9. "15": [
  10. "(",
  11. "node[leisure~'^(playground|summer_camp|indoor_play)$'];",
  12. "way[leisure~'^(playground|summer_camp|indoor_play)$'];",
  13. "relation[leisure~'^(playground|summer_camp|indoor_play)$'];",
  14. "node[shop~'^(baby_goods|toys)$'];",
  15. "way[shop~'^(baby_goods|toys)$'];",
  16. "relation[shop~'^(baby_goods|toys)$'];",
  17. "node[amenity=toilets][diaper];",
  18. "way[amenity=toilets][diaper];relation[amenity=toilets][diaper];",
  19. "node[kids_area];",
  20. "way[kids_area];",
  21. "relation[kids_area];",
  22. ");"
  23. ]
  24. },
  25. "feature": {
  26. "description": [
  27. "{% if tags.leisure=='playground' %}",
  28. "{{ tagTrans('leisure', 'playground') }}",
  29. "{% elseif tags.leisure=='summer_camp'%}",
  30. "{{ tagTrans('leisure', 'summer_camp') }}",
  31. "{% elseif tags.leisure=='indoor_play' %}",
  32. "{{ tagTrans('leisure', 'indoor_play') }}",
  33. "{% elseif tags.kids_area %}",
  34. "{{ keyTrans('kids_area') }}",
  35. "{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
  36. "{{ keyTrans('shop') }}: {{ tagTrans('shop', tags.shop) }}",
  37. "{% elseif tags.amenity=='toilets' and tags.diaper %}",
  38. "{{ tagTrans('amenity', 'toilets') }} with diaper changing table",
  39. "{% endif %}"
  40. ],
  41. "markerSign": [
  42. "{% if tags.leisure=='playground' %}",
  43. "⛹",
  44. "{% elseif tags.leisure=='summer_camp'%}",
  45. "🏕",
  46. "{% elseif tags.leisure=='indoor_play' or tags.kids_area %}",
  47. "🏠",
  48. "{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
  49. "<i class=\"fa fa-shopping-cart\"></i>",
  50. "{% elseif tags.amenity=='toilets' and tags.diaper %}",
  51. "🚽🚼",
  52. "{% endif %}"
  53. ]
  54. },
  55. "info": [
  56. "<table>",
  57. " <tr>",
  58. " <td>{{ markerCircle({})|raw }}<div class='sign'>⛹</div></td>",
  59. " <td>{{ tagTrans('leisure', 'playground') }}</td>",
  60. " </tr>",
  61. " <tr>",
  62. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>",
  63. " <td>{{ tagTrans('leisure', 'indoor_play') }}</td>",
  64. " </tr>",
  65. " <tr>",
  66. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏕</div></td>",
  67. " <td>{{ tagTrans('leisure', 'summer_camp') }}</td>",
  68. " </tr>",
  69. " <tr>",
  70. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>",
  71. " <td>{{ keyTrans('kids_area') }}</td>",
  72. " </tr>",
  73. " <tr>",
  74. " <td>{{ markerCircle({})|raw }}<div class='sign'><i class=\"fa fa-shopping-cart\"></i></div></td>",
  75. " <td>{{ keyTrans('shop') }}: {{ tagTransList('shop', 'baby_goods;toys') }}</td>",
  76. " </tr>",
  77. " <tr>",
  78. " <td>{{ markerCircle({})|raw }}<div class='sign'>🚽🚼</div></td>",
  79. " <td>{{ tagTrans('amenity', 'toilets') }} with diaper changing table</td>",
  80. " </tr>",
  81. "</table>"
  82. ]
  83. }