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.

86 lines
3.4 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. "node[playground];",
  24. "way[playground];",
  25. "relation[playground];",
  26. ");"
  27. ]
  28. },
  29. "feature": {
  30. "description": [
  31. "{% if tags.leisure=='playground' %}",
  32. "{{ tagTrans('leisure', 'playground') }}",
  33. "{% elseif tags.leisure=='summer_camp'%}",
  34. "{{ tagTrans('leisure', 'summer_camp') }}",
  35. "{% elseif tags.leisure=='indoor_play' %}",
  36. "{{ tagTrans('leisure', 'indoor_play') }}",
  37. "{% elseif tags.kids_area %}",
  38. "{{ keyTrans('kids_area') }}",
  39. "{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
  40. "{{ keyTrans('shop') }}: {{ tagTrans('shop', tags.shop) }}",
  41. "{% elseif tags.amenity=='toilets' and tags.diaper %}",
  42. "{{ tagTrans('amenity', 'toilets') }} with diaper 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.diaper %}",
  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') }} with diaper changing table</td>",
  84. " </tr>",
  85. "</table>"
  86. ]
  87. }