Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion signals.mml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 8 additions & 0 deletions train_protection.mss
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
}
Expand Down