From 01b0707bbaaee2fb4aae49833e890c19c7db9a97 Mon Sep 17 00:00:00 2001 From: Hidde Wieringa Date: Sat, 30 Nov 2024 16:23:53 +0100 Subject: [PATCH] directions for ETCS block markers (and arrows) --- features/signals_railway_signals.yaml | 15 +++++++++++++-- symbols/general/etcs-stop-marker-arrow-down.svg | 6 ++++++ symbols/general/etcs-stop-marker-arrow-right.svg | 6 ++++++ .../general/etcs-stop-marker-triangle-down.svg | 6 ++++++ .../general/etcs-stop-marker-triangle-right.svg | 6 ++++++ 5 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 symbols/general/etcs-stop-marker-arrow-down.svg create mode 100644 symbols/general/etcs-stop-marker-arrow-right.svg create mode 100644 symbols/general/etcs-stop-marker-triangle-down.svg create mode 100644 symbols/general/etcs-stop-marker-triangle-right.svg diff --git a/features/signals_railway_signals.yaml b/features/signals_railway_signals.yaml index cd5214ba..e5b75b0b 100644 --- a/features/signals_railway_signals.yaml +++ b/features/signals_railway_signals.yaml @@ -84,6 +84,7 @@ signals_railway_signals: - 'railway:signal:wrong_road' - 'railway:signal:wrong_road:form' - 'railway:vacancy_detection' + - 'railway:signal:position' features: @@ -1261,7 +1262,12 @@ signals_railway_signals: - description: train protection block markers (arrow) country: NL - icon: { default: 'general/etcs-stop-marker-arrow-left' } + icon: + match: 'railway:signal:position' + cases: + - { regex: '^left$', value: 'general/etcs-stop-marker-arrow-right' } + - { regex: '^overhead$', value: 'general/etcs-stop-marker-arrow-down' } + default: 'general/etcs-stop-marker-arrow-left' tags: - { tag: 'railway:signal:train_protection', value: 'NL:227b' } - { tag: 'railway:signal:train_protection:form', value: 'sign' } @@ -1270,7 +1276,12 @@ signals_railway_signals: - description: train protection block markers (triangle) country: NL - icon: { default: 'general/etcs-stop-marker-triangle-left' } + icon: + match: 'railway:signal:position' + cases: + - { regex: '^left$', value: 'general/etcs-stop-marker-triangle-right' } + - { regex: '^overhead$', value: 'general/etcs-stop-marker-triangle-down' } + default: 'general/etcs-stop-marker-triangle-left' tags: - { tag: 'railway:signal:train_protection', values: ['NL:227b', 'DE-ESO:ne14'] } - { tag: 'railway:signal:train_protection:form', value: 'sign' } diff --git a/symbols/general/etcs-stop-marker-arrow-down.svg b/symbols/general/etcs-stop-marker-arrow-down.svg new file mode 100644 index 00000000..a4796610 --- /dev/null +++ b/symbols/general/etcs-stop-marker-arrow-down.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/symbols/general/etcs-stop-marker-arrow-right.svg b/symbols/general/etcs-stop-marker-arrow-right.svg new file mode 100644 index 00000000..dbcba329 --- /dev/null +++ b/symbols/general/etcs-stop-marker-arrow-right.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/symbols/general/etcs-stop-marker-triangle-down.svg b/symbols/general/etcs-stop-marker-triangle-down.svg new file mode 100644 index 00000000..62b6556d --- /dev/null +++ b/symbols/general/etcs-stop-marker-triangle-down.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/symbols/general/etcs-stop-marker-triangle-right.svg b/symbols/general/etcs-stop-marker-triangle-right.svg new file mode 100644 index 00000000..191ffffe --- /dev/null +++ b/symbols/general/etcs-stop-marker-triangle-right.svg @@ -0,0 +1,6 @@ + + + + + +