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.

26 lines
1.4 KiB

  1. {
  2. "type": "overpass",
  3. "name": {
  4. "ast": "Paraes y estaciones",
  5. "cs": "Zastávky & Stanice",
  6. "de": "Haltestellen",
  7. "el": "Στάσεις & Σταθμοί",
  8. "en": "Stops & Stations",
  9. "es": "Paradas y estaciones",
  10. "fr": "Arrêts/Stops, Stations",
  11. "hu": "Megállók és állomások",
  12. "it": "Stazioni e fermate",
  13. "ja": "停留所と駅",
  14. "nl": "Haltes en Stations",
  15. "pl": "Przystanki i Stacje",
  16. "ru": "Остановки и станции",
  17. "uk": "Зупинки та станції"
  18. },
  19. "query": {
  20. "14": "(\nnode[railway~\"^(station|halt|tram_stop|platform)$\"];\nway[railway~\"^(station|platform)$\"];\nnode[highway~\"^(bus_stop|platform)$\"];\nway[highway~\"^(platform)$\"];\nnode[public_transport~\"^(stop_position|platform)$\"];\nway[public_transport~\"^(platform)$\"];\nnode[amenity~\"^(ferry_terminal|bus_station)$\"];\n)"
  21. },
  22. "feature": {
  23. "pre": "{% if tags.amenity in [ 'ferry_terminal', 'bus_station' ] %}\n {% set key = 'amenity' %}\n {% set value = tags.amenity %}\n{% elseif tags.railway == 'platform' or tags.highway == 'platform' or tags.public_transport == 'platform' %}\n {% set key = 'public_transport' %}\n {% set value = 'platform' %}\n{% else %}\n {% set key = 'public_transport' %}\n {% set value = 'stop_position' %}\n{% endif %}",
  24. "description": "{{ tagTrans(key, value) }}"
  25. }
  26. }