"{% if tags.highway == 'bus_stop' or tags.amenity == 'bus_station' or tags.amenity == 'ferry_terminal' or tags.railway == 'tram_stop' or tags.railway == 'halt' or tags.railway == 'station' or tags.aerialway == 'station' or tags.public_transport == 'stop_position' %}{% set isStop = true %}{% endif %}",
"{% set isWay = false %}",
"{% set aRoute = null %}",
@ -84,6 +85,7 @@
" {% else %}",
" {% if master.role|matches('^(|.*stop)$') and isStop %}",
" {% set isStop = true %}",
" {% set stopCount = stopCount + 1 %}",
" {% elseif master.role|matches('^(|forward|backward)$') and type == 'way' %}",