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.

82 lines
3.3 KiB

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