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.

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