Show multiple train protection systems#976
Conversation
|
East US is becoming very colorful. Korea shows both KTCS and ETCS and ATC which may not be ideal. |
|
Curious question, could you exclude the PTC tag? The NEC would show ACSES and ETMS with the ATC in some spots. |
|
Yes exactly, I was looking into these kind of system combinations where one should exclude detection of the other. Indeed KTCS and ETCS have such a relationship, like PTC with ACSES and ETMS and I assume ITCS. |
|
ITCS,ETMS,ACSES are pretty much the main PTC systems in the US. PTC tag was the only option for the other ORM.ORG map pretty much not needed. Oh CBTC is a PTC system for 1 railroad in the US (PATH) The ATC is part of cab signal system speed protection in the US as well before PTC was mandated. |
|
ACSES and ATC, crossing another line with ETMS and ATC. South Korea zoomed out (with KTCS under construction visible) |
|
One thing which I am not happy about is the dashes of multiple lines getting all mixed up on zooms 7 to 14 |
|
Screenshots updated. This should be good to go! |
|
this is awesome ! I noticed that train protection colours don't work anymore for proposed railways (example), is that change intentional, or is it a tagging issue? |
|
Proposed railway lines should also show the color like before. That change was not intended. |
|
The problem of the missing colors on construction and proposed lines will be solved with #998. Thanks for noticing this. |
…998) Noticed in #976 (comment). At the moment the colors of railway lines under construction or are proposed are not rendered correctly and become gray. The composed Maplibre expressions were not handled correctly in the style. Before and after (https://openrailwaymap.app/#view=11.03/-28.6023/150.4&style=signals): <img width="1843" height="947" alt="image" src="https://github.com/user-attachments/assets/6914ff36-5fa2-4902-a3eb-e3d9f2713c99" />









Closes #549
Railway line states
Railway lines under construction and proposed are shown from zooms 7 onwards. These are a single dashed line with the train protection under construction if defined, and otherwise the train protection.
Present railway lines show one, two or three train protection systems present on the line, with dashes in multiple colors. If additionally a train protection system is under construction, it will be shown with dashes "around" the solid line.
No train protection
Previously there were explicit combinations configured for the case when one or more train protection tags were set to
no. Instead, if no train protection system is matched, a check is done against all known tags. If any of the tags isno, and all tags which are notnoare missing, the railway line is classified explicitly has having no train protection.Testing
Single train protection (http://localhost:8000/#view=8.43/47.33/1.057/0/1&style=signals):

Dual train protection (http://localhost:8000/#view=13.76/49.3852/6.17502/90.4/33&style=signals):


(http://localhost:8000/#view=13.41/49.55418/5.70635/0/1&style=signals)
Triple train protection (http://localhost:8000/#view=14.81/38.4966/-8.14791/0/1&style=signals)

Train protection under construction (http://localhost:8000/#view=11.43/49.2809/6.12&style=signals):


(http://localhost:8000/#view=14.73/49.43786/5.62508/0/1&style=signals)
No train protection, unknown train protection (http://localhost:8000/#view=14.94/49.23037/2.88653/0/1&style=signals):

Legend:

Country specific details:







(South Korea, http://localhost:8000/#view=6.76/36.675/128.003/0/1&style=signals)
(South Korea, http://localhost:8000/#view=10.24/36.3903/127.5182/0/1&style=signals)
(UK, London, http://localhost:8000/#view=14.27/51.50629/-0.09066/0/1&style=signals)
(UK, Great Western Main Line, http://localhost:8000/#view=14.34/51.50855/-0.47537/0/1&style=signals)
(Central Europe, construction of ETCS, http://localhost:8000/#view=5.06/51.25/10.24/0/1&style=signals)
(USA, Philadelphia)
(Uruguay, construction of ETCS, http://localhost:8000/#view=6.99/-33.272/-56.044/0/1&style=signals)