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.

45 lines
1.3 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Infraestructures",
  5. "cs": "Občanská vybavenost",
  6. "de": "Einrichtungen",
  7. "en": "Amenities",
  8. "fr": "Équipements",
  9. "it": "Infrastrutture",
  10. "ja": "生活環境",
  11. "nl": "Voorzieningen",
  12. "ru": "Транспортные принадлежности",
  13. "uk": "Amenities"
  14. },
  15. "query": {
  16. "14": [
  17. "(",
  18. "node[amenity~\"^(taxi|ticket_counter)$\"];",
  19. "way[amenity~\"^(taxi|ticket_counter)$\"];",
  20. "relation[amenity~\"^(taxi|ticket_counter)$\"];",
  21. "node[railway~\"^(subway_entrance)$\"];",
  22. "way[railway~\"^(subway_entrance)$\"];",
  23. "relation[railway~\"^(subway_entrance)$\"];",
  24. ")"
  25. ]
  26. },
  27. "feature": {
  28. "pre": [
  29. "{% if tags.railway == 'subway_entrance' %}",
  30. " {% set key = 'railway' %}",
  31. " {% set value = tags.railway %}",
  32. "{% else %}",
  33. " {% set key = 'amenity' %}",
  34. " {% set value = tags.amenity %}",
  35. "{% endif %}"
  36. ],
  37. "description": "{{ tagTrans(key, value) }}",
  38. "markerSign": "{{ const[value] }}"
  39. },
  40. "const": {
  41. "taxi": "🚖",
  42. "ticket_counter": "🎫",
  43. "subway_entrance": "🚉"
  44. }
  45. }