Skip to content

CZ Signals Part 3#855

Draft
detective-fiasco wants to merge 17 commits intohiddewie:masterfrom
detective-fiasco:cz-signals-overhaul
Draft

CZ Signals Part 3#855
detective-fiasco wants to merge 17 commits intohiddewie:masterfrom
detective-fiasco:cz-signals-overhaul

Conversation

@detective-fiasco
Copy link

@detective-fiasco detective-fiasco commented Mar 13, 2026

Hi there, I updated the rendering of Czech signals a bit.

There will definitely be further changes (especially concerning speed_limit signals), but this would be great to get online.
I can add images of what's changed with localhost preview links if necessary.

Here's a summary of what's changed:

  • Organized the icons into folders per signal type (e.g. the part after CZ-D1:)

  • For consistency, the descriptions of signals are now always in Czech

  • Reworked icons and the logic behind choosing icons of combined/main light signals, distant light and shunting light signals.
    They now reflect the logic of 'display the most restrictive aspect except danger' (with the exception of auto-block signals, but this might get changed with the introduction of traversable). Also based on which states the signal can show, the most appropriate number of light bulbs is approximated.

  • Updated icons:

    • resetting_switch is now differentiated by yellow outline, commonly used on this type of signal for better visibility
    • CZ-D1:stuj rectangle sign now has the same dimensions as all the other rectangular signs
    • CZ-D1:posun_zakazan simplified svg
    • CZ-D1:navestidlo_vykolejky added a black square background, for differentiation from posun_zakazan
    • CZ-D1:predvestnik_ns removed the 0 at the ones place - not actually there on speed_limit_distant signals
    • CZ-D1:predvestnik_ns + speed=none is now supported. (Konec platnosti rychlostníků NS)
  • Added support for shortened speed_limit_distant signs.

  • Added rendering of distant sign CZ-D1:tabulka_s_krizem (just added the entry into .yaml, icons were ready)

  • Added support for newly established tag station_distant=CZ-D1:stanoviste_samostatne_predvesti. (Describes the board under distant light signals)

  • Removed CZ-D1:serazovaci_navestidlo in favor of CZ-D1:seradovaci_navestidlo (all signals have been rettaged already)

  • Partially changed the visualization of hlavni_navestidlo speed_limits to better reflect reality in most cases. Proper visualization of all possiblities needs better tagging.

  • Updated visualizations to recognize as many of HaPe-CZs signals as possible such as when ref is unknown and replaced by '_' or similar cases. However, for these signals only the basic signal icon is displayed, no differentiation based on states or minor:function is done. This is a partial regression in functionality, but it keeps the .yaml clean*-ish*. By far the majority of recognized signals are shunting light signals and those do not require any differentiation.

@detective-fiasco detective-fiasco marked this pull request as draft March 17, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant