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.

138 lines
5.6 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ca": "Serveis per a infants",
  5. "cs": "Vybavení pro děti",
  6. "de": "Einrichtungen für Kinder",
  7. "en": "Children amenities",
  8. "es": "Instalaciones para niños",
  9. "fr": "Équipements pour enfants",
  10. "gl": "Instalacións infantís",
  11. "hu": "Gyermekek",
  12. "it": "Luoghi per bambini",
  13. "ja": "子ども用施設",
  14. "nb": "Barnefasiliteter",
  15. "nl": "Voorzieningen voor kinderen",
  16. "oc": "Luòcs per leis enfants",
  17. "pl": "Użyteczne dzieciom",
  18. "pt": "Equipamentos infantis",
  19. "pt-br": "Equipamentos infantis",
  20. "ro": "Facilități copii",
  21. "sr": "Додаци за децу",
  22. "tr": "Çocuk Malzemeleri"
  23. },
  24. "query": {
  25. "15": [
  26. "(",
  27. "node[leisure~'^(playground|summer_camp|indoor_play)$'];",
  28. "way[leisure~'^(playground|summer_camp|indoor_play)$'];",
  29. "relation[leisure~'^(playground|summer_camp|indoor_play)$'];",
  30. "node[shop~'^(baby_goods|toys)$'];",
  31. "way[shop~'^(baby_goods|toys)$'];",
  32. "relation[shop~'^(baby_goods|toys)$'];",
  33. "nwr[changing_table][changing_table!=no];",
  34. "nwr[diaper][diaper!=no];",
  35. "node[kids_area];",
  36. "way[kids_area];",
  37. "relation[kids_area];",
  38. ");"
  39. ]
  40. },
  41. "feature": {
  42. "description": [
  43. "{% if tags.leisure=='playground' %}",
  44. "{{ tagTrans('leisure', 'playground') }}",
  45. "{% elseif tags.leisure=='summer_camp'%}",
  46. "{{ tagTrans('leisure', 'summer_camp') }}",
  47. "{% elseif tags.leisure=='indoor_play' %}",
  48. "{{ tagTrans('leisure', 'indoor_play') }}",
  49. "{% elseif tags.kids_area %}",
  50. "{{ keyTrans('kids_area') }}",
  51. "{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
  52. "{{ keyTrans('shop') }}: {{ tagTrans('shop', tags.shop) }}",
  53. "{% elseif tags.amenity == 'toilets' and ( (tags.changing_table and tags.changing_table != 'no') or (tags.diaper and tags.diaper != 'no') ) %}",
  54. "{{ tagTrans('amenity', 'toilets changing_table=yes') }}",
  55. "{% elseif (tags.changing_table and tags.changing_table != 'no') or (tags.diaper and tags.diaper != 'no') %}",
  56. "{{ keyTrans('changing_table') }}",
  57. "{% endif %}"
  58. ],
  59. "markerSign": [
  60. "{% if tags.leisure=='playground' %}",
  61. "⛹",
  62. "{% elseif tags.leisure=='summer_camp'%}",
  63. "🏕",
  64. "{% elseif tags.leisure=='indoor_play' or tags.kids_area %}",
  65. "🏠",
  66. "{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
  67. "<i class=\"fa fa-shopping-cart\"></i>",
  68. "{% elseif tags.amenity=='toilets' and tags.changing_table and tags.changing_table!='no' %}",
  69. "🚽🚼",
  70. "{% endif %}"
  71. ]
  72. },
  73. "info": [
  74. "<table>",
  75. " <tr>",
  76. " <td>{{ markerCircle({})|raw }}<div class='sign'>⛹</div></td>",
  77. " <td>{{ tagTrans('leisure', 'playground') }}</td>",
  78. " </tr>",
  79. " <tr>",
  80. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>",
  81. " <td>{{ tagTrans('leisure', 'indoor_play') }}</td>",
  82. " </tr>",
  83. " <tr>",
  84. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏕</div></td>",
  85. " <td>{{ tagTrans('leisure', 'summer_camp') }}</td>",
  86. " </tr>",
  87. " <tr>",
  88. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>",
  89. " <td>{{ keyTrans('kids_area') }}</td>",
  90. " </tr>",
  91. " <tr>",
  92. " <td>{{ markerCircle({})|raw }}<div class='sign'><i class=\"fa fa-shopping-cart\"></i></div></td>",
  93. " <td>{{ keyTrans('shop') }}: {{ tagTransList('shop', 'baby_goods;toys') }}</td>",
  94. " </tr>",
  95. " <tr>",
  96. " <td>{{ markerCircle({})|raw }}<div class='sign'>🚽🚼</div></td>",
  97. " <td>{{ tagTrans('amenity', 'toilets changing_table=yes') }}</td>",
  98. " </tr>",
  99. "</table>"
  100. ],
  101. "filter": {
  102. "type": {
  103. "name": "{{ trans('filter:type') }}",
  104. "type": "select",
  105. "show_default": "true",
  106. "values": {
  107. "playground": {
  108. "name": "{{ tagTrans('leisure', 'playground') }}",
  109. "query": "nwr[leisure=playground]"
  110. },
  111. "indoor_play": {
  112. "name": "{{ tagTrans('leisure', 'indoor_play') }}",
  113. "query": "nwr[leisure=indoor_play]"
  114. },
  115. "summer_camp": {
  116. "name": "{{ tagTrans('leisure', 'summer_camp') }}",
  117. "query": "nwr[leisure=summer_camp]"
  118. },
  119. "kids_area": {
  120. "name": "{{ keyTrans('kids_area') }}",
  121. "query": "nwr[kids_area]"
  122. },
  123. "shop_baby_goods": {
  124. "name": "{{ tagTrans('shop', 'baby_goods') }}",
  125. "query": "nwr[shop=baby_goods]"
  126. },
  127. "shop_toys": {
  128. "name": "{{ tagTrans('shop', 'toys') }}",
  129. "query": "nwr[shop=toys]"
  130. },
  131. "toilets": {
  132. "name": "{{ tagTrans('amenity', 'toilets changing_table=yes') }}",
  133. "query": "nwr[amenity=toilets][changing_table][changing_table!=no]"
  134. }
  135. }
  136. }
  137. }
  138. }