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.

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