Skip to content

Commit

Permalink
Main repeated states check
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddewie committed Oct 21, 2023
1 parent 1463a2a commit bf28c5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions signals.mml
Original file line number Diff line number Diff line change
Expand Up @@ -350,11 +350,9 @@ Layer:
tags->'railway:signal:ring:states' AS ring_states,
tags->'railway:signal:whistle:states' AS whistle_states,
tags->'railway:signal:departure:states' AS departure_states,
tags->'railway:signal:main_repeated:states' AS main_repeated_states,
tags->'railway:signal:combined:repeated' AS combined_repeated,
COALESCE(
tags->'railway:signal:main:repeated',
tags->'railway:signal:main_repeated'
) AS main_repeated,
tags->'railway:signal:main:repeated' AS main_repeated,
tags->'railway:signal:distant:repeated' AS distant_repeated,
tags->'railway:signal:train_protection:repeated' AS train_protection_repeated,
tags->'railway:signal:minor:repeated' AS minor_repeated,
Expand Down
2 changes: 1 addition & 1 deletion signals.mss
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ Format details:
/**********************************/
/* NL repeated main light signals */
/**********************************/
["feature"="NL"]["main_repeated"="NL"] {
["feature"="NL"]["main_repeated_states"="NL:272;NL:273"] {
::text {
text-name: [ref];
text-dy: 12;
Expand Down

0 comments on commit bf28c5e

Please sign in to comment.