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.

121 lines
4.7 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "de": "Einrichtungen für Kinder",
  5. "en": "Children amenities",
  6. "fr": "Équipements pour enfants",
  7. "hu": "Gyermekek",
  8. "pt-br": "Equipamentos infantis"
  9. },
  10. "query": {
  11. "15": [
  12. "(",
  13. "node[leisure~'^(playground|summer_camp|indoor_play)$'];",
  14. "way[leisure~'^(playground|summer_camp|indoor_play)$'];",
  15. "relation[leisure~'^(playground|summer_camp|indoor_play)$'];",
  16. "node[shop~'^(baby_goods|toys)$'];",
  17. "way[shop~'^(baby_goods|toys)$'];",
  18. "relation[shop~'^(baby_goods|toys)$'];",
  19. "node[amenity=toilets][diaper];",
  20. "way[amenity=toilets][diaper];relation[amenity=toilets][diaper];",
  21. "node[kids_area];",
  22. "way[kids_area];",
  23. "relation[kids_area];",
  24. ");"
  25. ]
  26. },
  27. "feature": {
  28. "description": [
  29. "{% if tags.leisure=='playground' %}",
  30. "{{ tagTrans('leisure', 'playground') }}",
  31. "{% elseif tags.leisure=='summer_camp'%}",
  32. "{{ tagTrans('leisure', 'summer_camp') }}",
  33. "{% elseif tags.leisure=='indoor_play' %}",
  34. "{{ tagTrans('leisure', 'indoor_play') }}",
  35. "{% elseif tags.kids_area %}",
  36. "{{ keyTrans('kids_area') }}",
  37. "{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
  38. "{{ keyTrans('shop') }}: {{ tagTrans('shop', tags.shop) }}",
  39. "{% elseif tags.amenity=='toilets' and tags.diaper %}",
  40. "{{ tagTrans('amenity', 'toilets diaper=yes') }}",
  41. "{% endif %}"
  42. ],
  43. "markerSign": [
  44. "{% if tags.leisure=='playground' %}",
  45. "⛹",
  46. "{% elseif tags.leisure=='summer_camp'%}",
  47. "🏕",
  48. "{% elseif tags.leisure=='indoor_play' or tags.kids_area %}",
  49. "🏠",
  50. "{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
  51. "<i class=\"fa fa-shopping-cart\"></i>",
  52. "{% elseif tags.amenity=='toilets' and tags.diaper %}",
  53. "🚽🚼",
  54. "{% endif %}"
  55. ]
  56. },
  57. "info": [
  58. "<table>",
  59. " <tr>",
  60. " <td>{{ markerCircle({})|raw }}<div class='sign'>⛹</div></td>",
  61. " <td>{{ tagTrans('leisure', 'playground') }}</td>",
  62. " </tr>",
  63. " <tr>",
  64. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>",
  65. " <td>{{ tagTrans('leisure', 'indoor_play') }}</td>",
  66. " </tr>",
  67. " <tr>",
  68. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏕</div></td>",
  69. " <td>{{ tagTrans('leisure', 'summer_camp') }}</td>",
  70. " </tr>",
  71. " <tr>",
  72. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>",
  73. " <td>{{ keyTrans('kids_area') }}</td>",
  74. " </tr>",
  75. " <tr>",
  76. " <td>{{ markerCircle({})|raw }}<div class='sign'><i class=\"fa fa-shopping-cart\"></i></div></td>",
  77. " <td>{{ keyTrans('shop') }}: {{ tagTransList('shop', 'baby_goods;toys') }}</td>",
  78. " </tr>",
  79. " <tr>",
  80. " <td>{{ markerCircle({})|raw }}<div class='sign'>🚽🚼</div></td>",
  81. " <td>{{ tagTrans('amenity', 'toilets diaper=yes') }}</td>",
  82. " </tr>",
  83. "</table>"
  84. ],
  85. "filter": {
  86. "type": {
  87. "name": "{{ trans('filter:type') }}",
  88. "type": "select",
  89. "values": {
  90. "playground": {
  91. "name": "{{ tagTrans('leisure', 'playground') }}",
  92. "query": "nwr[leisure=playground]"
  93. },
  94. "indoor_play": {
  95. "name": "{{ tagTrans('leisure', 'indoor_play') }}",
  96. "query": "nwr[leisure=indoor_play]"
  97. },
  98. "summer_camp": {
  99. "name": "{{ tagTrans('leisure', 'summer_camp') }}",
  100. "query": "nwr[leisure=summer_camp]"
  101. },
  102. "kids_area": {
  103. "name": "{{ keyTrans('kids_area') }}",
  104. "query": "nwr[kids_area]"
  105. },
  106. "shop_baby_goods": {
  107. "name": "{{ tagTrans('shop', 'baby_goods') }}",
  108. "query": "nwr[shop=baby_goods]"
  109. },
  110. "shop_toys": {
  111. "name": "{{ tagTrans('shop', 'toys') }}",
  112. "query": "nwr[shop=toys]"
  113. },
  114. "toilets": {
  115. "name": "{{ tagTrans('amenities', 'toilets diaper=yes') }}",
  116. "query": "nwr[amenity=toilets][diaper]"
  117. }
  118. }
  119. }
  120. }
  121. }