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.

49 lines
1.8 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. "pt": "Paragens e estações",
  17. "pt-br": "Paradas e Estações",
  18. "ru": "Остановки и станции",
  19. "uk": "Зупинки та станції"
  20. },
  21. "query": {
  22. "14": [
  23. "(",
  24. "node[railway~\"^(station|halt|tram_stop|platform)$\"];",
  25. "way[railway~\"^(station|platform)$\"];",
  26. "node[highway~\"^(bus_stop|platform)$\"];",
  27. "way[highway~\"^(platform)$\"];",
  28. "node[public_transport~\"^(stop_position|platform)$\"];",
  29. "way[public_transport~\"^(platform)$\"];",
  30. "node[amenity~\"^(ferry_terminal|bus_station)$\"];",
  31. ")"
  32. ]
  33. },
  34. "feature": {
  35. "pre": [
  36. "{% if tags.amenity in [ 'ferry_terminal', 'bus_station' ] %}",
  37. " {% set key = 'amenity' %}",
  38. " {% set value = tags.amenity %}",
  39. "{% elseif tags.railway == 'platform' or tags.highway == 'platform' or tags.public_transport == 'platform' %}",
  40. " {% set key = 'public_transport' %}",
  41. " {% set value = 'platform' %}",
  42. "{% else %}",
  43. " {% set key = 'public_transport' %}",
  44. " {% set value = 'stop_position' %}",
  45. "{% endif %}"
  46. ],
  47. "description": "{{ tagTrans(key, value) }}"
  48. }
  49. }