Skip to content

Add initial support for polish signals #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Add initial support for polish signals #107

wants to merge 3 commits into from

Conversation

besentv
Copy link
Contributor

@besentv besentv commented Nov 1, 2023

The signal images are self-made creations.

Example renderings at Wrocław station and west of it:

Screenshot_20231102_003041
Screenshot_20231102_002820

@besentv
Copy link
Contributor Author

besentv commented Nov 2, 2023

Added support for semaphores and distant signals:

Łęgajny station:
Screenshot_20231102_201101
Świdnica station (has distant signals):
Screenshot_20231102_203756
South area of Warszawa (has block signals):
Screenshot_20231102_205519

@besentv
Copy link
Contributor Author

besentv commented Nov 18, 2023

Removed a pink outline on some signals.

@besentv
Copy link
Contributor Author

besentv commented Dec 9, 2023

I removed all the metadata from the SVGs

@DerDakon DerDakon added the style:signals signalling style label Dec 9, 2023
@@ -623,8 +623,12 @@ Format details:
/* DE distant semaphore signals type Vr which */
/* - have no railway:signal:states=* tag */
/* - OR have railway:signal:states=* tag that does neither include Vr1 nor Vr2 */
/* */
/* PL distant semaphore signals type On/Od/Ot */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mention 3 types here, but the lines below add only 2 of them.

signals.mss Outdated
Comment on lines 650 to 652
["distant_states"=~"^(.*;)?DE-ESO:vr1(;.*)?$"],
["distant_states"=~"^(.*;)?PL-PKP:od2(;.*)?$"],
["distant_states"=~"^(.*;)?PL-PKP:ot2(;.*)?$"] {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add a ["feature"=… for everything in here now. Before it were only German signals, now you could have mixed tagging. See below for main signals how this is done.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be good now

Comment on lines +1352 to +1398
/*******************************************************/
/* PL main, combined and distant light signals */
/*******************************************************/
["feature"="PL-PKP:s"] {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is nothing that is up to you, but I wonder if we should factor out the country specific signals to their own files and only #include them here (however that works in CartoCSS). @Nakaner?

@DerDakon DerDakon requested a review from Nakaner December 9, 2023 16:45
@besentv
Copy link
Contributor Author

besentv commented Mar 4, 2024

So, how should I move forward with this? Just move everything into a country specific file?

@besentv besentv closed this by deleting the head repository Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
style:signals signalling style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants