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.7 KiB

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