"{% if member.tags.highway == 'bus_stop' or member.tags.amenity == 'bus_station' or member.tags.amenity == 'ferry_terminal' or member.tags.railway == 'tram_stop' or member.tags.railway == 'halt' or member.tags.railway == 'station' or member.tags.aerialway == 'station' or member.tags.public_transport == 'stop_position' or member.role|slice(-4) == 'stop' %}",
"{% 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 isWay = false %}",
"{% set aRoute = null %}",
"{% set aRoute = null %}",
"{% set refs = [] %}",
"{% set refs = [] %}",
@ -96,9 +97,9 @@
" {% if master.tags.public_transport == 'stop_area' %}",
" {% if master.tags.public_transport == 'stop_area' %}",
" {% set stopName = master.tags.name %}",
" {% set stopName = master.tags.name %}",
" {% else %}",
" {% else %}",
" {% if master.role|slice(-4) == 'stop' %}",
" {% if master.role|matches('^(|.*stop)$') and isStop %}",