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.

47 lines
1.4 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. "hu": "Létesítmények",
  10. "it": "Infrastrutture",
  11. "ja": "生活環境",
  12. "nl": "Voorzieningen",
  13. "pt-br": "Equipamentos",
  14. "ru": "Транспортные принадлежности",
  15. "uk": "Amenities"
  16. },
  17. "query": {
  18. "14": [
  19. "(",
  20. "node[amenity~\"^(taxi|ticket_counter)$\"];",
  21. "way[amenity~\"^(taxi|ticket_counter)$\"];",
  22. "relation[amenity~\"^(taxi|ticket_counter)$\"];",
  23. "node[railway~\"^(subway_entrance)$\"];",
  24. "way[railway~\"^(subway_entrance)$\"];",
  25. "relation[railway~\"^(subway_entrance)$\"];",
  26. ")"
  27. ]
  28. },
  29. "feature": {
  30. "pre": [
  31. "{% if tags.railway == 'subway_entrance' %}",
  32. " {% set key = 'railway' %}",
  33. " {% set value = tags.railway %}",
  34. "{% else %}",
  35. " {% set key = 'amenity' %}",
  36. " {% set value = tags.amenity %}",
  37. "{% endif %}"
  38. ],
  39. "description": "{{ tagTrans(key, value) }}",
  40. "markerSign": "{{ const[value] }}"
  41. },
  42. "const": {
  43. "taxi": "🚖",
  44. "ticket_counter": "🎫",
  45. "subway_entrance": "🚉"
  46. }
  47. }