Skip to content

Commit

Permalink
SE missing signals (#113)
Browse files Browse the repository at this point in the history
Part of #35 

| summary | count |
| :--- | :--- |
| main: SE:Mellansignal,  | 5591 |
| distant: SE:Försignal,  | 2096 |
| combined: SE:Mellanblocksignal,  | 1770 |
| combined: SE:Infartsignal,  | 1529 |
| combined: SE:Mellansignal,  | 1338 |
| main: SE:Utfartsblocksignal,  | 1066 |
| combined: SE:Utfartsblocksignal,  | 930 |
| main: SE:Mellanblocksignal,  | 852 |
| main: SE:Infartsignal,  | 594 |
| main: SE:Utfartssignal,  | 177 |
| combined: SE:Huvudsignal,  | 82 |
| main: SE:Linjeplatssignal,  | 75 |
| crossing: SE:Vägskyddssignal,  | 73 |
| main: SE:Infartssignal,  | 45 |
| combined: SE:Infartssignal,  | 42 |
| main: SE:Infartsignal ej försignalerad,  | 22 |
| combined: SE:huvudljussignaler, main: SE:Mellansignal,  | 15 |
| distant: SE:Försignal Skredvarning,  | 15 |
| train\_protection: SE:repeaterbalister,  | 14 |
| shunting: SE:Växlingsdvärgsignal,  | 12 |
| distant: SE:Repeterförsignal,  | 9 |
| combined: SE:huvudljussignaler, main: SE:Mellansignal, minor:
SE:dvärgsignaler, | 9 |
| combined: SE:Mellansignal, train\_protection: SE:förvarningstavla, | 7
|
| train\_protection: SE:förvarningstavla,  | 4 |
| distant: SE:orienteringstavla,  | 4 |
| train\_protection: SE:ATC-överskridande,  | 3 |
| main: SE:Blocksignal,  | 3 |
| main: SE:Mellansignal, minor: SE:dvärgsignaler,  | 3 |
| shunting: SE:Skyddsstopplykta,  | 2 |
| combined: SE:Linjeplatssignal,  | 2 |
| minor: SE:dvärgsignaler,  | 2 |
| main: SE:Linjeplatssignal ej försignalerad,  | 2 |
| main: SE:Huvudsignal,  | 2 |
| distant: SE:Försignal\_skredvarning,  | 2 |
| combined: SE:huvudljussignaler,  | 1 |
| main: SE:Inft,  | 1 |
| main: SE:Huvudsignaltavla,  | 1 |
| main: SE:huvudljussignaler, minor: SE:dvärgsignaler,  | 1 |
| main\_repeated: SE:Repetersignal,  | 1 |
  • Loading branch information
hiddewie authored Oct 12, 2024
1 parent 78ca1e7 commit 640fd77
Show file tree
Hide file tree
Showing 15 changed files with 223 additions and 0 deletions.
96 changes: 96 additions & 0 deletions features/signals_railway_signals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ signals_railway_signals:
- 'railway:signal:distant:states'
- 'railway:signal:distant:height'
- 'railway:signal:distant:type'
- 'railway:signal:distant:distance'
- 'railway:signal:fouling_point'
- 'railway:signal:helper_engine'
- 'railway:signal:helper_engine:form'
Expand Down Expand Up @@ -1778,3 +1779,98 @@ signals_railway_signals:
icon: { default: 'pl/ztm-mw/wm17' }
tags:
- { tag: 'railway:signal:fouling_point', value: 'ZTM-MW:wm17' }

# --- SE --- #

- description: Mellansignal (dvärg)
country: SE
icon: { default: 'se/shunting-main' }
tags:
- { tag: 'railway:signal:main', value: 'SE:Mellansignal' }
- { tag: 'railway:signal:main:form', value: 'light' }
- { tag: 'railway:signal:main:height', value: 'dwarf' }

- description: Växlingsdvärgsignal
country: SE
icon: { default: 'se/shunting' }
tags:
- { tag: 'railway:signal:shunting', value: 'SE:Växlingsdvärgsignal' }
- { tag: 'railway:signal:shunting:form', value: 'light' }

- description: Skyddsstopplykta
country: SE
icon: { default: 'se/skyddsstopplykta' }
tags:
- { tag: 'railway:signal:shunting', value: 'SE:Skyddsstopplykta' }
- { tag: 'railway:signal:shunting:form', value: 'sign' }

- description: Mellanblocksignal, Utfartsblocksignal (main)
country: SE
# TODO support icons for each variant
icon: { default: 'se/main-block' }
tags:
- { tag: 'railway:signal:main', values: ['SE:Utfartsblocksignal', 'SE:Mellanblocksignal'] }
- { tag: 'railway:signal:main:form', value: 'light' }

- description: Infartssignal, Mellansignal, Utfartssignal (main)
country: SE
# TODO support icons for each variant
icon: { default: 'se/main' }
tags:
- { tag: 'railway:signal:main', values: ['SE:Huvudsignal', 'SE:Utfartssignal', 'SE:Infartssignal', 'SE:Mellansignal'] }
- { tag: 'railway:signal:main:form', value: 'light' }

- description: Mellanblocksignal, Utfartsblocksignal (combined)
country: SE
# TODO support icons for each variant
icon: { default: 'se/combined-block' }
tags:
- { tag: 'railway:signal:combined', values: ['SE:Utfartsblocksignal', 'SE:Mellanblocksignal'] }
- { tag: 'railway:signal:combined:form', value: 'light' }

- description: Infartssignal, Mellansignal, Utfartssignal (combined)
country: SE
# TODO support icons for each variant
icon: { default: 'se/combined' }
tags:
- { tag: 'railway:signal:combined', values: ['SE:Huvudsignal', 'SE:Utfartssignal', 'SE:Infartssignal', 'SE:Mellansignal'] }
- { tag: 'railway:signal:combined:form', value: 'light' }

- description: Försignal
country: SE
icon: { default: 'se/försignal' }
tags:
- { tag: 'railway:signal:distant', value: 'SE:Försignal' }
- { tag: 'railway:signal:distant:form', value: 'light' }

- description: Repeterbalister
country: SE
icon: { default: 'se/repeterbaliser' }
tags:
- { tag: 'railway:signal:train_protection', value: 'SE:Repeterbaliser' }
- { tag: 'railway:signal:train_protection:form', value: 'sign' }

- description: Repetersignal
country: SE
icon: { default: 'se/repetersignal' }
tags:
- { tag: 'railway:signal:main_repeated', value: 'SE:Repetersignal' }
- { tag: 'railway:signal:main_repeated:form', value: 'light' }

- description: Orienteringstavla huvudsignal
country: SE
icon:
match: 'railway:signal:distant:distance'
cases:
- { regex: '^.+$', value: 'se/orienteringstavla-huvudsignal-avstånd' }
default: 'se/orienteringstavla-huvudsignal'
tags:
- { tag: 'railway:signal:distant', value: 'SE:orienteringstavla' }
- { tag: 'railway:signal:distant:form', value: 'sign' }

- description: Vägskyddssignal
country: SE
icon: { default: 'se/vägskyddssignal' }
tags:
- { tag: 'railway:signal:crossing', value: 'SE:Vägskyddssignal' }
- { tag: 'railway:signal:crossing:form', value: 'light' }
14 changes: 14 additions & 0 deletions symbols/se/combined-block.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions symbols/se/combined.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions symbols/se/försignal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions symbols/se/försignalbaliser.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions symbols/se/main-block.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 640fd77

Please sign in to comment.