Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 55 changed files with 531 additions and 1 deletion.
51 changes: 50 additions & 1 deletion import/sql/tile_views.sql
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,56 @@ CREATE OR REPLACE VIEW speed_railway_signals AS

WHEN feature = 'DE-ESO:db:zs10' AND signal_speed_limit_form = 'light' THEN 'de/zs10-light'

-- FR --

WHEN signal_speed_limit = 'FR:pancarte_Z' AND signal_speed_limit_form = 'sign'
AND signal_speed_limit_distant = 'FR:TIV-D_O' and signal_speed_limit_distant_form = 'sign' THEN
CASE
WHEN signal_speed_limit_distant_speed is null THEN 'fr/Z-TIV-distance-empty-sign'
WHEN signal_speed_limit_distant_speed ~ '^([3-9]0|1[0-3]0)$' THEN CONCAT('fr/Z-TIV-distance-', signal_speed_limit_distant_speed, '-sign')
END

WHEN signal_speed_limit = 'FR:pancarte_Z' AND signal_speed_limit_distant_form = 'sign'
AND signal_speed_limit_distant = 'FR:TIV-D_type_B' AND signal_speed_limit_distant_form = 'sign' THEN
CASE
WHEN signal_speed_limit_distant_speed is null THEN 'fr/Z-TIV-type-B-empty'
WHEN signal_speed_limit_distant_speed ~ '^(1[5-9]0|200)$' THEN CONCAT('fr/Z-TIV-type-B-', signal_speed_limit_distant_speed)
END

WHEN signal_speed_limit = 'FR:pancarte_Z' AND signal_speed_limit_form = 'sign' THEN 'fr/Tableau_Z'

WHEN feature = 'FR:pancarte_R' AND signal_speed_limit_form = 'sign' THEN 'fr/Tableau_R'

WHEN feature = 'FR:tableau_P' AND signal_speed_limit_distant_form = 'sign' THEN 'fr/Tableau_P'

WHEN feature = 'FR:chevron pointe en bas' AND signal_speed_limit_form = 'sign' THEN 'fr/chevron pointe en bas'

WHEN feature = 'FR:chevron pointe en haut' AND signal_speed_limit_form = 'sign' THEN 'fr/chevron pointe en haut'

WHEN feature = 'FR:TIV-D_O' AND signal_speed_limit_distant_form = 'sign' THEN
CASE
WHEN signal_speed_limit_distant_speed is null THEN 'fr/TIV-distance-empty-sign'
WHEN signal_speed_limit_distant_speed ~ '^([3-9]0|1[0-3]0)$' THEN CONCAT('fr/TIV-distance-', signal_speed_limit_distant_speed, '-sign')
END

WHEN feature = 'FR:TIV-D_O' AND signal_speed_limit_distant_form = 'light' THEN
CASE
WHEN signal_speed_limit_distant_speed is null THEN 'fr/TIV-distance-empty-light'
WHEN signal_speed_limit_distant_speed ~ '^([3-9]0|1[0-3]0)$' THEN CONCAT('fr/TIV-distance-', signal_speed_limit_distant_speed, '-light')
END

WHEN feature = 'FR:TIV-D_type_B' AND signal_speed_limit_distant_form = 'sign' THEN
CASE
WHEN signal_speed_limit_distant_speed is null THEN 'fr/TIV-distance-type-B-empty'
WHEN signal_speed_limit_distant_speed ~ '^(1[5-9]0|200)$' THEN CONCAT('fr/TIV-distance-type-B-', signal_speed_limit_distant_speed)
END

WHEN feature = 'FR:TIV-D_type_C' AND signal_speed_limit_distant_form = 'sign' THEN
CASE
WHEN signal_speed_limit_distant_speed is null THEN 'fr/TIV-distance-type-C-empty'
WHEN signal_speed_limit_distant_speed ~ '^(1[5-9]0)$' THEN CONCAT('fr/TIV-distance-type-C-', signal_speed_limit_distant_speed)
END

-- FI --

-- Nopeusmerkki, speed signal
Expand Down Expand Up @@ -1183,7 +1233,6 @@ CREATE OR REPLACE VIEW signals_railway_signals AS
-- FI combined block signal type So
WHEN feature = 'FI:So' AND combined_form = 'light' AND combined_states ~ '^(.*;)?FI:Po1(;.*)?$' AND combined_states ~ '^(.*;)?FI:Eo1(;.*)?$' THEN 'fi/eo1-po1-combined-block'


-- NL --

-- NL departure signals
Expand Down
7 changes: 7 additions & 0 deletions symbols/fr/TIV-distance-100-light.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/fr/TIV-distance-100-sign.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/fr/TIV-distance-110-sign.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/fr/TIV-distance-120-sign.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/fr/TIV-distance-130-sign.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 a509cad

Please sign in to comment.