Main categories of OpenStreetBrowser with support for whitewater
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.

124 lines
5.0 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. "nwr[changing_table][changing_table!=no];",
  20. "nwr[diaper][diaper!=no];",
  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.changing_table and tags.changing_table != 'no') or (tags.diaper and tags.diaper != 'no') ) %}",
  40. "{{ tagTrans('amenity', 'toilets changing_table=yes') }}",
  41. "{% elseif (tags.changing_table and tags.changing_table != 'no') or (tags.diaper and tags.diaper != 'no') %}",
  42. "{{ keyTrans('changing_table') }}",
  43. "{% endif %}"
  44. ],
  45. "markerSign": [
  46. "{% if tags.leisure=='playground' %}",
  47. "⛹",
  48. "{% elseif tags.leisure=='summer_camp'%}",
  49. "🏕",
  50. "{% elseif tags.leisure=='indoor_play' or tags.kids_area %}",
  51. "🏠",
  52. "{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
  53. "<i class=\"fa fa-shopping-cart\"></i>",
  54. "{% elseif tags.amenity=='toilets' and tags.changing_table and tags.changing_table!='no' %}",
  55. "🚽🚼",
  56. "{% endif %}"
  57. ]
  58. },
  59. "info": [
  60. "<table>",
  61. " <tr>",
  62. " <td>{{ markerCircle({})|raw }}<div class='sign'>⛹</div></td>",
  63. " <td>{{ tagTrans('leisure', 'playground') }}</td>",
  64. " </tr>",
  65. " <tr>",
  66. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>",
  67. " <td>{{ tagTrans('leisure', 'indoor_play') }}</td>",
  68. " </tr>",
  69. " <tr>",
  70. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏕</div></td>",
  71. " <td>{{ tagTrans('leisure', 'summer_camp') }}</td>",
  72. " </tr>",
  73. " <tr>",
  74. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>",
  75. " <td>{{ keyTrans('kids_area') }}</td>",
  76. " </tr>",
  77. " <tr>",
  78. " <td>{{ markerCircle({})|raw }}<div class='sign'><i class=\"fa fa-shopping-cart\"></i></div></td>",
  79. " <td>{{ keyTrans('shop') }}: {{ tagTransList('shop', 'baby_goods;toys') }}</td>",
  80. " </tr>",
  81. " <tr>",
  82. " <td>{{ markerCircle({})|raw }}<div class='sign'>🚽🚼</div></td>",
  83. " <td>{{ tagTrans('amenity', 'toilets changing_table=yes') }}</td>",
  84. " </tr>",
  85. "</table>"
  86. ],
  87. "filter": {
  88. "type": {
  89. "name": "{{ trans('filter:type') }}",
  90. "type": "select",
  91. "show_default": "true",
  92. "values": {
  93. "playground": {
  94. "name": "{{ tagTrans('leisure', 'playground') }}",
  95. "query": "nwr[leisure=playground]"
  96. },
  97. "indoor_play": {
  98. "name": "{{ tagTrans('leisure', 'indoor_play') }}",
  99. "query": "nwr[leisure=indoor_play]"
  100. },
  101. "summer_camp": {
  102. "name": "{{ tagTrans('leisure', 'summer_camp') }}",
  103. "query": "nwr[leisure=summer_camp]"
  104. },
  105. "kids_area": {
  106. "name": "{{ keyTrans('kids_area') }}",
  107. "query": "nwr[kids_area]"
  108. },
  109. "shop_baby_goods": {
  110. "name": "{{ tagTrans('shop', 'baby_goods') }}",
  111. "query": "nwr[shop=baby_goods]"
  112. },
  113. "shop_toys": {
  114. "name": "{{ tagTrans('shop', 'toys') }}",
  115. "query": "nwr[shop=toys]"
  116. },
  117. "toilets": {
  118. "name": "{{ tagTrans('amenity', 'toilets changing_table=yes') }}",
  119. "query": "nwr[amenity=toilets][changing_table][changing_table!=no]"
  120. }
  121. }
  122. }
  123. }
  124. }