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.

53 lines
2.1 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. "&#128701;&#128700;",
  51. "{% endif %}"
  52. ]
  53. }
  54. }