From 8fb66436d0c4a8a86e150a0f58f5faf2141a3dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Diogo?= Date: Mon, 25 Jan 2021 19:50:56 +0000 Subject: [PATCH 1/2] train_protection.mss: Add EBICAB rendering. --- train_protection.mss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/train_protection.mss b/train_protection.mss index c0ff34d61..9ffb67d9a 100644 --- a/train_protection.mss +++ b/train_protection.mss @@ -7,6 +7,8 @@ @pzb_color: #ffb900; @lzb_color: red; @atb_color: #ff8c00; +@ebicab_700_color: green; +@ebicab_900_color: #00cc00; @etcs_color: blue; @etcs_construction_color: #87CEFA; @@ -62,6 +64,12 @@ ["atb_vv"="yes"] { line-color: @atb_color; } + ["ebicab"="700"] { + line-color: @ebicab_700_color; + } + ["ebicab"="900"] { + line-color: @ebicab_900_color; + } ["etcs"!="no"] { line-color: @etcs_color; } From 52ede932913631dfed8f554274cddb2413ba0d1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Diogo?= Date: Mon, 25 Jan 2021 20:10:58 +0000 Subject: [PATCH 2/2] signals.mml: Add EBICAB tag. --- signals.mml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/signals.mml b/signals.mml index e5ab6a334..d690324a4 100644 --- a/signals.mml +++ b/signals.mml @@ -98,7 +98,7 @@ Layer: NULL AS construction_usage, NULL AS construction_service, NULL AS preserved_railway, NULL AS preserved_service, NULL AS preserved_usage, - pzb, lzb, atb, atb_eg, atb_ng, atb_vv, etcs, construction_etcs, + pzb, lzb, atb, atb_eg, atb_ng, atb_vv, ebicab, etcs, construction_etcs, railway_train_protection_rank(pzb, lzb, atb, atb_eg, atb_ng, atb_vv, etcs, construction_etcs) AS rank FROM (SELECT @@ -109,6 +109,7 @@ Layer: tags->'railway:atb-eg' AS atb_eg, tags->'railway:atb-ng' AS atb_ng, tags->'railway:atb-vv' AS atb_vv, + tags->'railway:ebicab' AS ebicab, railway_etcs_null_no(tags->'railway:etcs') AS etcs, railway_etcs_null_no(tags->'construction:railway:etcs') AS construction_etcs FROM openrailwaymap_osm_line