Skip to content

Commit

Permalink
BE ETCS and speed signals (#230)
Browse files Browse the repository at this point in the history
http://localhost:8000/#view=16/50.619329/5.576643&style=speed


![image](https://github.com/user-attachments/assets/62a49c5b-acc9-4ccb-8341-922a5db78a34)
  • Loading branch information
hiddewie authored Feb 13, 2025
1 parent 7c327b7 commit 427ebc5
Show file tree
Hide file tree
Showing 17 changed files with 174 additions and 0 deletions.
82 changes: 82 additions & 0 deletions features/signals_railway_signals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,61 @@ features:
- { tag: 'railway:signal:speed_limit', value: 'BE:VIS' }
- { tag: 'railway:signal:speed_limit:form', value: 'light' }

- description: Reference speed
country: BE
icon:
match: 'railway:signal:speed_limit:speed'
cases:
- { regex: '^(12|16)0$', value: 'be/PVR-{}', example: 'be/PVR-{120}' }
default: 'be/PVR-empty'
tags:
- { tag: 'railway:signal:speed_limit', value: 'BE:PVR' }
- { tag: 'railway:signal:speed_limit:form', value: 'sign' }

- description: Announcement of a speed limit
country: BE
icon:
match: 'railway:signal:speed_limit_distant:speed'
cases:
- { regex: '^90$', value: 'be/PVA-{}', example: 'be/PVA-{90}' }
default: 'be/PVA-empty'
tags:
- { tag: 'railway:signal:speed_limit_distant', value: 'BE:PVA' }
- { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' }

- description: Beginning of a speed limit
country: BE
icon:
match: 'railway:signal:speed_limit:speed'
cases:
- { regex: '^(9|10|14)0$', value: 'be/PVO-{}', example: 'be/PVO-{100}' }
default: 'be/PVO-empty'
tags:
- { tag: 'railway:signal:speed_limit', value: 'BE:PVO' }
- { tag: 'railway:signal:speed_limit:form', value: 'sign' }

- description: Higher speed limit below reference speed
country: BE
icon:
match: 'railway:signal:speed_limit:speed'
cases:
- { regex: '^(4|6|9|10)0$', value: 'be/PVJ-{}', example: 'be/PVJ-{60}' }
default: 'be/PVJ-empty'
tags:
- { tag: 'railway:signal:speed_limit', value: 'BE:PVJ' }
- { tag: 'railway:signal:speed_limit:form', value: 'sign' }

- description: Higher speed limit for some traffic
country: BE
icon:
match: 'railway:signal:speed_limit:speed'
cases:
- { regex: '^60$', value: 'be/PVV-{}', example: 'be/PVV-{60}' }
default: 'be/PVV-empty'
tags:
- { tag: 'railway:signal:speed_limit', value: 'BE:PVV' }
- { tag: 'railway:signal:speed_limit:form', value: 'sign' }

- description: Panto distant
country: BE
icon: { default: 'be/PBA' }
Expand All @@ -672,6 +727,33 @@ features:
- { tag: 'railway:signal:electricity:form', value: 'sign' }
- { tag: 'railway:signal:electricity:type', value: 'pantograph_up' }

- description: train protection block markers (arrow)
country: BE
icon:
match: 'railway:signal:position'
cases:
- { regex: '^left$', value: 'general/etcs-stop-marker-arrow-right' }
- { regex: '^overhead$', value: 'general/etcs-stop-marker-arrow-down' }
default: 'general/etcs-stop-marker-arrow-left'
tags:
- { tag: 'railway:signal:train_protection', value: 'BE:PRA' }
- { tag: 'railway:signal:train_protection:form', value: 'sign' }
- { tag: 'railway:signal:train_protection:type', value: 'block_marker' }
- { tag: 'railway:signal:train_protection:shape', value: 'triangle' }

- description: train protection block markers (triangle)
country: BE
icon:
match: 'railway:signal:position'
cases:
- { regex: '^left$', value: 'general/etcs-stop-marker-triangle-right' }
- { regex: '^overhead$', value: 'general/etcs-stop-marker-triangle-down' }
default: 'general/etcs-stop-marker-triangle-left'
tags:
- { tag: 'railway:signal:train_protection', value: 'BE:PRA' }
- { tag: 'railway:signal:train_protection:form', value: 'sign' }
- { tag: 'railway:signal:train_protection:type', value: 'block_marker' }

# --- CH --- #

- description: Vorsignal System L
Expand Down
5 changes: 5 additions & 0 deletions symbols/be/PVA-empty.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/be/PVA-{90}.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/be/PVJ-empty.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions symbols/be/PVJ-{100}.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/be/PVJ-{40}.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/be/PVJ-{60}.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/be/PVJ-{90}.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 427ebc5

Please sign in to comment.