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.

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