Browse Source

'railway-infrastructure.json' ändern

master
parent
commit
4741e36e5b
  1. 6
      railway-infrastructure.json

6
railway-infrastructure.json

@ -14,11 +14,11 @@
"{% set railway_type = null %}",
"",
"{% 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' %}",
" {% 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' %}",
" {% 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' ] %}",
" {% set railway_type = tags.railway %}",
"{% endif %}"

Loading…
Cancel
Save