|
@ -14,11 +14,11 @@ |
|
|
"{% set railway_type = null %}", |
|
|
"{% set railway_type = null %}", |
|
|
"", |
|
|
"", |
|
|
"{% if tags.railway == 'disused' %}", |
|
|
"{% if tags.railway == 'disused' %}", |
|
|
" {% set railway_type = attribute(tags, 'disused:railway')|default(tags.disused) %}", |
|
|
|
|
|
|
|
|
" {% set railway_type = attribute(tags, 'disused:railway')|default(tags.disused)|default('rail') %}", |
|
|
"{% elseif tags.railway == 'abandoned' %}", |
|
|
"{% elseif tags.railway == 'abandoned' %}", |
|
|
" {% set railway_type = attribute(tags, 'abandoned:railway')|default(tags.abandoned) %}", |
|
|
|
|
|
|
|
|
" {% set railway_type = attribute(tags, 'abandoned:railway')|default(tags.abandoned)|default('rail') %}", |
|
|
"{% elseif tags.railway == 'proposed' %}", |
|
|
"{% elseif tags.railway == 'proposed' %}", |
|
|
" {% set railway_type = attribute(tags, 'proposed:railway')|default(tags.proposed) %}", |
|
|
|
|
|
|
|
|
" {% set railway_type = attribute(tags, 'proposed:railway')|default(tags.proposed)|default('rail') %}", |
|
|
"{% elseif tags.railway in [ 'rail', 'narrow_gauge', 'subway', 'light_rail', 'tram' ] %}", |
|
|
"{% elseif tags.railway in [ 'rail', 'narrow_gauge', 'subway', 'light_rail', 'tram' ] %}", |
|
|
" {% set railway_type = tags.railway %}", |
|
|
" {% set railway_type = tags.railway %}", |
|
|
"{% endif %}" |
|
|
"{% endif %}" |
|
|