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.

85 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. "hu": "Létesítmények gyermekeknek",
  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. "node[amenity=toilets][diaper];",
  20. "way[amenity=toilets][diaper];relation[amenity=toilets][diaper];",
  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.diaper %}",
  40. "{{ tagTrans('amenity', 'toilets') }} with diaper changing table",
  41. "{% endif %}"
  42. ],
  43. "markerSign": [
  44. "{% if tags.leisure=='playground' %}",
  45. "⛹",
  46. "{% elseif tags.leisure=='summer_camp'%}",
  47. "🏕",
  48. "{% elseif tags.leisure=='indoor_play' or tags.kids_area %}",
  49. "🏠",
  50. "{% elseif tags.shop=='baby_goods' or tags.shop=='toys' %}",
  51. "<i class=\"fa fa-shopping-cart\"></i>",
  52. "{% elseif tags.amenity=='toilets' and tags.diaper %}",
  53. "🚽🚼",
  54. "{% endif %}"
  55. ]
  56. },
  57. "info": [
  58. "<table>",
  59. " <tr>",
  60. " <td>{{ markerCircle({})|raw }}<div class='sign'>⛹</div></td>",
  61. " <td>{{ tagTrans('leisure', 'playground') }}</td>",
  62. " </tr>",
  63. " <tr>",
  64. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>",
  65. " <td>{{ tagTrans('leisure', 'indoor_play') }}</td>",
  66. " </tr>",
  67. " <tr>",
  68. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏕</div></td>",
  69. " <td>{{ tagTrans('leisure', 'summer_camp') }}</td>",
  70. " </tr>",
  71. " <tr>",
  72. " <td>{{ markerCircle({})|raw }}<div class='sign'>🏠</div></td>",
  73. " <td>{{ keyTrans('kids_area') }}</td>",
  74. " </tr>",
  75. " <tr>",
  76. " <td>{{ markerCircle({})|raw }}<div class='sign'><i class=\"fa fa-shopping-cart\"></i></div></td>",
  77. " <td>{{ keyTrans('shop') }}: {{ tagTransList('shop', 'baby_goods;toys') }}</td>",
  78. " </tr>",
  79. " <tr>",
  80. " <td>{{ markerCircle({})|raw }}<div class='sign'>🚽🚼</div></td>",
  81. " <td>{{ tagTrans('amenity', 'toilets') }} with diaper changing table</td>",
  82. " </tr>",
  83. "</table>"
  84. ]
  85. }