Skip to content
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

NL signals extension (part 3) #162

Merged
merged 14 commits into from
Dec 7, 2024
28 changes: 20 additions & 8 deletions features/speed_railway_signals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -747,35 +747,47 @@ speed_railway_signals:
- description: tunnel distant speed limit
country: NL
type: line
# TODO match speed
icon: { default: 'nl/286-80' }
icon:
match: 'railway:signal:speed_limit_distant:speed'
cases:
- { regex: '^80$', value: 'nl/286-{}', example: 'nl/286-80' }
default: 'nl/286-empty'
tags:
- { tag: 'railway:signal:speed_limit_distant', value: 'NL:286' }
- { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' }

- description: tunnel entry speed limit
country: NL
type: line
# TODO match speed
icon: { default: 'nl/281-40' }
icon:
match: 'railway:signal:speed_limit:speed'
cases:
- { regex: '^[3-8]0$', value: 'nl/281-{}', example: 'nl/281-40' }
default: 'nl/281-empty'
tags:
- { tag: 'railway:signal:speed_limit', value: 'NL:281' }
- { tag: 'railway:signal:speed_limit:form', value: 'sign' }

- description: advisory speed (sign)
country: NL
type: line
# TODO match speed
icon: { default: 'nl/282-40' }
icon:
match: 'railway:signal:speed_limit:speed'
cases:
- { regex: '^15|35|[4-9]0|120$', value: 'nl/282-{}', example: 'nl/282-40' }
default: 'nl/282-empty'
tags:
- { tag: 'railway:signal:speed_limit', value: 'NL:282' }
- { tag: 'railway:signal:speed_limit:form', value: 'sign' }

- description: advisory speed (light)
country: NL
type: line
# TODO match speed
icon: { default: 'nl/282a-40' }
icon:
match: 'railway:signal:speed_limit:speed'
cases:
- { regex: '^15|35|[4-9]0|120$', value: 'nl/282a-{}', example: 'nl/282a-40' }
default: 'nl/282a-empty'
tags:
- { tag: 'railway:signal:speed_limit', value: 'NL:282' }
- { tag: 'railway:signal:speed_limit:form', value: 'light' }
Expand Down
7 changes: 7 additions & 0 deletions symbols/nl/281-30.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: 3 additions & 3 deletions symbols/nl/281-40.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/nl/281-50.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/nl/281-60.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/nl/281-70.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/nl/281-80.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading