diff --git a/SETUP.md b/SETUP.md index 11ed02a8..1c25a80a 100644 --- a/SETUP.md +++ b/SETUP.md @@ -14,7 +14,7 @@ The import process will filter the file before importing it. The filtered file w Start the tile server: ```shell -docker compose up --build martin +docker compose up --build --watch martin ``` Prepare and start the API: @@ -25,14 +25,18 @@ docker compose up api Start the web server: ```shell -docker compose up --build martin-proxy +docker compose up --build --watch martin-proxy ``` The OpenRailwayMap is now available on http://localhost:8000. -To ease development, Docker Compose can automatically rebuild containers when dependent files change. Enable *watch mode* with: +Docker Compose will automatically rebuild and restart the `martin` and `martin-proxy` containers if relevant files are modified. + +### Making changes + +If changes are made to features, the materialized views in the database have to be refreshed: ```shell -docker compose watch +docker compose run --build import refresh ``` ## Deployment diff --git a/api/prepare_facilities.sql b/api/prepare_facilities.sql index 152e03f8..1347d335 100644 --- a/api/prepare_facilities.sql +++ b/api/prepare_facilities.sql @@ -62,7 +62,7 @@ CREATE TABLE openrailwaymap_facilities_for_search AS railway_ref, name_tags, route_count, - way AS geom + ST_Centroid(way) AS geom FROM stations_with_route_counts WHERE railway IN ('station', 'halt', 'tram_stop', 'service_station', 'yard', 'junction', 'spur_junction', 'crossover', 'site') diff --git a/docker-compose.yml b/docker-compose.yml index abf8fb05..8eb2e7e0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -57,7 +57,7 @@ services: [ "$$TILES" = "low-med" ] && $$MARTIN --min-zoom 7 --max-zoom 7 --source railway_line_med --output-file /tiles/railway_line_med.mbtiles && mbtiles summary /tiles/railway_line_med.mbtiles [ "$$TILES" = "low-med" ] && $$MARTIN --min-zoom 7 --max-zoom 7 --source standard_railway_text_stations_med --output-file /tiles/standard_railway_text_stations_med.mbtiles && mbtiles summary /tiles/standard_railway_text_stations_med.mbtiles [ "$$TILES" = "high" ] && $$MARTIN --min-zoom 8 --max-zoom "$$MAX_ZOOM" --source railway_line_high,railway_text_km --output-file /tiles/high.mbtiles && mbtiles summary /tiles/high.mbtiles - [ "$$TILES" = "standard" ] && $$MARTIN --min-zoom 8 --max-zoom "$$MAX_ZOOM" --source standard_railway_turntables,standard_railway_text_stations,standard_railway_symbols,standard_railway_switch_ref --output-file /tiles/standard.mbtiles && mbtiles summary /tiles/standard.mbtiles + [ "$$TILES" = "standard" ] && $$MARTIN --min-zoom 8 --max-zoom "$$MAX_ZOOM" --source standard_railway_turntables,standard_railway_text_stations,standard_railway_grouped_stations,standard_railway_symbols,standard_railway_switch_ref --output-file /tiles/standard.mbtiles && mbtiles summary /tiles/standard.mbtiles [ "$$TILES" = "speed" ] && $$MARTIN --min-zoom 8 --max-zoom "$$MAX_ZOOM" --source speed_railway_signals --output-file /tiles/speed.mbtiles && mbtiles summary /tiles/speed.mbtiles [ "$$TILES" = "signals" ] && $$MARTIN --min-zoom 8 --max-zoom "$$MAX_ZOOM" --source signals_railway_signals,signals_signal_boxes --output-file /tiles/signals.mbtiles && mbtiles summary /tiles/signals.mbtiles [ "$$TILES" = "electrification" ] && $$MARTIN --min-zoom 8 --max-zoom "$$MAX_ZOOM" --source electrification_signals --output-file /tiles/electrification.mbtiles && mbtiles summary /tiles/electrification.mbtiles diff --git a/features/electrification_signals.yaml b/features/electrification_signals.yaml index d40716c6..562e1d99 100644 --- a/features/electrification_signals.yaml +++ b/features/electrification_signals.yaml @@ -1,889 +1,887 @@ - -electrification_signals: - tags: - - 'railway:signal:electricity' - - 'railway:signal:electricity:type' - - 'railway:signal:electricity:form' - - 'railway:signal:electricity:for' - - 'railway:signal:electricity:turn_direction' - - 'railway:signal:electricity:voltage' - - features: - - # --- AT --- # - - - description: Ankündigung Stromabnehmer tief - country: AT - icon: { default: 'at/ankündigung_stromabnehmer_tief' } - tags: - - { tag: 'railway:signal:electricity', value: 'AT-V2:ankündigung_stromabnehmer_tief' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: Ankündigung Hauptschalter aus - country: AT - icon: { default: 'at/ankündigung_hauptschalter_aus' } - tags: - - { tag: 'railway:signal:electricity', value: 'AT-V2:ankündigung_hauptschalter_aus' } - - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } - - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } - - - description: Halt für Fahrzeuge mit angehobenem Stromabnehmer - country: AT - icon: - match: 'railway:signal:electricity:turn_direction' - cases: - - { regex: '^left$', value: 'at/halt_fuer_fahrzeuge_mit_angehobenem_stromabnehmer-left' } - - { regex: '^through$', value: 'at/halt_fuer_fahrzeuge_mit_angehobenem_stromabnehmer-through' } - - { regex: '^right$', value: 'at/halt_fuer_fahrzeuge_mit_angehobenem_stromabnehmer-right' } - default: 'at/halt_fuer_fahrzeuge_mit_angehobenem_stromabnehmer' - tags: - - { tag: 'railway:signal:electricity', value: 'AT-V2:halt_fuer_fahrzeuge_mit_angehobenem_stromabnehmer' } - - { tag: 'railway:signal:electricity:type', value: 'end_of_catenary' } - - { tag: 'railway:signal:electricity:form', values: ['sign', 'light', 'semaphore'] } - - - description: Hauptschalter ein - country: AT - icon: { default: 'at/hauptschalter_ein' } - tags: - - { tag: 'railway:signal:electricity', value: 'AT-V2:hauptschalter_ein' } - - { tag: 'railway:signal:electricity:type', value: 'power_on' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: Stromabnehmer hoch - country: AT - icon: { default: 'at/stromabnehmer_hoch' } - tags: - - { tag: 'railway:signal:electricity', value: 'AT-V2:stromabnehmer_hoch' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: Hauptschalter aus - country: AT - icon: { default: 'at/hauptschalter_aus' } - tags: - - { tag: 'railway:signal:electricity', value: 'AT-V2:hauptschalter_aus' } - - { tag: 'railway:signal:electricity:type', value: 'power_off' } - - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } - - - description: Stromabnehmer tief - country: AT - icon: { default: 'at/stromabnehmer_tief' } - tags: - - { tag: 'railway:signal:electricity', value: 'AT-V2:stromabnehmer_tief' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: Bahnhof Streckentrennung anfang - country: AT - icon: { default: 'at/bahnhof-streckentrennung_anfang' } - tags: - - { tag: 'railway:signal:electricity', value: 'AT-V2:bahnhof-streckentrennung_anfang' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: Bahnhof Streckentrennung ende - country: AT - icon: { default: 'at/bahnhof-streckentrennung_ende' } - tags: - - { tag: 'railway:signal:electricity', value: 'AT-V2:bahnhof-streckentrennung_ende' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: AT-V2:schaltzeiger - country: AT - icon: { default: 'at/schaltzeiger' } - tags: - - { tag: 'railway:signal:electricity', value: 'AT-V2:schaltzeiger' } - - { tag: 'railway:signal:electricity:type', value: 'power_indicator' } - - { tag: 'railway:signal:electricity:form', value: 'semaphore' } - - # --- BE --- # - - - description: Panto distant - country: BE - icon: { default: 'be/PBA' } - tags: - - { tag: 'railway:signal:electricity', value: 'BE:PBA' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } - - - description: Panto down - country: BE - icon: { default: 'be/PBE' } - tags: - - { tag: 'railway:signal:electricity', value: 'BE:PBE' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } - - - description: Panto up - country: BE - icon: { default: 'be/PRL' } - tags: - - { tag: 'railway:signal:electricity', value: 'BE:PRL' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } - - # --- CH --- # - - - description: Vorsignal zum Senksignal - country: CH - icon: { default: 'ch/fdv-703' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:703' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } - - - description: Senksignal - country: CH - icon: { default: 'ch/fdv-704' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:704' } - - { tag: 'railway:signal:electricity:form', values: ['sign', 'semaphore'] } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } - - - description: Endsignal zum Senksignal - country: CH - icon: { default: 'ch/fdv-705' } - tags: - - { tag: 'railway:signal:electricity', values: ['CH-FDV:705', 'CH-FDV:706'] } - - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } - - - description: Aufhebungssignal zum Senksignal - country: CH - icon: { default: 'ch/fdv-707' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:707' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } - - - description: Vorsignal zum Ausschaltsignal (sign) - country: CH - icon: { default: 'ch/fdv-708' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:708' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } - - - description: Vorsignal zum Ausschaltsignal (light) - country: CH - icon: { default: 'ch/fdv-709' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:709' } - - { tag: 'railway:signal:electricity:form', value: 'light' } - - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } - - - description: Ausschaltsignal (sign) - country: CH - icon: { default: 'ch/fdv-710' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:710' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_off' } - - - description: Ausschaltsignal (light) - country: CH - icon: { default: 'ch/fdv-711' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:711' } - - { tag: 'railway:signal:electricity:form', value: 'light' } - - { tag: 'railway:signal:electricity:type', value: 'power_off' } - - - description: Einschaltsignal (sign) - country: CH - icon: { default: 'ch/fdv-712' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:712' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_off' } - - - description: Einschaltsignal (light) - country: CH - icon: { default: 'ch/fdv-713' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:713' } - - { tag: 'railway:signal:electricity:form', value: 'light' } - - { tag: 'railway:signal:electricity:type', value: 'power_off' } - - - description: Streckentrennung - country: CH - icon: { default: 'ch/fdv-714' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:714' } - - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } - - { tag: 'railway:signal:electricity:type', value: 'joint' } # TODO why joint? - - - description: Zonen-Schutzstreckensignal - country: CH - icon: { default: 'ch/fdv-715' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:715' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'main_switch_off' } - - - description: Zonensignal - country: CH - # TODO support voltage values - icon: { default: 'ch/fdv-716' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:716' } - - { tag: 'railway:signal:electricity:form', value: 'light' } - - { tag: 'railway:signal:electricity:type', value: 'system_changeable' } - - - description: Vorsignal zum Umschaltsignal - country: CH - icon: { default: 'ch/fdv-719' } - tags: - - { tag: 'railway:signal:electricity', values: ['CH-FDV:719', 'CH-SBB:719'] } - - { tag: 'railway:signal:electricity:form', value: 'light' } - - { tag: 'railway:signal:electricity:type', value: 'system_change_advance' } - - - description: Umschaltsignal anfang (sign) - country: CH - icon: { default: 'ch/fdv-717' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:717' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'system_change_start' } - - - description: Umschaltsignal anfang (light) - country: CH - icon: { default: 'ch/fdv-717.1' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:717.1' } - - { tag: 'railway:signal:electricity:form', value: 'light' } - - { tag: 'railway:signal:electricity:type', value: 'system_change_start' } - - - description: Umschaltsignal ende (sign) - country: CH - icon: { default: 'ch/fdv-718' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:718' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'system_change_end' } - - - description: Umschaltsignal ende (light) - country: CH - icon: { default: 'ch/fdv-718.1' } - tags: - - { tag: 'railway:signal:electricity', value: 'CH-FDV:718.1' } - - { tag: 'railway:signal:electricity:form', value: 'light' } - - { tag: 'railway:signal:electricity:type', value: 'system_change_end' } - - # --- DE --- # - - - description: pantograph down advance El 3 - country: DE - icon: { default: 'de/el3' } - tags: - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity', value: 'DE-ESO:el3' } - - - description: power off advance sign El 1v - country: DE - icon: { default: 'de/el1v' } - tags: - - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity', value: 'DE-ESO:el1v' } - - - description: end of catenary sign El 6 - country: DE - icon: - match: 'railway:signal:electricity:turn_direction' - cases: - - { regex: '^left$', value: 'de/el6-left' } - - { regex: '^through$', value: 'de/el6-through' } - - { regex: '^right$', value: 'de/el6-right' } - default: 'de/el6' - tags: - - { tag: 'railway:signal:electricity:type', value: 'end_of_catenary' } - - { tag: 'railway:signal:electricity:form', values: ['sign', 'light', 'semaphore'] } - - { tag: 'railway:signal:electricity', values: ['DE-ESO:el6', 'DE-BOStrab:st8'] } - - - description: power on sign El 2 - country: DE - icon: { default: 'de/el2' } - tags: - - { tag: 'railway:signal:electricity:type', value: 'power_on' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity', values: ['DE-ESO:el2', 'DE-BOStrab:st4', 'DE-HHA:s2'] } - - - description: pantograph up El 5 - country: DE - icon: { default: 'de/el5' } - tags: - - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity', values: ['DE-ESO:el5', 'DE-BOStrab:st6'] } - - - description: power off sign El 1 - country: DE - icon: { default: 'de/el1' } - tags: - - { tag: 'railway:signal:electricity:type', value: 'power_off' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity', values: ['DE-ESO:el1', 'DE-BOStrab:st3', 'DE-HHA:s1'] } - - - description: pantograph down El 4 - country: DE - icon: { default: 'de/el4' } - tags: - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity', values: ['DE-ESO:el4', 'DE-BOStrab:st5'] } - - - description: tram power off shortly signal (St 7) - country: DE - icon: { default: 'de/bostrab/st7' } - tags: - - { tag: 'railway:signal:electricity:type', value: 'power_off_shortly' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity', values: ['DE-BOStrab:st7', 'DE-AVG:st7'] } - - - description: power off shortly - country: DE - icon: { default: 'de/el1-el2' } - tags: - - { tag: 'railway:signal:electricity:type', value: 'power_off_shortly' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity', values: ['DE-ESO:el1;DE-ESO:el2', 'DE-ESO:el2:DE-ESO:el1'] } - - - description: tram sign power off shortly El 1 - country: DE - icon: { default: 'de/el1' } - tags: - - { tag: 'railway:signal:electricity:type', value: 'power_off_shortly' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity', value: 'DE-AVG:el1' } - - - description: Streckentrennung (anfang) - country: DE - icon: { default: 'de/streckentrennung-anfang' } - tags: - - { tag: 'railway:signal:electricity', value: 'DE-ESO:streckentrennung' } - - { tag: 'railway:signal:electricity:type', value: 'begin_of_isolated_overlap' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: Streckentrennung (ende) - country: DE - icon: { default: 'de/streckentrennung-ende' } - tags: - - { tag: 'railway:signal:electricity', value: 'DE-ESO:streckentrennung' } - - { tag: 'railway:signal:electricity:type', value: 'end_of_isolated_overlap' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: ICE-Schaltmerkhilfe - country: DE - icon: { default: 'de/ice-schaltmerkhilfe' } - tags: - - { tag: 'railway:signal:electricity', value: 'DE-ESO:ice-schaltmerkhilfe' } - - { tag: 'railway:signal:electricity:type', value: 'power_on_for_long_trains' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: VGF st9 - country: DE - icon: { default: 'de/vgf/st9' } - tags: - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity', value: 'DE-VGF:st9' } - - - description: VGF st10 - country: DE - icon: { default: 'de/vgf/st10' } - tags: - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity', value: 'DE-VGF:st10' } - - - description: VGF st9 & st10 - country: DE - icon: { default: 'de/vgf/st9-st10' } - tags: - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity', value: 'DE-VGF:st9;DE-VGF:st10' } - - # --- ES --- # - - - description: end of catenary - country: ES - # TODO add turn direction - icon: { default: 'es/FI14A' } - tags: - - { tag: 'railway:signal:electricity', values: ['ES:FI14A', 'ES:FI14B'] } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'end_of_catenaxy' } - - - description: power off shortly - country: ES - icon: { default: 'es/FI14C' } - tags: - - { tag: 'railway:signal:electricity', value: 'ES:FI14C' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_off_shortly' } - - - description: power off shortly (full) - country: ES - icon: { default: 'es/FI14D' } - tags: - - { tag: 'railway:signal:electricity', value: 'ES:FI14D' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_off_shortly' } - - - description: pantograph down - country: ES - icon: { default: 'es/FI14E' } - tags: - - { tag: 'railway:signal:electricity', value: 'ES:FI14E' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } - - - description: pantograph up - country: ES - icon: { default: 'es/FI14F' } - tags: - - { tag: 'railway:signal:electricity', value: 'ES:FI14F' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } - - - description: pantograph down announcement - country: ES - icon: { default: 'es/FI14G' } - tags: - - { tag: 'railway:signal:electricity', value: 'ES:FI14G' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } - - - description: power off announcement - country: ES - icon: { default: 'es/FI14H' } - tags: - - { tag: 'railway:signal:electricity', value: 'ES:FI14H' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } - - - description: power off - country: ES - icon: { default: 'es/FI14I' } - tags: - - { tag: 'railway:signal:electricity', value: 'ES:FI14I' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_off' } - - - description: power on - country: ES - icon: { default: 'es/FI14J' } - tags: - - { tag: 'railway:signal:electricity', value: 'ES:FI14J' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_on' } - - # --- FI --- # - - - description: Erotusjakson etumerkki - country: FI - icon: { default: 'fi/t-120' } - tags: - - { tag: 'railway:signal:electricity', value: 'FI:T-120' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: Erotusjakso alkaa - country: FI - icon: { default: 'fi/t-122' } - tags: - - { tag: 'railway:signal:electricity', value: 'FI:T-122' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: Erotusjakso päättyy - country: FI - icon: { default: 'fi/t-123' } - tags: - - { tag: 'railway:signal:electricity', value: 'FI:T-123' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: Ajojohdin päättyy - country: FI - icon: { default: 'fi/t-121' } - tags: - - { tag: 'railway:signal:electricity', value: 'FI:T-121' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: Laske virroitin - country: FI - icon: { default: 'fi/t-124A' } - tags: - - { tag: 'railway:signal:electricity', value: 'FI:T-124A' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: Laske virroitin -etumerkki - country: FI - icon: { default: 'fi/t-133' } - tags: - - { tag: 'railway:signal:electricity', value: 'FI:T-133' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: Nosta virroitin - country: FI - icon: { default: 'fi/t-125' } - tags: - - { tag: 'railway:signal:electricity', value: 'FI:T-125' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - # --- FR --- # - - - description: Neutral Zone Announcement - country: FR - icon: { default: 'fr/SECT' } - tags: - - { tag: 'railway:signal:electricity', value: 'FR:SECT' } - - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } - - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } - - - description: Start of Neutral Zone - country: FR - icon: { default: 'fr/CC_EXE' } - tags: - - { tag: 'railway:signal:electricity', value: 'FR:CC_EXE' } - - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } - - { tag: 'railway:signal:electricity:type', value: 'power_off' } - - - description: End of Neutral Zone - country: FR - icon: { default: 'fr/CC_FIN' } - tags: - - { tag: 'railway:signal:electricity', value: 'FR:CC_FIN' } - - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } - - { tag: 'railway:signal:electricity:type', value: 'power_on' } - - - description: End of Neutral Zone (reversible trains) - country: FR - icon: { default: 'fr/REV' } - tags: - - { tag: 'railway:signal:electricity', value: 'FR:REV' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_on' } - - - description: Pantograph Down Announcement - country: FR - icon: { default: 'fr/BP_DIS' } - tags: - - { tag: 'railway:signal:electricity', value: 'FR:BP_DIS' } - - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } - - - description: Start of Pantograph Down - country: FR - icon: { default: 'fr/BP_EXE' } - tags: - - { tag: 'railway:signal:electricity', value: 'FR:BP_EXE' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } - - - description: End of Pantograph Down - country: FR - icon: { default: 'fr/BP_FIN' } - tags: - - { tag: 'railway:signal:electricity', value: 'FR:BP_FIN' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } - - - description: Dual-Mode Traffic - country: FR - icon: { default: 'fr/BIMODE' } - tags: - - { tag: 'railway:signal:electricity', values: ['FR:BIMODE', 'FR:BIMODE_A'] } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: End of Catenaries - country: FR - icon: { default: 'fr/FIN_CAT' } - tags: - - { tag: 'railway:signal:electricity', value: 'FR:FIN_CAT' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'end_of_catenary' } - - - description: Stop Markers - country: FR - icon: { default: 'fr/JALON_ARRET' } - tags: - - { tag: 'railway:signal:electricity', value: 'FR:JALON_ARRET' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - - description: Frost Board - country: FR - icon: { default: 'fr/GIVRE' } - tags: - - { tag: 'railway:signal:electricity', value: 'FR:GIVRE' } - - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } - - # --- LU --- # - - - description: ESFA - country: LU - icon: { default: 'lu/ESFA' } - tags: - - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFA' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'end_of_catenary' } - - - description: ESFAp/TA - country: LU - icon: { default: 'lu/ESFAp_TA' } - tags: - - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFAp/TA' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } - - - description: ESFAp/TE - country: LU - icon: { default: 'lu/ESFAp_TE' } - tags: - - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFAp/TE' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } - - - description: ESFAp/TR - country: LU - icon: { default: 'lu/ESFAp_TR' } - tags: - - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFAp/TR' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } - - - description: ESFCC/A - country: LU - icon: { default: 'lu/ESFCC_A' } - tags: - - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFCC/A' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } - - - description: ESFCC/E - country: LU - icon: { default: 'lu/ESFCC_E' } - tags: - - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFCC/E' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_off' } - - - description: ESFCC/F - country: LU - icon: { default: 'lu/ESFCC_F' } - tags: - - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFCC/F' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_on' } - - # --- NL --- # - - - description: power off - country: NL - icon: { default: 'nl/306a' } - tags: - - { tag: 'railway:signal:electricity', value: 'NL:306a' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_off' } - - # TODO support carriages - - description: power on - country: NL - icon: { default: 'nl/307a' } - tags: - - { tag: 'railway:signal:electricity', value: 'NL:307a' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_on' } - - - description: announcement pantograph down - country: NL - icon: { default: 'nl/307a' } - tags: - - { tag: 'railway:signal:electricity', value: 'NL:308a' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } - - # TODO support wash - - description: pantograph down - country: NL - icon: { default: 'nl/309a' } - tags: - - { tag: 'railway:signal:electricity', value: 'NL:309a' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } +tags: + - 'railway:signal:electricity' + - 'railway:signal:electricity:type' + - 'railway:signal:electricity:form' + - 'railway:signal:electricity:for' + - 'railway:signal:electricity:turn_direction' + - 'railway:signal:electricity:voltage' + +features: + + # --- AT --- # + + - description: Ankündigung Stromabnehmer tief + country: AT + icon: { default: 'at/ankündigung_stromabnehmer_tief' } + tags: + - { tag: 'railway:signal:electricity', value: 'AT-V2:ankündigung_stromabnehmer_tief' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: Ankündigung Hauptschalter aus + country: AT + icon: { default: 'at/ankündigung_hauptschalter_aus' } + tags: + - { tag: 'railway:signal:electricity', value: 'AT-V2:ankündigung_hauptschalter_aus' } + - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } + - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } + + - description: Halt für Fahrzeuge mit angehobenem Stromabnehmer + country: AT + icon: + match: 'railway:signal:electricity:turn_direction' + cases: + - { regex: '^left$', value: 'at/halt_fuer_fahrzeuge_mit_angehobenem_stromabnehmer-left' } + - { regex: '^through$', value: 'at/halt_fuer_fahrzeuge_mit_angehobenem_stromabnehmer-through' } + - { regex: '^right$', value: 'at/halt_fuer_fahrzeuge_mit_angehobenem_stromabnehmer-right' } + default: 'at/halt_fuer_fahrzeuge_mit_angehobenem_stromabnehmer' + tags: + - { tag: 'railway:signal:electricity', value: 'AT-V2:halt_fuer_fahrzeuge_mit_angehobenem_stromabnehmer' } + - { tag: 'railway:signal:electricity:type', value: 'end_of_catenary' } + - { tag: 'railway:signal:electricity:form', values: ['sign', 'light', 'semaphore'] } + + - description: Hauptschalter ein + country: AT + icon: { default: 'at/hauptschalter_ein' } + tags: + - { tag: 'railway:signal:electricity', value: 'AT-V2:hauptschalter_ein' } + - { tag: 'railway:signal:electricity:type', value: 'power_on' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: Stromabnehmer hoch + country: AT + icon: { default: 'at/stromabnehmer_hoch' } + tags: + - { tag: 'railway:signal:electricity', value: 'AT-V2:stromabnehmer_hoch' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: Hauptschalter aus + country: AT + icon: { default: 'at/hauptschalter_aus' } + tags: + - { tag: 'railway:signal:electricity', value: 'AT-V2:hauptschalter_aus' } + - { tag: 'railway:signal:electricity:type', value: 'power_off' } + - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } + + - description: Stromabnehmer tief + country: AT + icon: { default: 'at/stromabnehmer_tief' } + tags: + - { tag: 'railway:signal:electricity', value: 'AT-V2:stromabnehmer_tief' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: Bahnhof Streckentrennung anfang + country: AT + icon: { default: 'at/bahnhof-streckentrennung_anfang' } + tags: + - { tag: 'railway:signal:electricity', value: 'AT-V2:bahnhof-streckentrennung_anfang' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: Bahnhof Streckentrennung ende + country: AT + icon: { default: 'at/bahnhof-streckentrennung_ende' } + tags: + - { tag: 'railway:signal:electricity', value: 'AT-V2:bahnhof-streckentrennung_ende' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: AT-V2:schaltzeiger + country: AT + icon: { default: 'at/schaltzeiger' } + tags: + - { tag: 'railway:signal:electricity', value: 'AT-V2:schaltzeiger' } + - { tag: 'railway:signal:electricity:type', value: 'power_indicator' } + - { tag: 'railway:signal:electricity:form', value: 'semaphore' } + + # --- BE --- # + + - description: Panto distant + country: BE + icon: { default: 'be/PBA' } + tags: + - { tag: 'railway:signal:electricity', value: 'BE:PBA' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } + + - description: Panto down + country: BE + icon: { default: 'be/PBE' } + tags: + - { tag: 'railway:signal:electricity', value: 'BE:PBE' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } + + - description: Panto up + country: BE + icon: { default: 'be/PRL' } + tags: + - { tag: 'railway:signal:electricity', value: 'BE:PRL' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } + + # --- CH --- # + + - description: Vorsignal zum Senksignal + country: CH + icon: { default: 'ch/fdv-703' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:703' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } + + - description: Senksignal + country: CH + icon: { default: 'ch/fdv-704' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:704' } + - { tag: 'railway:signal:electricity:form', values: ['sign', 'semaphore'] } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } + + - description: Endsignal zum Senksignal + country: CH + icon: { default: 'ch/fdv-705' } + tags: + - { tag: 'railway:signal:electricity', values: ['CH-FDV:705', 'CH-FDV:706'] } + - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } + + - description: Aufhebungssignal zum Senksignal + country: CH + icon: { default: 'ch/fdv-707' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:707' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } + + - description: Vorsignal zum Ausschaltsignal (sign) + country: CH + icon: { default: 'ch/fdv-708' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:708' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } + + - description: Vorsignal zum Ausschaltsignal (light) + country: CH + icon: { default: 'ch/fdv-709' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:709' } + - { tag: 'railway:signal:electricity:form', value: 'light' } + - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } + + - description: Ausschaltsignal (sign) + country: CH + icon: { default: 'ch/fdv-710' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:710' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_off' } + + - description: Ausschaltsignal (light) + country: CH + icon: { default: 'ch/fdv-711' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:711' } + - { tag: 'railway:signal:electricity:form', value: 'light' } + - { tag: 'railway:signal:electricity:type', value: 'power_off' } + + - description: Einschaltsignal (sign) + country: CH + icon: { default: 'ch/fdv-712' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:712' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_off' } + + - description: Einschaltsignal (light) + country: CH + icon: { default: 'ch/fdv-713' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:713' } + - { tag: 'railway:signal:electricity:form', value: 'light' } + - { tag: 'railway:signal:electricity:type', value: 'power_off' } + + - description: Streckentrennung + country: CH + icon: { default: 'ch/fdv-714' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:714' } + - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } + - { tag: 'railway:signal:electricity:type', value: 'joint' } # TODO why joint? + + - description: Zonen-Schutzstreckensignal + country: CH + icon: { default: 'ch/fdv-715' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:715' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'main_switch_off' } + + - description: Zonensignal + country: CH + # TODO support voltage values + icon: { default: 'ch/fdv-716' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:716' } + - { tag: 'railway:signal:electricity:form', value: 'light' } + - { tag: 'railway:signal:electricity:type', value: 'system_changeable' } + + - description: Vorsignal zum Umschaltsignal + country: CH + icon: { default: 'ch/fdv-719' } + tags: + - { tag: 'railway:signal:electricity', values: ['CH-FDV:719', 'CH-SBB:719'] } + - { tag: 'railway:signal:electricity:form', value: 'light' } + - { tag: 'railway:signal:electricity:type', value: 'system_change_advance' } + + - description: Umschaltsignal anfang (sign) + country: CH + icon: { default: 'ch/fdv-717' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:717' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'system_change_start' } + + - description: Umschaltsignal anfang (light) + country: CH + icon: { default: 'ch/fdv-717.1' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:717.1' } + - { tag: 'railway:signal:electricity:form', value: 'light' } + - { tag: 'railway:signal:electricity:type', value: 'system_change_start' } + + - description: Umschaltsignal ende (sign) + country: CH + icon: { default: 'ch/fdv-718' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:718' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'system_change_end' } + + - description: Umschaltsignal ende (light) + country: CH + icon: { default: 'ch/fdv-718.1' } + tags: + - { tag: 'railway:signal:electricity', value: 'CH-FDV:718.1' } + - { tag: 'railway:signal:electricity:form', value: 'light' } + - { tag: 'railway:signal:electricity:type', value: 'system_change_end' } + + # --- DE --- # + + - description: pantograph down advance El 3 + country: DE + icon: { default: 'de/el3' } + tags: + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity', value: 'DE-ESO:el3' } + + - description: power off advance sign El 1v + country: DE + icon: { default: 'de/el1v' } + tags: + - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity', value: 'DE-ESO:el1v' } + + - description: end of catenary sign El 6 + country: DE + icon: + match: 'railway:signal:electricity:turn_direction' + cases: + - { regex: '^left$', value: 'de/el6-left' } + - { regex: '^through$', value: 'de/el6-through' } + - { regex: '^right$', value: 'de/el6-right' } + default: 'de/el6' + tags: + - { tag: 'railway:signal:electricity:type', value: 'end_of_catenary' } + - { tag: 'railway:signal:electricity:form', values: ['sign', 'light', 'semaphore'] } + - { tag: 'railway:signal:electricity', values: ['DE-ESO:el6', 'DE-BOStrab:st8'] } + + - description: power on sign El 2 + country: DE + icon: { default: 'de/el2' } + tags: + - { tag: 'railway:signal:electricity:type', value: 'power_on' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity', values: ['DE-ESO:el2', 'DE-BOStrab:st4', 'DE-HHA:s2'] } + + - description: pantograph up El 5 + country: DE + icon: { default: 'de/el5' } + tags: + - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity', values: ['DE-ESO:el5', 'DE-BOStrab:st6'] } + + - description: power off sign El 1 + country: DE + icon: { default: 'de/el1' } + tags: + - { tag: 'railway:signal:electricity:type', value: 'power_off' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity', values: ['DE-ESO:el1', 'DE-BOStrab:st3', 'DE-HHA:s1'] } + + - description: pantograph down El 4 + country: DE + icon: { default: 'de/el4' } + tags: + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity', values: ['DE-ESO:el4', 'DE-BOStrab:st5'] } + + - description: tram power off shortly signal (St 7) + country: DE + icon: { default: 'de/bostrab/st7' } + tags: + - { tag: 'railway:signal:electricity:type', value: 'power_off_shortly' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity', values: ['DE-BOStrab:st7', 'DE-AVG:st7'] } + + - description: power off shortly + country: DE + icon: { default: 'de/el1-el2' } + tags: + - { tag: 'railway:signal:electricity:type', value: 'power_off_shortly' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity', values: ['DE-ESO:el1;DE-ESO:el2', 'DE-ESO:el2:DE-ESO:el1'] } + + - description: tram sign power off shortly El 1 + country: DE + icon: { default: 'de/el1' } + tags: + - { tag: 'railway:signal:electricity:type', value: 'power_off_shortly' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity', value: 'DE-AVG:el1' } + + - description: Streckentrennung (anfang) + country: DE + icon: { default: 'de/streckentrennung-anfang' } + tags: + - { tag: 'railway:signal:electricity', value: 'DE-ESO:streckentrennung' } + - { tag: 'railway:signal:electricity:type', value: 'begin_of_isolated_overlap' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: Streckentrennung (ende) + country: DE + icon: { default: 'de/streckentrennung-ende' } + tags: + - { tag: 'railway:signal:electricity', value: 'DE-ESO:streckentrennung' } + - { tag: 'railway:signal:electricity:type', value: 'end_of_isolated_overlap' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: ICE-Schaltmerkhilfe + country: DE + icon: { default: 'de/ice-schaltmerkhilfe' } + tags: + - { tag: 'railway:signal:electricity', value: 'DE-ESO:ice-schaltmerkhilfe' } + - { tag: 'railway:signal:electricity:type', value: 'power_on_for_long_trains' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: VGF st9 + country: DE + icon: { default: 'de/vgf/st9' } + tags: + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity', value: 'DE-VGF:st9' } + + - description: VGF st10 + country: DE + icon: { default: 'de/vgf/st10' } + tags: + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity', value: 'DE-VGF:st10' } + + - description: VGF st9 & st10 + country: DE + icon: { default: 'de/vgf/st9-st10' } + tags: + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity', value: 'DE-VGF:st9;DE-VGF:st10' } + + # --- ES --- # + + - description: end of catenary + country: ES + # TODO add turn direction + icon: { default: 'es/FI14A' } + tags: + - { tag: 'railway:signal:electricity', values: ['ES:FI14A', 'ES:FI14B'] } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'end_of_catenaxy' } + + - description: power off shortly + country: ES + icon: { default: 'es/FI14C' } + tags: + - { tag: 'railway:signal:electricity', value: 'ES:FI14C' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_off_shortly' } + + - description: power off shortly (full) + country: ES + icon: { default: 'es/FI14D' } + tags: + - { tag: 'railway:signal:electricity', value: 'ES:FI14D' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_off_shortly' } + + - description: pantograph down + country: ES + icon: { default: 'es/FI14E' } + tags: + - { tag: 'railway:signal:electricity', value: 'ES:FI14E' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } + + - description: pantograph up + country: ES + icon: { default: 'es/FI14F' } + tags: + - { tag: 'railway:signal:electricity', value: 'ES:FI14F' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } + + - description: pantograph down announcement + country: ES + icon: { default: 'es/FI14G' } + tags: + - { tag: 'railway:signal:electricity', value: 'ES:FI14G' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } + + - description: power off announcement + country: ES + icon: { default: 'es/FI14H' } + tags: + - { tag: 'railway:signal:electricity', value: 'ES:FI14H' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } + + - description: power off + country: ES + icon: { default: 'es/FI14I' } + tags: + - { tag: 'railway:signal:electricity', value: 'ES:FI14I' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_off' } + + - description: power on + country: ES + icon: { default: 'es/FI14J' } + tags: + - { tag: 'railway:signal:electricity', value: 'ES:FI14J' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_on' } + + # --- FI --- # + + - description: Erotusjakson etumerkki + country: FI + icon: { default: 'fi/t-120' } + tags: + - { tag: 'railway:signal:electricity', value: 'FI:T-120' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: Erotusjakso alkaa + country: FI + icon: { default: 'fi/t-122' } + tags: + - { tag: 'railway:signal:electricity', value: 'FI:T-122' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: Erotusjakso päättyy + country: FI + icon: { default: 'fi/t-123' } + tags: + - { tag: 'railway:signal:electricity', value: 'FI:T-123' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: Ajojohdin päättyy + country: FI + icon: { default: 'fi/t-121' } + tags: + - { tag: 'railway:signal:electricity', value: 'FI:T-121' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: Laske virroitin + country: FI + icon: { default: 'fi/t-124A' } + tags: + - { tag: 'railway:signal:electricity', value: 'FI:T-124A' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: Laske virroitin -etumerkki + country: FI + icon: { default: 'fi/t-133' } + tags: + - { tag: 'railway:signal:electricity', value: 'FI:T-133' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: Nosta virroitin + country: FI + icon: { default: 'fi/t-125' } + tags: + - { tag: 'railway:signal:electricity', value: 'FI:T-125' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + # --- FR --- # + + - description: Neutral Zone Announcement + country: FR + icon: { default: 'fr/SECT' } + tags: + - { tag: 'railway:signal:electricity', value: 'FR:SECT' } + - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } + - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } + + - description: Start of Neutral Zone + country: FR + icon: { default: 'fr/CC_EXE' } + tags: + - { tag: 'railway:signal:electricity', value: 'FR:CC_EXE' } + - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } + - { tag: 'railway:signal:electricity:type', value: 'power_off' } + + - description: End of Neutral Zone + country: FR + icon: { default: 'fr/CC_FIN' } + tags: + - { tag: 'railway:signal:electricity', value: 'FR:CC_FIN' } + - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } + - { tag: 'railway:signal:electricity:type', value: 'power_on' } + + - description: End of Neutral Zone (reversible trains) + country: FR + icon: { default: 'fr/REV' } + tags: + - { tag: 'railway:signal:electricity', value: 'FR:REV' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_on' } + + - description: Pantograph Down Announcement + country: FR + icon: { default: 'fr/BP_DIS' } + tags: + - { tag: 'railway:signal:electricity', value: 'FR:BP_DIS' } + - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } + + - description: Start of Pantograph Down + country: FR + icon: { default: 'fr/BP_EXE' } + tags: + - { tag: 'railway:signal:electricity', value: 'FR:BP_EXE' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } + + - description: End of Pantograph Down + country: FR + icon: { default: 'fr/BP_FIN' } + tags: + - { tag: 'railway:signal:electricity', value: 'FR:BP_FIN' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } + + - description: Dual-Mode Traffic + country: FR + icon: { default: 'fr/BIMODE' } + tags: + - { tag: 'railway:signal:electricity', values: ['FR:BIMODE', 'FR:BIMODE_A'] } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: End of Catenaries + country: FR + icon: { default: 'fr/FIN_CAT' } + tags: + - { tag: 'railway:signal:electricity', value: 'FR:FIN_CAT' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'end_of_catenary' } + + - description: Stop Markers + country: FR + icon: { default: 'fr/JALON_ARRET' } + tags: + - { tag: 'railway:signal:electricity', value: 'FR:JALON_ARRET' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + + - description: Frost Board + country: FR + icon: { default: 'fr/GIVRE' } + tags: + - { tag: 'railway:signal:electricity', value: 'FR:GIVRE' } + - { tag: 'railway:signal:electricity:form', values: ['sign', 'light'] } + + # --- LU --- # + + - description: ESFA + country: LU + icon: { default: 'lu/ESFA' } + tags: + - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFA' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'end_of_catenary' } + + - description: ESFAp/TA + country: LU + icon: { default: 'lu/ESFAp_TA' } + tags: + - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFAp/TA' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } + + - description: ESFAp/TE + country: LU + icon: { default: 'lu/ESFAp_TE' } + tags: + - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFAp/TE' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } + + - description: ESFAp/TR + country: LU + icon: { default: 'lu/ESFAp_TR' } + tags: + - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFAp/TR' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } + + - description: ESFCC/A + country: LU + icon: { default: 'lu/ESFCC_A' } + tags: + - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFCC/A' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_off_advance' } + + - description: ESFCC/E + country: LU + icon: { default: 'lu/ESFCC_E' } + tags: + - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFCC/E' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_off' } + + - description: ESFCC/F + country: LU + icon: { default: 'lu/ESFCC_F' } + tags: + - { tag: 'railway:signal:electricity', value: 'LU-CFL:ESFCC/F' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_on' } + + # --- NL --- # + + - description: power off + country: NL + icon: { default: 'nl/306a' } + tags: + - { tag: 'railway:signal:electricity', value: 'NL:306a' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_off' } # TODO support carriages - - description: pantograph up - country: NL - icon: { default: 'nl/310a' } - tags: - - { tag: 'railway:signal:electricity', value: 'NL:310a' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } - - - description: end of catenary - country: NL - icon: - match: 'railway:signal:electricity:turn_direction' - cases: - - { regex: '^right$', value: 'nl/311-right' } - - { regex: '^left$', value: 'nl/311-left' } - default: 'nl/311' - tags: - - { tag: 'railway:signal:electricity', value: 'NL:311' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'end_of_catenary' } - - - description: voltage change - country: NL - icon: - match: 'railway:signal:electricity:voltage' - cases: - - { regex: '^1500$', value: 'nl/320-1500' } - - { regex: '^25000$', value: 'nl/320-25000' } - default: 'nl/320-unknown' - tags: - - { tag: 'railway:signal:electricity', value: 'NL:320' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'voltage_change' } - - # --- PL --- # - - - description: Wskaźnik uprzedzający o opuszczeniu pantografu (we1) - country: PL - icon: - match: 'railway:signal:electricity:turn_direction' - cases: - - { regex: '^right$', value: 'pl/we1b' } - - { regex: '^left$', value: 'pl/we1c' } - default: 'pl/we1a' - tags: - - { tag: 'railway:signal:electricity', value: 'PL-PKP:we1' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } - - - description: Wskaźniki opuszczenia pantografu (we2) - country: PL - icon: - match: 'railway:signal:electricity:turn_direction' - cases: - - { regex: '^right$', value: 'pl/we2b' } - - { regex: '^left$', value: 'pl/we2c' } - default: 'pl/we2a' - tags: - - { tag: 'railway:signal:electricity', values: ['PL-PKP:we2a', 'PL-PKP:we2b', 'PL-PKP:we2c'] } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } - - - description: Wskaźniki podniesienia pantografu (we3) - country: PL - icon: - match: 'railway:signal:electricity:for' - cases: - - { regex: '^locomotive$', value: 'pl/we3b' } - default: 'pl/we3a' - tags: - - { tag: 'railway:signal:electricity', values: ['PL-PKP:we3a', 'PL-PKP:we3b', 'PL-PKP:we3c'] } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } - - - description: Wskaźniki zakazu wjazdu elektrycznych pojazdów trakcyjnych (we4) - country: PL - icon: - match: 'railway:signal:electricity:turn_direction' - cases: - - { regex: '^right$', value: 'pl/we4b' } - - { regex: '^left$', value: 'pl/we4c' } - default: 'pl/we4a' - tags: - - { tag: 'railway:signal:electricity', values: ['PL-PKP:we4a', 'PL-PKP:we4b', 'PL-PKP:we4c'] } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'end_of_catenary' } - - - description: Wskaźniki jazdy bezprądowej (we8) - country: PL - icon: - match: 'railway:signal:electricity:turn_direction' - cases: - - { regex: '^right$', value: 'pl/we8b' } - - { regex: '^left$', value: 'pl/we8c' } - default: 'pl/we8a' - tags: - - { tag: 'railway:signal:electricity', values: ['PL-PKP:we8a', 'PL-PKP:we8b', 'PL-PKP:we8c'] } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_off' } - - - description: Wskaźniki jazdy pod prądem (we9) - country: PL - icon: - match: 'railway:signal:electricity:for' - cases: - - { regex: '^locomotive$', value: 'pl/we9b' } - default: 'pl/we9a' - tags: - - { tag: 'railway:signal:electricity', values: ['PL-PKP:we9a', 'PL-PKP:we9b', 'PL-PKP:we9c'] } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_on' } - - - description: Wskaźniki zmiany systemu zasilania 25 kV - country: PL - icon: { default: 'pl/we10a' } - tags: - - { tag: 'railway:signal:electricity', value: 'PL-PKP:we10a' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_change' } - - - description: Wskaźniki zmiany systemu zasilania 25 kV - country: PL - icon: { default: 'pl/we10b' } - tags: - - { tag: 'railway:signal:electricity', value: 'PL-PKP:we10b' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_change' } - - - description: Wskaźniki zmiany systemu zasilania 15 kV - country: PL - icon: { default: 'pl/we10c' } - tags: - - { tag: 'railway:signal:electricity', value: 'PL-PKP:we10c' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_change' } - - - description: Wskaźniki zmiany systemu zasilania 15 kV - country: PL - icon: { default: 'pl/we10d' } - tags: - - { tag: 'railway:signal:electricity', value: 'PL-PKP:we10d' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_change' } - - - description: Wskaźniki zmiany systemu zasilania 3 kV - country: PL - icon: { default: 'pl/we10e' } - tags: - - { tag: 'railway:signal:electricity', value: 'PL-PKP:we10e' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_change' } - - - description: Wskaźniki zmiany systemu zasilania 3 kV - country: PL - icon: { default: 'pl/we10f' } - tags: - - { tag: 'railway:signal:electricity', value: 'PL-PKP:we10f' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_change' } - - - description: Tram isolation (ct-1) - country: PL - icon: { default: 'pl/ct-1' } - tags: - - { tag: 'railway:signal:electricity', value: 'PL-tram:ct-1' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'isolation' } - - - description: Tram power limit (ct-2) - country: PL - icon: { default: 'pl/ct-2' } - tags: - - { tag: 'railway:signal:electricity', value: 'PL-tram:ct-2' } - - { tag: 'railway:signal:electricity:form', value: 'sign' } - - { tag: 'railway:signal:electricity:type', value: 'power_limit' } + - description: power on + country: NL + icon: { default: 'nl/307a' } + tags: + - { tag: 'railway:signal:electricity', value: 'NL:307a' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_on' } + + - description: announcement pantograph down + country: NL + icon: { default: 'nl/307a' } + tags: + - { tag: 'railway:signal:electricity', value: 'NL:308a' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } + + # TODO support wash + - description: pantograph down + country: NL + icon: { default: 'nl/309a' } + tags: + - { tag: 'railway:signal:electricity', value: 'NL:309a' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } + + # TODO support carriages + - description: pantograph up + country: NL + icon: { default: 'nl/310a' } + tags: + - { tag: 'railway:signal:electricity', value: 'NL:310a' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } + + - description: end of catenary + country: NL + icon: + match: 'railway:signal:electricity:turn_direction' + cases: + - { regex: '^right$', value: 'nl/311-right' } + - { regex: '^left$', value: 'nl/311-left' } + default: 'nl/311' + tags: + - { tag: 'railway:signal:electricity', value: 'NL:311' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'end_of_catenary' } + + - description: voltage change + country: NL + icon: + match: 'railway:signal:electricity:voltage' + cases: + - { regex: '^1500$', value: 'nl/320-1500' } + - { regex: '^25000$', value: 'nl/320-25000' } + default: 'nl/320-unknown' + tags: + - { tag: 'railway:signal:electricity', value: 'NL:320' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'voltage_change' } + + # --- PL --- # + + - description: Wskaźnik uprzedzający o opuszczeniu pantografu (we1) + country: PL + icon: + match: 'railway:signal:electricity:turn_direction' + cases: + - { regex: '^right$', value: 'pl/we1b' } + - { regex: '^left$', value: 'pl/we1c' } + default: 'pl/we1a' + tags: + - { tag: 'railway:signal:electricity', value: 'PL-PKP:we1' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down_advance' } + + - description: Wskaźniki opuszczenia pantografu (we2) + country: PL + icon: + match: 'railway:signal:electricity:turn_direction' + cases: + - { regex: '^right$', value: 'pl/we2b' } + - { regex: '^left$', value: 'pl/we2c' } + default: 'pl/we2a' + tags: + - { tag: 'railway:signal:electricity', values: ['PL-PKP:we2a', 'PL-PKP:we2b', 'PL-PKP:we2c'] } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_down' } + + - description: Wskaźniki podniesienia pantografu (we3) + country: PL + icon: + match: 'railway:signal:electricity:for' + cases: + - { regex: '^locomotive$', value: 'pl/we3b' } + default: 'pl/we3a' + tags: + - { tag: 'railway:signal:electricity', values: ['PL-PKP:we3a', 'PL-PKP:we3b', 'PL-PKP:we3c'] } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'pantograph_up' } + + - description: Wskaźniki zakazu wjazdu elektrycznych pojazdów trakcyjnych (we4) + country: PL + icon: + match: 'railway:signal:electricity:turn_direction' + cases: + - { regex: '^right$', value: 'pl/we4b' } + - { regex: '^left$', value: 'pl/we4c' } + default: 'pl/we4a' + tags: + - { tag: 'railway:signal:electricity', values: ['PL-PKP:we4a', 'PL-PKP:we4b', 'PL-PKP:we4c'] } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'end_of_catenary' } + + - description: Wskaźniki jazdy bezprądowej (we8) + country: PL + icon: + match: 'railway:signal:electricity:turn_direction' + cases: + - { regex: '^right$', value: 'pl/we8b' } + - { regex: '^left$', value: 'pl/we8c' } + default: 'pl/we8a' + tags: + - { tag: 'railway:signal:electricity', values: ['PL-PKP:we8a', 'PL-PKP:we8b', 'PL-PKP:we8c'] } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_off' } + + - description: Wskaźniki jazdy pod prądem (we9) + country: PL + icon: + match: 'railway:signal:electricity:for' + cases: + - { regex: '^locomotive$', value: 'pl/we9b' } + default: 'pl/we9a' + tags: + - { tag: 'railway:signal:electricity', values: ['PL-PKP:we9a', 'PL-PKP:we9b', 'PL-PKP:we9c'] } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_on' } + + - description: Wskaźniki zmiany systemu zasilania 25 kV + country: PL + icon: { default: 'pl/we10a' } + tags: + - { tag: 'railway:signal:electricity', value: 'PL-PKP:we10a' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_change' } + + - description: Wskaźniki zmiany systemu zasilania 25 kV + country: PL + icon: { default: 'pl/we10b' } + tags: + - { tag: 'railway:signal:electricity', value: 'PL-PKP:we10b' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_change' } + + - description: Wskaźniki zmiany systemu zasilania 15 kV + country: PL + icon: { default: 'pl/we10c' } + tags: + - { tag: 'railway:signal:electricity', value: 'PL-PKP:we10c' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_change' } + + - description: Wskaźniki zmiany systemu zasilania 15 kV + country: PL + icon: { default: 'pl/we10d' } + tags: + - { tag: 'railway:signal:electricity', value: 'PL-PKP:we10d' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_change' } + + - description: Wskaźniki zmiany systemu zasilania 3 kV + country: PL + icon: { default: 'pl/we10e' } + tags: + - { tag: 'railway:signal:electricity', value: 'PL-PKP:we10e' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_change' } + + - description: Wskaźniki zmiany systemu zasilania 3 kV + country: PL + icon: { default: 'pl/we10f' } + tags: + - { tag: 'railway:signal:electricity', value: 'PL-PKP:we10f' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_change' } + + - description: Tram isolation (ct-1) + country: PL + icon: { default: 'pl/ct-1' } + tags: + - { tag: 'railway:signal:electricity', value: 'PL-tram:ct-1' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'isolation' } + + - description: Tram power limit (ct-2) + country: PL + icon: { default: 'pl/ct-2' } + tags: + - { tag: 'railway:signal:electricity', value: 'PL-tram:ct-2' } + - { tag: 'railway:signal:electricity:form', value: 'sign' } + - { tag: 'railway:signal:electricity:type', value: 'power_limit' } diff --git a/features/poi.yaml b/features/poi.yaml new file mode 100644 index 00000000..7b3ba392 --- /dev/null +++ b/features/poi.yaml @@ -0,0 +1,84 @@ +features: + - description: Tram stop + feature: 'general/tram-stop' + + - description: Border crossing + feature: 'general/border' + variants: + - description: owner change + feature: 'general/owner-change' + + - description: Radio mast + feature: 'general/radio-mast' + variants: + - description: antenna + feature: 'general/radio-antenna' + + - description: Crossing + feature: 'general/crossing' + variants: + - description: Level crossing + feature: 'general/level-crossing' + + - description: Level crossing with lights + feature: 'general/level-crossing-light' + + - description: Level crossing with barrier + feature: 'general/level-crossing-barrier' + + - description: Phone + feature: 'general/phone' + + - description: Lubricator + feature: 'general/lubricator' + + - description: Fuel + feature: 'general/fuel' + + - description: Sand store + feature: 'general/sand_store' + + - description: Defect detector + feature: 'general/defect_detector' + + - description: Automatic equipment identification + feature: 'general/aei' + + - description: Buffer stop + feature: 'general/phone' + variants: + - description: Derailer + feature: 'general/derail' + + - description: Hump + feature: 'general/hump_yard' + + - description: Loading gauge + feature: 'general/loading_gauge' + + - description: Preheating + feature: 'general/preheating' + + - description: Compressed air supply + feature: 'general/compressed_air_supply' + + - description: Waste disposal + feature: 'general/waste_disposal' + + - description: Coaling facility + feature: 'general/coaling_facility' + + - description: Wash + feature: 'general/wash' + + - description: Water tower + feature: 'general/water_tower' + variants: + - description: Crane + feature: 'general/water_crane' + + - description: Axle counter + feature: 'general/vacancy-detection-axle-counter' + variants: + - description: Insulated rail joint + feature: 'general/vacancy-detection-insulated-rail-joint' diff --git a/features/signals_railway_signals.yaml b/features/signals_railway_signals.yaml index 586cd8ff..58cd439b 100644 --- a/features/signals_railway_signals.yaml +++ b/features/signals_railway_signals.yaml @@ -1,2017 +1,2016 @@ -signals_railway_signals: - tags: - # railway tag is included by default - - 'railway:signal:combined' - - 'railway:signal:combined:form' - - 'railway:signal:combined:states' - - 'railway:signal:combined:shortened' - - 'railway:signal:combined:substitute_signal' - - 'railway:signal:combined:height' - - 'railway:signal:crossing' - - 'railway:signal:crossing:form' - - 'railway:signal:crossing:repeated' - - 'railway:signal:crossing:shortened' - - 'railway:signal:crossing_distant' - - 'railway:signal:crossing_distant:shortened' - - 'railway:signal:crossing_distant:form' - - 'railway:signal:departure' - - 'railway:signal:departure:form' - - 'railway:signal:distant' - - 'railway:signal:distant:form' - - 'railway:signal:distant:repeated' - - 'railway:signal:distant:shortened' - - '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' - - 'railway:signal:humping' - - 'railway:signal:humping:form' - - 'railway:signal:main' - - 'railway:signal:main:form' - - 'railway:signal:main:height' - - 'railway:signal:main:states' - - 'railway:signal:main:substitute_signal' - - 'railway:signal:main_repeated' - - 'railway:signal:main_repeated:form' - - 'railway:signal:main_repeated:states' - - 'railway:signal:minor' - - 'railway:signal:minor:form' - - 'railway:signal:minor:states' - - 'railway:signal:minor:height' - - 'railway:signal:minor_distant' - - 'railway:signal:minor_distant:form' - - 'railway:signal:minor_distant:states' - - 'railway:signal:passing' - - 'railway:signal:passing:form' - - 'railway:signal:passing:type' - - 'railway:signal:resetting_switch' - - 'railway:signal:resetting_switch:form' - - 'railway:signal:resetting_switch_distant' - - 'railway:signal:resetting_switch_distant:form' - - 'railway:signal:preheating' - - 'railway:signal:preheating:form' - - 'railway:signal:ring' - - 'railway:signal:ring:form' +tags: + # railway tag is included by default + - 'railway:signal:combined' + - 'railway:signal:combined:form' + - 'railway:signal:combined:states' + - 'railway:signal:combined:shortened' + - 'railway:signal:combined:substitute_signal' + - 'railway:signal:combined:height' + - 'railway:signal:crossing' + - 'railway:signal:crossing:form' + - 'railway:signal:crossing:repeated' + - 'railway:signal:crossing:shortened' + - 'railway:signal:crossing_distant' + - 'railway:signal:crossing_distant:shortened' + - 'railway:signal:crossing_distant:form' + - 'railway:signal:departure' + - 'railway:signal:departure:form' + - 'railway:signal:distant' + - 'railway:signal:distant:form' + - 'railway:signal:distant:repeated' + - 'railway:signal:distant:shortened' + - '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' + - 'railway:signal:humping' + - 'railway:signal:humping:form' + - 'railway:signal:main' + - 'railway:signal:main:form' + - 'railway:signal:main:height' + - 'railway:signal:main:states' + - 'railway:signal:main:substitute_signal' + - 'railway:signal:main_repeated' + - 'railway:signal:main_repeated:form' + - 'railway:signal:main_repeated:states' + - 'railway:signal:minor' + - 'railway:signal:minor:form' + - 'railway:signal:minor:states' + - 'railway:signal:minor:height' + - 'railway:signal:minor_distant' + - 'railway:signal:minor_distant:form' + - 'railway:signal:minor_distant:states' + - 'railway:signal:passing' + - 'railway:signal:passing:form' + - 'railway:signal:passing:type' + - 'railway:signal:resetting_switch' + - 'railway:signal:resetting_switch:form' + - 'railway:signal:resetting_switch_distant' + - 'railway:signal:resetting_switch_distant:form' + - 'railway:signal:preheating' + - 'railway:signal:preheating:form' + - 'railway:signal:ring' + - 'railway:signal:ring:form' - 'railway:signal:ring:only_transit' - - 'railway:signal:radio' - - 'railway:signal:radio:form' - - 'railway:signal:shunting' - - 'railway:signal:shunting:form' - - 'railway:signal:shunting:states' - - 'railway:signal:shunting:height' - - 'railway:signal:snowplow' - - 'railway:signal:snowplow:form' - - 'railway:signal:snowplow:type' - # Excludes most railway:signal:speed_limit and related tags because those are included as part of the speed signal tags - - 'railway:signal:speed_limit:states' - - 'railway:signal:station_distant' - - 'railway:signal:station_distant:form' - - 'railway:signal:stop' - - 'railway:signal:steam_locomotive' - - 'railway:signal:steam_locomotive:form' - - 'railway:signal:stop:form' - - 'railway:signal:stop:carriages' - - 'railway:signal:stop_demand' - - 'railway:signal:stop_demand:form' - - 'railway:signal:train_protection' - - 'railway:signal:train_protection:form' - - 'railway:signal:train_protection:shape' - - 'railway:signal:train_protection:type' - - 'railway:signal:whistle' - - 'railway:signal:whistle:form' - - 'railway:signal:whistle:only_transit' - - 'railway:signal:wrong_road' - - 'railway:signal:wrong_road:form' - - 'railway:vacancy_detection' - - 'railway:signal:position' - - features: - - # --- General --- # - - - description: Vacancy detection - icon: - match: 'railway:vacancy_detection' - cases: - - { regex: '^insulated_rail_joint$', value: 'general/vacancy-detection-insulated-rail-joint', description: 'insulated rail joint' } - - { regex: '^axle_counter$', value: 'general/vacancy-detection-axle-counter', description: 'axle counter' } - default: 'general/vacancy-detection' - tags: - - { tag: 'railway', value: 'vacancy_detection' } - - # --- AT --- # - - - description: Verschubverbot - country: AT - icon: - match: 'railway:signal:shunting:height' - cases: - - { regex: '^dwarf$', value: 'at/verschubverbot-aufgehoben-dwarf', description: 'zwerg' } - default: 'at/verschubverbot-aufgehoben' - tags: - - { tag: 'railway:signal:shunting', value: 'AT-V2:verschubsignal' } - - { tag: 'railway:signal:shunting:form', value: 'light' } - - - description: Sperrsignale (sign) - country: AT - icon: { default: 'at/weiterfahrt-verboten' } - tags: - - { tag: 'railway:signal:minor', value: 'AT-V2:weiterfahrt_verboten' } - - { tag: 'railway:signal:minor:form', value: 'sign' } - - - description: Sperrsignale (semaphore) - country: AT - icon: { default: 'at/weiterfahrt-erlaubt' } - tags: - - { tag: 'railway:signal:minor', value: 'AT-V2:sperrsignal' } - - { tag: 'railway:signal:minor:form', value: 'semaphore' } - - - description: distant (light) - country: AT - icon: - match: 'railway:signal:distant:states' - cases: - - { regex: '^(.*;)?AT-V2:hauptsignal_frei_mit_60(;.*)?$', value: 'at/vorsignal-hauptsignal-frei-mit-60', description: '60 km/h' } - - { regex: '^(.*;)?AT-V2:hauptsignal_frei_mit_(2|4)0(;.*)?$', value: 'at/vorsignal-hauptsignal-frei-mit-40', description: '20/40 km/h' } - - { regex: '^(.*;)?AT-V2:hauptsignal_frei(;.*)?$', value: 'at/vorsignal-hauptsignal-frei', description: 'clear' } - default: 'at/vorsignal-vorsicht' - tags: - - { tag: 'railway:signal:distant', value: 'AT-V2:vorsignal' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - - description: distant (semaphore) - country: AT - icon: { default: 'at/vorsicht-semaphore' } - tags: - - { tag: 'railway:signal:distant', value: 'AT-V2:vorsignal' } - - { tag: 'railway:signal:distant:form', value: 'semaphore' } - - - description: Hauptsignal (abfahrt) - country: AT - icon: { default: 'at/hauptsignal-abfahrt' } - tags: - - { tag: 'railway:signal:main', value: 'AT-V2:hauptsignal' } - - { tag: 'railway:signal:main:form', value: 'light' } - - { tag: 'railway:signal:departure', value: 'AT-V2:abfahrt' } - - { tag: 'railway:signal:departure:form', value: 'light' } - - - description: Hauptsignal (fahrerlaubnis) - country: AT - icon: { default: 'at/hauptsignal-fahrerlaubnis' } - tags: - - { tag: 'railway:signal:main', value: 'AT-V2:hauptsignal' } - - { tag: 'railway:signal:main:form', value: 'light' } - - { tag: 'railway:signal:departure', value: 'AT-V2:fahrerlaubnissignal' } - - { tag: 'railway:signal:departure:form', value: 'light' } - - - description: Hauptsignal (light) - country: AT - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^(.*;)?AT-V2:frei_mit_60(;.*)?$', value: 'at/hauptsignal-frei-mit-60', description: '60 km/h' } - - { regex: '^(.*;)?AT-V2:frei_mit_(2|4)0(;.*)?$', value: 'at/hauptsignal-frei-mit-40', description: '20/40 km/h' } - - { regex: '^(.*;)?AT-V2:frei(;.*)?$', value: 'at/hauptsignal-frei', description: 'clear' } - default: 'at/hauptsignal-halt' - tags: - - { tag: 'railway:signal:main', value: 'AT-V2:hauptsignal' } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: Verschubhalttafel - country: AT - icon: { default: 'de/ra10' } - tags: - - { tag: 'railway:signal:shunting', value: 'AT-V2:verschubhalttafel' } - - { tag: 'railway:signal:shunting:form', value: 'sign' } - - - description: Wartesignal ohne "Verschubverbot aufgehoben" - country: AT - icon: { default: 'de/ra11-sign' } - tags: - - { tag: 'railway:signal:shunting', value: 'AT-V2:wartesignal' } - - { tag: 'railway:signal:shunting:form', value: 'sign' } - - - description: Main entry sign Ne 1 - country: AT - icon: { default: 'de/ne1' } - tags: - - { tag: 'railway:signal:main', value: 'AT-V2:trapeztafel' } - - { tag: 'railway:signal:main:form', value: 'sign' } - - - description: Kreuztafel - country: AT - icon: { default: 'de/so106' } - tags: - - { tag: 'railway:signal:distant', value: 'AT-V2:kreuztafel' } - - { tag: 'railway:signal:distant:form', value: 'sign' } - - - description: Hauptsignal (semaphore) - country: AT - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^(.*;)?AT-V2:frei_mit_(4|2)0(;.*)?$', value: 'de/hp2-semaphore', description: '20/40 km/h' } - - { regex: '^(.*;)?AT-V2:frei(;.*)?$', value: 'de/hp1-semaphore', description: 'clear' } - default: 'de/hp0-semaphore' - tags: - - { tag: 'railway:signal:main', value: 'AT-V2:hauptsignal' } - - { tag: 'railway:signal:main:form', value: 'semaphore' } - - - description: Bedarfshalt - country: AT - icon: { default: 'at/bedarfshalt' } - tags: - - { tag: 'railway:signal:stop_demand', value: 'AT:bedarfshalt-signal' } - - { tag: 'railway:signal:stop_demand:form', value: 'light' } - - - description: Haltestellentafel - country: AT - icon: { default: 'de/ne6' } - tags: - - { tag: 'railway:signal:station_distant', value: 'AT-V2:haltestellentafel' } - - { tag: 'railway:signal:station_distant:form', value: 'sign' } - - - description: Schutzsignal (abfahrt) - country: AT - icon: { default: 'at/schutzsignal-abfahrt' } - tags: - - { tag: 'railway:signal:minor', value: 'AT-V2:schutzsignal' } - - { tag: 'railway:signal:minor:form', value: 'light' } - - { tag: 'railway:signal:departure', value: 'AT-V2:abfahrt' } - - { tag: 'railway:signal:departure:form', value: 'light' } - - - description: Schutzsignal (Signalnachahmer) - country: AT - icon: { default: 'at/schutzsignal-signalnachahmer' } - tags: - - { tag: 'railway:signal:minor', value: 'AT-V2:schutzsignal' } - - { tag: 'railway:signal:minor:form', value: 'light' } - - { tag: 'railway:signal:main_repeated', value: 'AT-V2:signalnachahmer' } - - { tag: 'railway:signal:main_repeated:form', value: 'light' } - - - description: Schutzsignal - country: AT - icon: { default: 'at/schutzsignal' } - tags: - - { tag: 'railway:signal:minor', value: 'AT-V2:schutzsignal' } - - { tag: 'railway:signal:minor:form', value: 'light' } - - - description: Überwachungssignal - country: AT - icon: { default: 'at/ek_gesichert' } - tags: - - { tag: 'railway:signal:crossing', value: 'AT-V2:ek_überwachungssignal' } - - { tag: 'railway:signal:crossing:form', value: 'light' } - - - description: Pfeifpflock - country: AT - icon: { default: 'at/pfeifpflock' } - tags: - - { tag: 'railway:signal:whistle', value: 'AT-V2:pfeifpflock' } - - { tag: 'railway:signal:whistle:form', value: 'sign' } - - - description: Gruppenpfeifpflock - country: AT - icon: { default: 'at/gruppenpfeifpflock' } - tags: - - { tag: 'railway:signal:whistle', value: 'AT-V2:gruppenpfeifpflock' } - - { tag: 'railway:signal:whistle:form', value: 'sign' } - - - description: Endpflock - country: AT - icon: { default: 'at/endpflock' } - tags: - - { tag: 'railway:signal:whistle', value: 'AT-V2:endpflock' } - - { tag: 'railway:signal:whistle:form', value: 'sign' } - - - description: Fahrwegende - country: AT - icon: { default: 'at/fahrwegende' } - tags: - - { tag: 'railway:signal:minor', value: 'AT-V2:fahrwegende' } - - { tag: 'railway:signal:minor:form', value: 'sign' } - - - description: Haltepunkt - country: AT - icon: { default: 'at/haltepunkt' } - tags: - - { tag: 'railway:signal:stop', value: 'AT-V2:haltepunkt' } - - { tag: 'railway:signal:stop:form', value: 'sign' } - - - description: Haltscheibe - country: AT - icon: { default: 'at/haltscheibe' } - tags: - - { tag: 'railway:signal:minor', value: 'AT-V2:haltscheibe' } - - { tag: 'railway:signal:minor:form', value: 'sign' } - - - description: Abfahrt - country: AT - icon: { default: 'at/abfahrt' } - tags: - - { tag: 'railway:signal:departure', value: 'AT-V2:abfahrt' } - - { tag: 'railway:signal:departure:form', value: 'light' } - - - description: Fahrerlaubnissignal - country: AT - icon: { default: 'at/fahrerlaubnis' } - tags: - - { tag: 'railway:signal:departure', value: 'AT-V2:fahrerlaubnissignal' } - - { tag: 'railway:signal:departure:form', value: 'light' } - - - description: Signalnachahmer - country: AT - icon: { default: 'at/signalnachahmer' } - tags: - - { tag: 'railway:signal:main_repeated', value: 'AT-V2:signalnachahmer' } - - { tag: 'railway:signal:main_repeated:form', value: 'light' } - - - description: LZB Bereichskennzeichen - country: AT - icon: { default: 'at/lzb-bereichskennzeichen' } - tags: - - { tag: 'railway:signal:train_protection', value: 'AT-V2:lzb-bereichskennzeichen' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - # --- BE --- # - - - description: grand signal d'arrêt - country: BE - icon: { default: 'be/GSA-V' } - tags: - - { tag: 'railway:signal:main', value: 'BE:GSA' } - - - description: signal d'arrêt simplifié - country: BE - icon: { default: 'be/SAS' } - tags: - - { tag: 'railway:signal:shunting', value: 'BE:SAS' } - - - description: petit signal d'arrêt - country: BE - icon: { default: 'be/PSA' } - tags: - - { tag: 'railway:signal:minor', value: 'BE:PSA' } - - - description: (BME) Shunting signal, triangle - country: BE - icon: { default: 'be/PSA' } - tags: - - { tag: 'railway:signal:shunting', value: 'BE-SME:small_signal_triangle' } - - - description: (BME) Shunting signal, 2 color - country: BE - icon: { default: 'be/bme/shunting_twocolour_ny' } - tags: - - { tag: 'railway:signal:shunting', value: 'BE-SME:small_signal_two_colour' } - - - description: (BME) Approach (semaphore) - country: BE - icon: { default: 'be/bme/semaphore_approach' } - tags: - - { tag: 'railway:signal:main', value: 'BE-SME:simplified_stop_signal' } - - { tag: 'railway:signal:main:form', value: 'semaphore' } - - - description: (BME) Simplified main signal - country: BE - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^(.*;)?BE-SME:W(;.*)?$', value: 'be/bme/simplified_xnw' } - - { regex: '^(.*;)?BE-SME:N(;.*)?$', value: 'be/bme/simplified_ny' } - default: 'be/bme/simplified_unknown' - tags: - - { tag: 'railway:signal:main', value: 'BE-SME:simplified_stop_signal' } - - # --- CH --- # - - - description: Vorsignal System L - country: CH - icon: - match: 'railway:signal:distant:states' - cases: - - { regex: '^(.*;)?CH-FDV:538(;.*)?$', value: 'ch/fdv-l-538' } - - { regex: '^(.*;)?CH-FDV:536(;.*)?$', value: 'ch/fdv-l-536' } - - { regex: '^(.*;)?CH-FDV:529(;.*)?$', value: 'ch/fdv-l-529' } - - { regex: '^(.*;)?CH-FDV:534(;.*)?$', value: 'ch/fdv-l-534' } - default: 'ch/fdv-l-528' - tags: - - { tag: 'railway:signal:distant', value: 'CH-FDV:l' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - - description: Mini-Hauptsignal System L - country: CH - icon: { default: 'ch/fdv-l-522.1' } - tags: - - { tag: 'railway:signal:combined', value: 'CH-FDV:512' } - - { tag: 'railway:signal:combined:form', value: 'light' } - - { tag: 'railway:signal:combined:height', value: 'dwarf' } - - - description: Hauptsignal System L - country: CH - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^(.*;)?CH-FDV:550(;.*)?$', value: 'ch/fdv-l-550' } - - { regex: '^(.*;)?CH-FDV:547(;.*)?$', value: 'ch/fdv-l-547' } - - { regex: '^(.*;)?CH-FDV:542(;.*)?$', value: 'ch/fdv-l-542' } - - { regex: '^(.*;)?CH-FDV:545(;.*)?$', value: 'ch/fdv-l-545' } - - { regex: '^(.*;)?CH-FDV:530(;.*)?$', value: 'ch/fdv-l-530' } - default: 'ch/fdv-l-524' - tags: - - { tag: 'railway:signal:main', value: 'CH-FDV:l' } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: Hauptsignal System L (combined) - country: CH - icon: - match: 'railway:signal:combined:states' - cases: - - { regex: '^(.*;)?CH-FDV:548(;.*)?$', value: 'ch/fdv-l-548' } - - { regex: '^(.*;)?CH-FDV:551(;.*)?$', value: 'ch/fdv-l-551' } - - { regex: '^(.*;)?CH-FDV:546(;.*)?$', value: 'ch/fdv-l-546' } - - { regex: '^(.*;)?CH-FDV:543(;.*)?$', value: 'ch/fdv-l-543' } - - { regex: '^(.*;)?CH-FDV:539(;.*)?$', value: 'ch/fdv-l-539' } - - { regex: '^(.*;)?CH-FDV:537(;.*)?$', value: 'ch/fdv-l-537' } - - { regex: '^(.*;)?CH-FDV:535(;.*)?$', value: 'ch/fdv-l-535' } - - { regex: '^(.*;)?CH-FDV:531(;.*)?$', value: 'ch/fdv-l-531' } - default: 'ch/fdv-l-525' - tags: - - { tag: 'railway:signal:combined', value: 'CH-FDV:l' } - - { tag: 'railway:signal:combined:form', value: 'light' } - - - description: Vorsignal System N - country: CH - icon: - match: 'railway:signal:distant:states' - cases: - - { regex: '^(.*;)?CH-FDV:(522|521)(;.*)?$', value: 'ch/fdv-n-521' } - default: 'ch/fdv-n-533' - tags: - - { tag: 'railway:signal:distant', value: 'CH-FDV:n' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - - description: Hauptsignal System N - country: CH - icon: - match: 'railway:signal:combined:states' - cases: - - { regex: '^(.*;)?CH-FDV:523(;.*)?$', value: 'ch/fdv-n-523' } - - { regex: '^(.*;)?CH-FDV:552(;.*)?$', value: 'ch/fdv-n-552' } - - { regex: '^(.*;)?CH-FDV:(532|533)(;.*)?$', value: 'ch/fdv-n-532' } - default: 'ch/fdv-n-526' - tags: - - { tag: 'railway:signal:combined', value: 'CH-FDV:n' } - - { tag: 'railway:signal:combined:form', value: 'light' } - - - description: Minor signal - country: CH - icon: { default: 'ch/fdv-232' } - tags: - - { tag: 'railway:signal:minor', value: 'CH-FDV:232' } - - { tag: 'railway:signal:minor:form', value: 'light' } - - - description: Fahrtstellungsmelder - country: CH - icon: { default: 'ch/fdv-559' } - tags: - - { tag: 'railway:signal:main_repeated', value: 'CH-FDV:559' } - - { tag: 'railway:signal:main_repeated:form', value: 'light' } - - # --- DE --- # - - - description: Bü 4 Whistle Sign - country: DE - icon: - match: 'railway:signal:whistle:only_transit' - cases: - - { regex: '^yes$', value: 'de/bue4-ds-only-transit', description: 'only transit' } - default: 'de/bue4-ds' - tags: - - { tag: 'railway:signal:whistle', value: 'DE-ESO:db:bü4' } - - { tag: 'railway:signal:whistle:form', value: 'sign' } - - - description: crossing distant sign Bü 2 - country: DE - icon: - match: 'railway:signal:crossing_distant:shortened' - cases: - - { regex: '^yes$', value: 'de/bue2-ds-reduced-distance', description: 'reduced distance' } - default: 'de/bue2-ds' - tags: - - { tag: 'railway:signal:crossing_distant', value: 'DE-ESO:bü2' } - - { tag: 'railway:signal:crossing_distant:form', value: 'sign' } - - - description: whistle sign Bü 3 - country: DE - icon: { default: 'de/bue3' } - tags: - - { tag: 'railway:signal:whistle', value: 'DE-ESO:bü3' } - - - description: whistle sign Pf 1 (DV 301) - country: DE - icon: - match: 'railway:signal:whistle:only_transit' - cases: - - { regex: '^yes$', value: 'de/pf1-dv-only-transit', description: 'only transit' } - default: 'de/pf1-dv' - tags: - - { tag: 'railway:signal:whistle', value: 'DE-ESO:dr:pf1' } - - { tag: 'railway:signal:whistle:form', value: 'sign' } - - - description: ring sign Bü 5 - country: DE - icon: - match: 'railway:signal:ring:only_transit' - cases: - - { regex: '^yes$', value: 'de/bue5-only-transit', description: 'only transit' } - default: 'de/bue5' - tags: - - { tag: 'railway:signal:ring', value: 'DE-ESO:bü5' } + - 'railway:signal:radio' + - 'railway:signal:radio:form' + - 'railway:signal:shunting' + - 'railway:signal:shunting:form' + - 'railway:signal:shunting:states' + - 'railway:signal:shunting:height' + - 'railway:signal:snowplow' + - 'railway:signal:snowplow:form' + - 'railway:signal:snowplow:type' + # Excludes most railway:signal:speed_limit and related tags because those are included as part of the speed signal tags + - 'railway:signal:speed_limit:states' + - 'railway:signal:station_distant' + - 'railway:signal:station_distant:form' + - 'railway:signal:stop' + - 'railway:signal:steam_locomotive' + - 'railway:signal:steam_locomotive:form' + - 'railway:signal:stop:form' + - 'railway:signal:stop:carriages' + - 'railway:signal:stop_demand' + - 'railway:signal:stop_demand:form' + - 'railway:signal:train_protection' + - 'railway:signal:train_protection:form' + - 'railway:signal:train_protection:shape' + - 'railway:signal:train_protection:type' + - 'railway:signal:whistle' + - 'railway:signal:whistle:form' + - 'railway:signal:whistle:only_transit' + - 'railway:signal:wrong_road' + - 'railway:signal:wrong_road:form' + - 'railway:vacancy_detection' + - 'railway:signal:position' + +features: + + # --- General --- # + + - description: Vacancy detection + icon: + match: 'railway:vacancy_detection' + cases: + - { regex: '^insulated_rail_joint$', value: 'general/vacancy-detection-insulated-rail-joint', description: 'insulated rail joint' } + - { regex: '^axle_counter$', value: 'general/vacancy-detection-axle-counter', description: 'axle counter' } + default: 'general/vacancy-detection' + tags: + - { tag: 'railway', value: 'vacancy_detection' } + + # --- AT --- # + + - description: Verschubverbot + country: AT + icon: + match: 'railway:signal:shunting:height' + cases: + - { regex: '^dwarf$', value: 'at/verschubverbot-aufgehoben-dwarf', description: 'zwerg' } + default: 'at/verschubverbot-aufgehoben' + tags: + - { tag: 'railway:signal:shunting', value: 'AT-V2:verschubsignal' } + - { tag: 'railway:signal:shunting:form', value: 'light' } + + - description: Sperrsignale (sign) + country: AT + icon: { default: 'at/weiterfahrt-verboten' } + tags: + - { tag: 'railway:signal:minor', value: 'AT-V2:weiterfahrt_verboten' } + - { tag: 'railway:signal:minor:form', value: 'sign' } + + - description: Sperrsignale (semaphore) + country: AT + icon: { default: 'at/weiterfahrt-erlaubt' } + tags: + - { tag: 'railway:signal:minor', value: 'AT-V2:sperrsignal' } + - { tag: 'railway:signal:minor:form', value: 'semaphore' } + + - description: distant (light) + country: AT + icon: + match: 'railway:signal:distant:states' + cases: + - { regex: '^(.*;)?AT-V2:hauptsignal_frei_mit_60(;.*)?$', value: 'at/vorsignal-hauptsignal-frei-mit-60', description: '60 km/h' } + - { regex: '^(.*;)?AT-V2:hauptsignal_frei_mit_(2|4)0(;.*)?$', value: 'at/vorsignal-hauptsignal-frei-mit-40', description: '20/40 km/h' } + - { regex: '^(.*;)?AT-V2:hauptsignal_frei(;.*)?$', value: 'at/vorsignal-hauptsignal-frei', description: 'clear' } + default: 'at/vorsignal-vorsicht' + tags: + - { tag: 'railway:signal:distant', value: 'AT-V2:vorsignal' } + - { tag: 'railway:signal:distant:form', value: 'light' } + + - description: distant (semaphore) + country: AT + icon: { default: 'at/vorsicht-semaphore' } + tags: + - { tag: 'railway:signal:distant', value: 'AT-V2:vorsignal' } + - { tag: 'railway:signal:distant:form', value: 'semaphore' } + + - description: Hauptsignal (abfahrt) + country: AT + icon: { default: 'at/hauptsignal-abfahrt' } + tags: + - { tag: 'railway:signal:main', value: 'AT-V2:hauptsignal' } + - { tag: 'railway:signal:main:form', value: 'light' } + - { tag: 'railway:signal:departure', value: 'AT-V2:abfahrt' } + - { tag: 'railway:signal:departure:form', value: 'light' } + + - description: Hauptsignal (fahrerlaubnis) + country: AT + icon: { default: 'at/hauptsignal-fahrerlaubnis' } + tags: + - { tag: 'railway:signal:main', value: 'AT-V2:hauptsignal' } + - { tag: 'railway:signal:main:form', value: 'light' } + - { tag: 'railway:signal:departure', value: 'AT-V2:fahrerlaubnissignal' } + - { tag: 'railway:signal:departure:form', value: 'light' } + + - description: Hauptsignal (light) + country: AT + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^(.*;)?AT-V2:frei_mit_60(;.*)?$', value: 'at/hauptsignal-frei-mit-60', description: '60 km/h' } + - { regex: '^(.*;)?AT-V2:frei_mit_(2|4)0(;.*)?$', value: 'at/hauptsignal-frei-mit-40', description: '20/40 km/h' } + - { regex: '^(.*;)?AT-V2:frei(;.*)?$', value: 'at/hauptsignal-frei', description: 'clear' } + default: 'at/hauptsignal-halt' + tags: + - { tag: 'railway:signal:main', value: 'AT-V2:hauptsignal' } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: Verschubhalttafel + country: AT + icon: { default: 'de/ra10' } + tags: + - { tag: 'railway:signal:shunting', value: 'AT-V2:verschubhalttafel' } + - { tag: 'railway:signal:shunting:form', value: 'sign' } + + - description: Wartesignal ohne "Verschubverbot aufgehoben" + country: AT + icon: { default: 'de/ra11-sign' } + tags: + - { tag: 'railway:signal:shunting', value: 'AT-V2:wartesignal' } + - { tag: 'railway:signal:shunting:form', value: 'sign' } + + - description: Main entry sign Ne 1 + country: AT + icon: { default: 'de/ne1' } + tags: + - { tag: 'railway:signal:main', value: 'AT-V2:trapeztafel' } + - { tag: 'railway:signal:main:form', value: 'sign' } + + - description: Kreuztafel + country: AT + icon: { default: 'de/so106' } + tags: + - { tag: 'railway:signal:distant', value: 'AT-V2:kreuztafel' } + - { tag: 'railway:signal:distant:form', value: 'sign' } + + - description: Hauptsignal (semaphore) + country: AT + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^(.*;)?AT-V2:frei_mit_(4|2)0(;.*)?$', value: 'de/hp2-semaphore', description: '20/40 km/h' } + - { regex: '^(.*;)?AT-V2:frei(;.*)?$', value: 'de/hp1-semaphore', description: 'clear' } + default: 'de/hp0-semaphore' + tags: + - { tag: 'railway:signal:main', value: 'AT-V2:hauptsignal' } + - { tag: 'railway:signal:main:form', value: 'semaphore' } + + - description: Bedarfshalt + country: AT + icon: { default: 'at/bedarfshalt' } + tags: + - { tag: 'railway:signal:stop_demand', value: 'AT:bedarfshalt-signal' } + - { tag: 'railway:signal:stop_demand:form', value: 'light' } + + - description: Haltestellentafel + country: AT + icon: { default: 'de/ne6' } + tags: + - { tag: 'railway:signal:station_distant', value: 'AT-V2:haltestellentafel' } + - { tag: 'railway:signal:station_distant:form', value: 'sign' } + + - description: Schutzsignal (abfahrt) + country: AT + icon: { default: 'at/schutzsignal-abfahrt' } + tags: + - { tag: 'railway:signal:minor', value: 'AT-V2:schutzsignal' } + - { tag: 'railway:signal:minor:form', value: 'light' } + - { tag: 'railway:signal:departure', value: 'AT-V2:abfahrt' } + - { tag: 'railway:signal:departure:form', value: 'light' } + + - description: Schutzsignal (Signalnachahmer) + country: AT + icon: { default: 'at/schutzsignal-signalnachahmer' } + tags: + - { tag: 'railway:signal:minor', value: 'AT-V2:schutzsignal' } + - { tag: 'railway:signal:minor:form', value: 'light' } + - { tag: 'railway:signal:main_repeated', value: 'AT-V2:signalnachahmer' } + - { tag: 'railway:signal:main_repeated:form', value: 'light' } + + - description: Schutzsignal + country: AT + icon: { default: 'at/schutzsignal' } + tags: + - { tag: 'railway:signal:minor', value: 'AT-V2:schutzsignal' } + - { tag: 'railway:signal:minor:form', value: 'light' } + + - description: Überwachungssignal + country: AT + icon: { default: 'at/ek_gesichert' } + tags: + - { tag: 'railway:signal:crossing', value: 'AT-V2:ek_überwachungssignal' } + - { tag: 'railway:signal:crossing:form', value: 'light' } + + - description: Pfeifpflock + country: AT + icon: { default: 'at/pfeifpflock' } + tags: + - { tag: 'railway:signal:whistle', value: 'AT-V2:pfeifpflock' } + - { tag: 'railway:signal:whistle:form', value: 'sign' } + + - description: Gruppenpfeifpflock + country: AT + icon: { default: 'at/gruppenpfeifpflock' } + tags: + - { tag: 'railway:signal:whistle', value: 'AT-V2:gruppenpfeifpflock' } + - { tag: 'railway:signal:whistle:form', value: 'sign' } + + - description: Endpflock + country: AT + icon: { default: 'at/endpflock' } + tags: + - { tag: 'railway:signal:whistle', value: 'AT-V2:endpflock' } + - { tag: 'railway:signal:whistle:form', value: 'sign' } + + - description: Fahrwegende + country: AT + icon: { default: 'at/fahrwegende' } + tags: + - { tag: 'railway:signal:minor', value: 'AT-V2:fahrwegende' } + - { tag: 'railway:signal:minor:form', value: 'sign' } + + - description: Haltepunkt + country: AT + icon: { default: 'at/haltepunkt' } + tags: + - { tag: 'railway:signal:stop', value: 'AT-V2:haltepunkt' } + - { tag: 'railway:signal:stop:form', value: 'sign' } + + - description: Haltscheibe + country: AT + icon: { default: 'at/haltscheibe' } + tags: + - { tag: 'railway:signal:minor', value: 'AT-V2:haltscheibe' } + - { tag: 'railway:signal:minor:form', value: 'sign' } + + - description: Abfahrt + country: AT + icon: { default: 'at/abfahrt' } + tags: + - { tag: 'railway:signal:departure', value: 'AT-V2:abfahrt' } + - { tag: 'railway:signal:departure:form', value: 'light' } + + - description: Fahrerlaubnissignal + country: AT + icon: { default: 'at/fahrerlaubnis' } + tags: + - { tag: 'railway:signal:departure', value: 'AT-V2:fahrerlaubnissignal' } + - { tag: 'railway:signal:departure:form', value: 'light' } + + - description: Signalnachahmer + country: AT + icon: { default: 'at/signalnachahmer' } + tags: + - { tag: 'railway:signal:main_repeated', value: 'AT-V2:signalnachahmer' } + - { tag: 'railway:signal:main_repeated:form', value: 'light' } + + - description: LZB Bereichskennzeichen + country: AT + icon: { default: 'at/lzb-bereichskennzeichen' } + tags: + - { tag: 'railway:signal:train_protection', value: 'AT-V2:lzb-bereichskennzeichen' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + # --- BE --- # + + - description: grand signal d'arrêt + country: BE + icon: { default: 'be/GSA-V' } + tags: + - { tag: 'railway:signal:main', value: 'BE:GSA' } + + - description: signal d'arrêt simplifié + country: BE + icon: { default: 'be/SAS' } + tags: + - { tag: 'railway:signal:shunting', value: 'BE:SAS' } + + - description: petit signal d'arrêt + country: BE + icon: { default: 'be/PSA' } + tags: + - { tag: 'railway:signal:minor', value: 'BE:PSA' } + + - description: (BME) Shunting signal, triangle + country: BE + icon: { default: 'be/PSA' } + tags: + - { tag: 'railway:signal:shunting', value: 'BE-SME:small_signal_triangle' } + + - description: (BME) Shunting signal, 2 color + country: BE + icon: { default: 'be/bme/shunting_twocolour_ny' } + tags: + - { tag: 'railway:signal:shunting', value: 'BE-SME:small_signal_two_colour' } + + - description: (BME) Approach (semaphore) + country: BE + icon: { default: 'be/bme/semaphore_approach' } + tags: + - { tag: 'railway:signal:main', value: 'BE-SME:simplified_stop_signal' } + - { tag: 'railway:signal:main:form', value: 'semaphore' } + + - description: (BME) Simplified main signal + country: BE + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^(.*;)?BE-SME:W(;.*)?$', value: 'be/bme/simplified_xnw' } + - { regex: '^(.*;)?BE-SME:N(;.*)?$', value: 'be/bme/simplified_ny' } + default: 'be/bme/simplified_unknown' + tags: + - { tag: 'railway:signal:main', value: 'BE-SME:simplified_stop_signal' } + + # --- CH --- # + + - description: Vorsignal System L + country: CH + icon: + match: 'railway:signal:distant:states' + cases: + - { regex: '^(.*;)?CH-FDV:538(;.*)?$', value: 'ch/fdv-l-538' } + - { regex: '^(.*;)?CH-FDV:536(;.*)?$', value: 'ch/fdv-l-536' } + - { regex: '^(.*;)?CH-FDV:529(;.*)?$', value: 'ch/fdv-l-529' } + - { regex: '^(.*;)?CH-FDV:534(;.*)?$', value: 'ch/fdv-l-534' } + default: 'ch/fdv-l-528' + tags: + - { tag: 'railway:signal:distant', value: 'CH-FDV:l' } + - { tag: 'railway:signal:distant:form', value: 'light' } + + - description: Mini-Hauptsignal System L + country: CH + icon: { default: 'ch/fdv-l-522.1' } + tags: + - { tag: 'railway:signal:combined', value: 'CH-FDV:512' } + - { tag: 'railway:signal:combined:form', value: 'light' } + - { tag: 'railway:signal:combined:height', value: 'dwarf' } + + - description: Hauptsignal System L + country: CH + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^(.*;)?CH-FDV:550(;.*)?$', value: 'ch/fdv-l-550' } + - { regex: '^(.*;)?CH-FDV:547(;.*)?$', value: 'ch/fdv-l-547' } + - { regex: '^(.*;)?CH-FDV:542(;.*)?$', value: 'ch/fdv-l-542' } + - { regex: '^(.*;)?CH-FDV:545(;.*)?$', value: 'ch/fdv-l-545' } + - { regex: '^(.*;)?CH-FDV:530(;.*)?$', value: 'ch/fdv-l-530' } + default: 'ch/fdv-l-524' + tags: + - { tag: 'railway:signal:main', value: 'CH-FDV:l' } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: Hauptsignal System L (combined) + country: CH + icon: + match: 'railway:signal:combined:states' + cases: + - { regex: '^(.*;)?CH-FDV:548(;.*)?$', value: 'ch/fdv-l-548' } + - { regex: '^(.*;)?CH-FDV:551(;.*)?$', value: 'ch/fdv-l-551' } + - { regex: '^(.*;)?CH-FDV:546(;.*)?$', value: 'ch/fdv-l-546' } + - { regex: '^(.*;)?CH-FDV:543(;.*)?$', value: 'ch/fdv-l-543' } + - { regex: '^(.*;)?CH-FDV:539(;.*)?$', value: 'ch/fdv-l-539' } + - { regex: '^(.*;)?CH-FDV:537(;.*)?$', value: 'ch/fdv-l-537' } + - { regex: '^(.*;)?CH-FDV:535(;.*)?$', value: 'ch/fdv-l-535' } + - { regex: '^(.*;)?CH-FDV:531(;.*)?$', value: 'ch/fdv-l-531' } + default: 'ch/fdv-l-525' + tags: + - { tag: 'railway:signal:combined', value: 'CH-FDV:l' } + - { tag: 'railway:signal:combined:form', value: 'light' } + + - description: Vorsignal System N + country: CH + icon: + match: 'railway:signal:distant:states' + cases: + - { regex: '^(.*;)?CH-FDV:(522|521)(;.*)?$', value: 'ch/fdv-n-521' } + default: 'ch/fdv-n-533' + tags: + - { tag: 'railway:signal:distant', value: 'CH-FDV:n' } + - { tag: 'railway:signal:distant:form', value: 'light' } + + - description: Hauptsignal System N + country: CH + icon: + match: 'railway:signal:combined:states' + cases: + - { regex: '^(.*;)?CH-FDV:523(;.*)?$', value: 'ch/fdv-n-523' } + - { regex: '^(.*;)?CH-FDV:552(;.*)?$', value: 'ch/fdv-n-552' } + - { regex: '^(.*;)?CH-FDV:(532|533)(;.*)?$', value: 'ch/fdv-n-532' } + default: 'ch/fdv-n-526' + tags: + - { tag: 'railway:signal:combined', value: 'CH-FDV:n' } + - { tag: 'railway:signal:combined:form', value: 'light' } + + - description: Minor signal + country: CH + icon: { default: 'ch/fdv-232' } + tags: + - { tag: 'railway:signal:minor', value: 'CH-FDV:232' } + - { tag: 'railway:signal:minor:form', value: 'light' } + + - description: Fahrtstellungsmelder + country: CH + icon: { default: 'ch/fdv-559' } + tags: + - { tag: 'railway:signal:main_repeated', value: 'CH-FDV:559' } + - { tag: 'railway:signal:main_repeated:form', value: 'light' } + + # --- DE --- # + + - description: Bü 4 Whistle Sign + country: DE + icon: + match: 'railway:signal:whistle:only_transit' + cases: + - { regex: '^yes$', value: 'de/bue4-ds-only-transit', description: 'only transit' } + default: 'de/bue4-ds' + tags: + - { tag: 'railway:signal:whistle', value: 'DE-ESO:db:bü4' } + - { tag: 'railway:signal:whistle:form', value: 'sign' } + + - description: crossing distant sign Bü 2 + country: DE + icon: + match: 'railway:signal:crossing_distant:shortened' + cases: + - { regex: '^yes$', value: 'de/bue2-ds-reduced-distance', description: 'reduced distance' } + default: 'de/bue2-ds' + tags: + - { tag: 'railway:signal:crossing_distant', value: 'DE-ESO:bü2' } + - { tag: 'railway:signal:crossing_distant:form', value: 'sign' } + + - description: whistle sign Bü 3 + country: DE + icon: { default: 'de/bue3' } + tags: + - { tag: 'railway:signal:whistle', value: 'DE-ESO:bü3' } + + - description: whistle sign Pf 1 (DV 301) + country: DE + icon: + match: 'railway:signal:whistle:only_transit' + cases: + - { regex: '^yes$', value: 'de/pf1-dv-only-transit', description: 'only transit' } + default: 'de/pf1-dv' + tags: + - { tag: 'railway:signal:whistle', value: 'DE-ESO:dr:pf1' } + - { tag: 'railway:signal:whistle:form', value: 'sign' } + + - description: ring sign Bü 5 + country: DE + icon: + match: 'railway:signal:ring:only_transit' + cases: + - { regex: '^yes$', value: 'de/bue5-only-transit', description: 'only transit' } + default: 'de/bue5' + tags: + - { tag: 'railway:signal:ring', value: 'DE-ESO:bü5' } - { tag: 'railway:signal:ring:form', value: 'sign' } - # TODO support variants of same feature - - description: Bü 0/1 (sign, repeated) - country: DE - icon: { default: 'de/bue0-ds-repeated' } - tags: - - { tag: 'railway:signal:crossing', value: 'DE-ESO:bü' } - - { tag: 'railway:signal:crossing:form', value: 'sign' } - - { tag: 'railway:signal:crossing:repeated', value: 'yes' } - - - description: Bü 0/1 (sign) - country: DE - icon: - match: 'railway:signal:crossing:shortened' - cases: - - { regex: '^yes$', value: 'de/bue0-ds-shortened', description: 'shortened' } - default: 'de/bue0-ds' - tags: - - { tag: 'railway:signal:crossing', value: 'DE-ESO:bü' } - - { tag: 'railway:signal:crossing:form', value: 'sign' } - - - description: Bü 0/1 (light, repeated) - country: DE - icon: { default: 'de/bue1-ds-repeated' } - tags: - - { tag: 'railway:signal:crossing', value: 'DE-ESO:bü' } - - { tag: 'railway:signal:crossing:repeated', value: 'yes' } - - - description: Bü 0/1 (light) - country: DE - icon: - match: 'railway:signal:crossing:shortened' - cases: - - { regex: '^yes$', value: 'de/bue1-ds-shortened', description: 'shortened' } - default: 'de/bue1-ds' - tags: - - { tag: 'railway:signal:crossing', value: 'DE-ESO:bü' } - - - description: So 16a/b (repeated) - country: DE - icon: { default: 'de/bue1-dv-repeated' } - tags: - - { tag: 'railway:signal:crossing', value: 'DE-ESO:so16' } - - { tag: 'railway:signal:crossing:form', value: 'light' } - - { tag: 'railway:signal:crossing:repeated', value: 'yes' } - - - description: So 16a/b - country: DE - icon: - match: 'railway:signal:crossing:shortened' - cases: - - { regex: '^yes$', value: 'de/bue1-dv-shortened', description: 'shortened' } - default: 'de/bue1-dv' - tags: - - { tag: 'railway:signal:crossing', value: 'DE-ESO:so16' } - - { tag: 'railway:signal:crossing:form', value: 'light' } - - - description: tram signal "start of train protection" So 1 - country: DE - icon: { default: 'de/bostrab/so1' } - tags: - - { tag: 'railway:signal:train_protection', values: ['DE-ESO:so16', 'DE-AVG:so1'] } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - { tag: 'railway:signal:train_protection:type', value: 'start' } - - - description: tram signal "end of train protection" So 2 - country: DE - icon: { default: 'de/bostrab/so2' } - tags: - - { tag: 'railway:signal:train_protection', values: ['DE-ESO:so2', 'DE-AVG:so2'] } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - { tag: 'railway:signal:train_protection:type', value: 'end' } - - - description: station distant sign Ne 6 - country: DE - icon: { default: 'de/ne6' } - tags: - - { tag: 'railway:signal:station_distant', value: 'DE-ESO:ne6' } - - { tag: 'railway:signal:station_distant:form', value: 'sign' } - - - description: stop demand post Ne 5 (light) - country: DE - icon: { default: 'de/ne5-light' } - tags: - - { tag: 'railway:signal:stop_demand', value: 'DE-ESO:ne5' } - - { tag: 'railway:signal:stop_demand:form', value: 'light' } - - - description: stop demand post Ne 5 (sign) - country: DE - icon: { default: 'de/ne5-sign' } - tags: - - { tag: 'railway:signal:stop_demand', value: 'DE-ESO:ne5' } - - { tag: 'railway:signal:stop:form', value: 'sign' } - - - description: Ne13 resetting switch signal - country: DE - icon: { default: 'de/ne13a' } - tags: - - { tag: 'railway:signal:resetting_switch', value: 'DE-ESO:ne13' } - - { tag: 'railway:signal:resetting_switch:form', value: 'light' } - - - description: Ne12 resetting switch distant signal - country: DE - icon: { default: 'de/ne12' } - tags: - - { tag: 'railway:signal:resetting_switch_distant', value: 'DE-ESO:ne12' } - - { tag: 'railway:signal:resetting_switch_distant:form', value: 'sign' } - - - description: shunting stop sign Ra 10 - country: DE - icon: { default: 'de/ra10' } - tags: - - { tag: 'railway:signal:shunting', value: 'DE-ESO:ra10' } - - { tag: 'railway:signal:shunting:form', value: 'sign' } - - - description: wrong road signal Zs 6 (DB) (sign) - country: DE - icon: { default: 'de/zs6-sign' } - tags: - - { tag: 'railway:signal:wrong_road', value: 'DE-ESO:db:zs6' } - - { tag: 'railway:signal:wrong_road:form', value: 'sign' } - - - description: wrong road signal Zs 6 (DB) (light) - country: DE - icon: { default: 'de/zs6-db-light' } - tags: - - { tag: 'railway:signal:wrong_road', value: 'DE-ESO:db:zs6' } - - { tag: 'railway:signal:wrong_road:form', value: 'sign' } - - - description: wrong road signal Zs 7 (DR) (light) - country: DE - icon: { default: 'de/zs7-dr-light' } - tags: - - { tag: 'railway:signal:wrong_road', value: 'DE-ESO:db:zs7' } - - { tag: 'railway:signal:wrong_road:form', value: 'sign' } - - - description: tram minor stop sign Sh 1 - country: DE - icon: { default: 'de/bostrab/sh1' } - tags: - - { tag: 'railway:signal:minor', value: 'DE-BOStrab:sh1' } - - { tag: 'railway:signal:minor:form', value: 'sign' } - - - description: tram passing prohibited sign So 5 - country: DE - icon: { default: 'de/bostrab/so5' } - tags: - - { tag: 'railway:signal:passing', value: 'DE-BOStrab:so5' } - - { tag: 'railway:signal:passing:form', value: 'sign' } - - { tag: 'railway:signal:passing:type', value: 'no_passing' } - - - description: tram passing prohibited end sign So 6 - country: DE - icon: { default: 'de/bostrab/so6' } - tags: - - { tag: 'railway:signal:passing', value: 'DE-BOStrab:so6' } - - { tag: 'railway:signal:passing:form', value: 'sign' } - - { tag: 'railway:signal:passing:type', value: 'passing_allowed' } - - - description: shunting signal Ra 11 without Sh 1 - country: DE - icon: { default: 'de/ra11-sign' } - tags: - - { tag: 'railway:signal:shunting', value: 'DE-ESO:ra11' } - - { tag: 'railway:signal:shunting:form', value: 'sign' } - - - description: shunting signal Ra 11 with Sh 1 - country: DE - icon: { default: 'de/ra11-sh1' } - tags: - - { tag: 'railway:signal:shunting', value: 'DE-ESO:ra11' } - - { tag: 'railway:signal:shunting:form', value: 'light' } - - - description: shunting signal Ra 11b (without Sh 1) - country: DE - icon: { default: 'de/ra11b' } - tags: - - { tag: 'railway:signal:shunting', value: 'DE-ESO:ra11b' } - - { tag: 'railway:signal:shunting:form', value: 'sign' } - - - description: minor light signals type Sh - country: DE - icon: - match: 'railway:signal:minor:height' - cases: - - { regex: '^dwarf', value: 'de/sh0-light-dwarf' } - - { regex: '^normal$', value: 'de/sh1-light-normal' } - default: 'de/sh0-light-dwarf' - tags: - - { tag: 'railway:signal:minor', value: 'DE-ESO:sh' } - - { tag: 'railway:signal:minor:form', value: 'light' } - - - description: minor semaphore signals type Sh with wn7 - country: DE - icon: { default: 'de/wn7-semaphore-normal' } - tags: - - { tag: 'railway:signal:minor', value: 'DE-ESO:sh' } - - { tag: 'railway:signal:minor:form', value: 'semaphore' } - - { tag: 'railway:signal:minor:states', value: 'DE-ESO:sh0;DE-ESO:wn7' } - - - description: minor semaphore signals type Sh - country: DE - icon: - match: 'railway:signal:minor:height' - cases: - - { regex: '^dwarf', value: 'de/sh0-semaphore-dwarf' } - - { regex: '^normal$', value: 'de/sh1-semaphore-normal' } - default: 'de/sh0-semaphore-dwarf' - tags: - - { tag: 'railway:signal:minor', value: 'DE-ESO:sh' } - - { tag: 'railway:signal:minor:form', value: 'semaphore' } - - - description: minor sign signal type Sh - country: DE - icon: { default: 'de/sh0-semaphore-dwarf' } - tags: - - { tag: 'railway:signal:minor', value: 'DE-ESO:sh0' } - - { tag: 'railway:signal:minor:form', value: 'sign' } - - - description: signal Sh 2 as signal and at buffer stops - country: DE - icon: { default: 'de/sh2' } - tags: - - { tag: 'railway:signal:minor', values: ['DE-ESO:sh2', 'DE-BOStrab:sh2'] } - - { tag: 'railway:signal:minor:form', value: 'sign' } - - - description: tram läuten Sh 4 - country: DE - icon: { default: 'de/bostrab/sh4' } - tags: - - { tag: 'railway:signal:ring', value: 'DE-BOStrab:sh4' } + # TODO support variants of same feature + - description: Bü 0/1 (sign, repeated) + country: DE + icon: { default: 'de/bue0-ds-repeated' } + tags: + - { tag: 'railway:signal:crossing', value: 'DE-ESO:bü' } + - { tag: 'railway:signal:crossing:form', value: 'sign' } + - { tag: 'railway:signal:crossing:repeated', value: 'yes' } + + - description: Bü 0/1 (sign) + country: DE + icon: + match: 'railway:signal:crossing:shortened' + cases: + - { regex: '^yes$', value: 'de/bue0-ds-shortened', description: 'shortened' } + default: 'de/bue0-ds' + tags: + - { tag: 'railway:signal:crossing', value: 'DE-ESO:bü' } + - { tag: 'railway:signal:crossing:form', value: 'sign' } + + - description: Bü 0/1 (light, repeated) + country: DE + icon: { default: 'de/bue1-ds-repeated' } + tags: + - { tag: 'railway:signal:crossing', value: 'DE-ESO:bü' } + - { tag: 'railway:signal:crossing:repeated', value: 'yes' } + + - description: Bü 0/1 (light) + country: DE + icon: + match: 'railway:signal:crossing:shortened' + cases: + - { regex: '^yes$', value: 'de/bue1-ds-shortened', description: 'shortened' } + default: 'de/bue1-ds' + tags: + - { tag: 'railway:signal:crossing', value: 'DE-ESO:bü' } + + - description: So 16a/b (repeated) + country: DE + icon: { default: 'de/bue1-dv-repeated' } + tags: + - { tag: 'railway:signal:crossing', value: 'DE-ESO:so16' } + - { tag: 'railway:signal:crossing:form', value: 'light' } + - { tag: 'railway:signal:crossing:repeated', value: 'yes' } + + - description: So 16a/b + country: DE + icon: + match: 'railway:signal:crossing:shortened' + cases: + - { regex: '^yes$', value: 'de/bue1-dv-shortened', description: 'shortened' } + default: 'de/bue1-dv' + tags: + - { tag: 'railway:signal:crossing', value: 'DE-ESO:so16' } + - { tag: 'railway:signal:crossing:form', value: 'light' } + + - description: tram signal "start of train protection" So 1 + country: DE + icon: { default: 'de/bostrab/so1' } + tags: + - { tag: 'railway:signal:train_protection', values: ['DE-ESO:so16', 'DE-AVG:so1'] } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + - { tag: 'railway:signal:train_protection:type', value: 'start' } + + - description: tram signal "end of train protection" So 2 + country: DE + icon: { default: 'de/bostrab/so2' } + tags: + - { tag: 'railway:signal:train_protection', values: ['DE-ESO:so2', 'DE-AVG:so2'] } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + - { tag: 'railway:signal:train_protection:type', value: 'end' } + + - description: station distant sign Ne 6 + country: DE + icon: { default: 'de/ne6' } + tags: + - { tag: 'railway:signal:station_distant', value: 'DE-ESO:ne6' } + - { tag: 'railway:signal:station_distant:form', value: 'sign' } + + - description: stop demand post Ne 5 (light) + country: DE + icon: { default: 'de/ne5-light' } + tags: + - { tag: 'railway:signal:stop_demand', value: 'DE-ESO:ne5' } + - { tag: 'railway:signal:stop_demand:form', value: 'light' } + + - description: stop demand post Ne 5 (sign) + country: DE + icon: { default: 'de/ne5-sign' } + tags: + - { tag: 'railway:signal:stop_demand', value: 'DE-ESO:ne5' } + - { tag: 'railway:signal:stop:form', value: 'sign' } + + - description: Ne13 resetting switch signal + country: DE + icon: { default: 'de/ne13a' } + tags: + - { tag: 'railway:signal:resetting_switch', value: 'DE-ESO:ne13' } + - { tag: 'railway:signal:resetting_switch:form', value: 'light' } + + - description: Ne12 resetting switch distant signal + country: DE + icon: { default: 'de/ne12' } + tags: + - { tag: 'railway:signal:resetting_switch_distant', value: 'DE-ESO:ne12' } + - { tag: 'railway:signal:resetting_switch_distant:form', value: 'sign' } + + - description: shunting stop sign Ra 10 + country: DE + icon: { default: 'de/ra10' } + tags: + - { tag: 'railway:signal:shunting', value: 'DE-ESO:ra10' } + - { tag: 'railway:signal:shunting:form', value: 'sign' } + + - description: wrong road signal Zs 6 (DB) (sign) + country: DE + icon: { default: 'de/zs6-sign' } + tags: + - { tag: 'railway:signal:wrong_road', value: 'DE-ESO:db:zs6' } + - { tag: 'railway:signal:wrong_road:form', value: 'sign' } + + - description: wrong road signal Zs 6 (DB) (light) + country: DE + icon: { default: 'de/zs6-db-light' } + tags: + - { tag: 'railway:signal:wrong_road', value: 'DE-ESO:db:zs6' } + - { tag: 'railway:signal:wrong_road:form', value: 'sign' } + + - description: wrong road signal Zs 7 (DR) (light) + country: DE + icon: { default: 'de/zs7-dr-light' } + tags: + - { tag: 'railway:signal:wrong_road', value: 'DE-ESO:db:zs7' } + - { tag: 'railway:signal:wrong_road:form', value: 'sign' } + + - description: tram minor stop sign Sh 1 + country: DE + icon: { default: 'de/bostrab/sh1' } + tags: + - { tag: 'railway:signal:minor', value: 'DE-BOStrab:sh1' } + - { tag: 'railway:signal:minor:form', value: 'sign' } + + - description: tram passing prohibited sign So 5 + country: DE + icon: { default: 'de/bostrab/so5' } + tags: + - { tag: 'railway:signal:passing', value: 'DE-BOStrab:so5' } + - { tag: 'railway:signal:passing:form', value: 'sign' } + - { tag: 'railway:signal:passing:type', value: 'no_passing' } + + - description: tram passing prohibited end sign So 6 + country: DE + icon: { default: 'de/bostrab/so6' } + tags: + - { tag: 'railway:signal:passing', value: 'DE-BOStrab:so6' } + - { tag: 'railway:signal:passing:form', value: 'sign' } + - { tag: 'railway:signal:passing:type', value: 'passing_allowed' } + + - description: shunting signal Ra 11 without Sh 1 + country: DE + icon: { default: 'de/ra11-sign' } + tags: + - { tag: 'railway:signal:shunting', value: 'DE-ESO:ra11' } + - { tag: 'railway:signal:shunting:form', value: 'sign' } + + - description: shunting signal Ra 11 with Sh 1 + country: DE + icon: { default: 'de/ra11-sh1' } + tags: + - { tag: 'railway:signal:shunting', value: 'DE-ESO:ra11' } + - { tag: 'railway:signal:shunting:form', value: 'light' } + + - description: shunting signal Ra 11b (without Sh 1) + country: DE + icon: { default: 'de/ra11b' } + tags: + - { tag: 'railway:signal:shunting', value: 'DE-ESO:ra11b' } + - { tag: 'railway:signal:shunting:form', value: 'sign' } + + - description: minor light signals type Sh + country: DE + icon: + match: 'railway:signal:minor:height' + cases: + - { regex: '^dwarf', value: 'de/sh0-light-dwarf' } + - { regex: '^normal$', value: 'de/sh1-light-normal' } + default: 'de/sh0-light-dwarf' + tags: + - { tag: 'railway:signal:minor', value: 'DE-ESO:sh' } + - { tag: 'railway:signal:minor:form', value: 'light' } + + - description: minor semaphore signals type Sh with wn7 + country: DE + icon: { default: 'de/wn7-semaphore-normal' } + tags: + - { tag: 'railway:signal:minor', value: 'DE-ESO:sh' } + - { tag: 'railway:signal:minor:form', value: 'semaphore' } + - { tag: 'railway:signal:minor:states', value: 'DE-ESO:sh0;DE-ESO:wn7' } + + - description: minor semaphore signals type Sh + country: DE + icon: + match: 'railway:signal:minor:height' + cases: + - { regex: '^dwarf', value: 'de/sh0-semaphore-dwarf' } + - { regex: '^normal$', value: 'de/sh1-semaphore-normal' } + default: 'de/sh0-semaphore-dwarf' + tags: + - { tag: 'railway:signal:minor', value: 'DE-ESO:sh' } + - { tag: 'railway:signal:minor:form', value: 'semaphore' } + + - description: minor sign signal type Sh + country: DE + icon: { default: 'de/sh0-semaphore-dwarf' } + tags: + - { tag: 'railway:signal:minor', value: 'DE-ESO:sh0' } + - { tag: 'railway:signal:minor:form', value: 'sign' } + + - description: signal Sh 2 as signal and at buffer stops + country: DE + icon: { default: 'de/sh2' } + tags: + - { tag: 'railway:signal:minor', values: ['DE-ESO:sh2', 'DE-BOStrab:sh2'] } + - { tag: 'railway:signal:minor:form', value: 'sign' } + + - description: tram läuten Sh 4 + country: DE + icon: { default: 'de/bostrab/sh4' } + tags: + - { tag: 'railway:signal:ring', value: 'DE-BOStrab:sh4' } - { tag: 'railway:signal:ring:form', value: 'sign' } - - description: Signalhaltmelder Zugleitbetrieb - country: DE - icon: { default: 'de/zlb-haltmelder-light' } - tags: - - { tag: 'railway:signal:main_repeated', value: 'DE-DB:signalhaltmelder' } - - { tag: 'railway:signal:main_repeated:form', value: 'light' } - - - description: main entry sign Ne 1 - country: DE - icon: { default: 'de/ne1' } - tags: - - { tag: 'railway:signal:main', value: 'DE-ESO:ne1' } - - { tag: 'railway:signal:main:form', value: 'sign' } - - - description: distant light signals type Vr (repeated) - country: DE - icon: - match: 'railway:signal:distant:states' - cases: - - { regex: '^(.*;)?DE-ESO:vr2(;.*)?$', value: 'de/vr2-light-repeated', description: 'shortened' } - - { regex: '^(.*;)?DE-ESO:vr1(;.*)?$', value: 'de/vr1-light-repeated' } - default: 'de/vr0-light-repeated' - tags: - - { tag: 'railway:signal:distant', value: 'DE-ESO:vr' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - { tag: 'railway:signal:distant:repeated', value: 'yes' } - - - description: distant light signals type Vr (shortened) - country: DE - # TODO make distinct icon - # Shown with the same icon as shortened - icon: - match: 'railway:signal:distant:states' - cases: - - { regex: '^(.*;)?DE-ESO:vr2(;.*)?$', value: 'de/vr2-light-repeated' } - - { regex: '^(.*;)?DE-ESO:vr1(;.*)?$', value: 'de/vr1-light-repeated' } - default: 'de/vr0-light-repeated' - tags: - - { tag: 'railway:signal:distant', value: 'DE-ESO:vr' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - { tag: 'railway:signal:distant:shortened', value: 'yes' } - - - description: distant light signals type Vr - country: DE - icon: - match: 'railway:signal:distant:states' - cases: - - { regex: '^(.*;)?DE-ESO:vr2(;.*)?$', value: 'de/vr2-light' } - - { regex: '^(.*;)?DE-ESO:vr1(;.*)?$', value: 'de/vr1-light' } - default: 'de/vr0-light' - tags: - - { tag: 'railway:signal:distant', value: 'DE-ESO:vr' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - - description: distant semaphore signals type Vr - country: DE - icon: - match: 'railway:signal:distant:states' - cases: - - { regex: '^(.*;)?DE-ESO:vr2(;.*)?$', value: 'de/vr2-semaphore' } - - { regex: '^(.*;)?DE-ESO:vr1(;.*)?$', value: 'de/vr1-semaphore' } - default: 'de/vr0-semaphore' - tags: - - { tag: 'railway:signal:distant', value: 'DE-ESO:vr' } - - { tag: 'railway:signal:distant:form', value: 'semaphore' } - - - description: Hamburger Hochbahn distant signal - country: DE - icon: { default: 'de/hha/v1' } - tags: - - { tag: 'railway:signal:distant', value: 'DE-HHA:v' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - - description: Blockkennzeichen - country: DE - icon: - match: 'ref_multiline' - cases: - - { regex: '^([^\n]{4}\n[^\n]{1,4})|([^\n]{1,4}\n[^\n]{4})$', value: 'de/blockkennzeichen-4x2' } - - { regex: '^[^\n]{4}$', value: 'de/blockkennzeichen-4x1' } - - { regex: '^([^\n]{3}\n[^\n]{1,3})|([^\n]{1,3}\n[^\n]{3})$', value: 'de/blockkennzeichen-3x2' } - - { regex: '^[^\n]{3}$', value: 'de/blockkennzeichen-3x1' } - - { regex: '^([^\n]{2}\n[^\n]{1,2})|([^\n]{1,2}\n[^\n]{2})$', value: 'de/blockkennzeichen-2x2' } - - { regex: '^[^\n]{2}$', value: 'de/blockkennzeichen-2x1' } - - { regex: '^[^\n]\n[^\n]$', value: 'de/blockkennzeichen-1x2' } - - { regex: '^[^\n]$', value: 'de/blockkennzeichen-1x1' } - default: 'de/blockkennzeichen' - tags: - - { tag: 'railway:signal:train_protection', value: 'DE-ESO:blockkennzeichen' } - - - description: distant signal replacement by sign So 106 - country: DE - icon: { default: 'de/so106' } - tags: - - { tag: 'railway:signal:distant', value: 'DE-ESO:so106' } - - { tag: 'railway:signal:distant:form', value: 'sign' } - - - description: distant crossing So 14 - country: DE - icon: { default: 'de/so14' } - tags: - - { tag: 'railway:signal:crossing_distant', value: 'DE-ESO:so14' } - - { tag: 'railway:signal:crossing_distant:form', value: 'sign' } - - - description: distant signal replacement by sign Ne 2 - country: DE - icon: - match: 'railway:signal:distant:shortened' - cases: - - { regex: '^yes$', value: 'de/ne2-reduced-distance' } - default: 'de/ne2' - tags: - - { tag: 'railway:signal:distant', value: 'DE-ESO:db:ne2' } - - { tag: 'railway:signal:distant:form', value: 'sign' } - - - description: main semaphore signals type Hp - country: DE - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^(.*;)?DE-ESO:hp2(;.*)?$', value: 'de/hp2-semaphore' } - - { regex: '^(.*;)?DE-ESO:hp1(;.*)?$', value: 'de/hp1-semaphore' } - default: 'de/hp0-semaphore' - tags: - - { tag: 'railway:signal:main', value: 'DE-ESO:hp' } - - { tag: 'railway:signal:main:form', value: 'semaphore' } - - - description: main light signals type Hp - country: DE - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^(.*;)?DE-ESO:hp2(;.*)?$', value: 'de/hp2-light' } - - { regex: '^(.*;)?DE-ESO:hp1(;.*)?$', value: 'de/hp1-light' } - default: 'de/hp0-light' - tags: - - { tag: 'railway:signal:main', value: 'DE-ESO:hp' } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: distant light signals type Hl - country: DE - icon: { default: 'de/hl1-distant' } - tags: - - { tag: 'railway:signal:distant', value: 'DE-ESO:hl' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - - description: main light signals type Hl - country: DE - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^(.*;)?DE-ESO:hl2(;.*)?$', value: 'de/hl2' } - - { regex: '^(.*;)?DE-ESO:hl3b(;.*)?$', value: 'de/hl3b' } - - { regex: '^(.*;)?DE-ESO:hl3a(;.*)?$', value: 'de/hl3a' } - - { regex: '^(.*;)?DE-ESO:hl1(;.*)?$', value: 'de/hl1' } - default: 'de/hl0' - tags: - - { tag: 'railway:signal:main', value: 'DE-ESO:hl' } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: combined light signals type Hl - country: DE - icon: - match: 'railway:signal:combined:states' - cases: - - { regex: '^(.*;)?DE-ESO:hl11(;.*)?$', value: 'de/hl11' } - - { regex: '^(.*;)?DE-ESO:hl12b(;.*)?$', value: 'de/hl12b' } - - { regex: '^(.*;)?DE-ESO:hl12a(;.*)?$', value: 'de/hl12a' } - - { regex: '^(.*;)?DE-ESO:hl10(;.*)?$', value: 'de/hl10' } - default: 'de/hl0' - tags: - - { tag: 'railway:signal:combined', value: 'DE-ESO:hl' } - - { tag: 'railway:signal:combined:form', value: 'light' } - - - description: combined light signals type Sv - country: DE - icon: - # TODO add shortened - match: 'railway:signal:combined:states' - cases: - - { regex: '^(.*;)?DE-ESO:hp0(;.*)?$', value: 'de/sv-hp0' } - - { regex: '^(.*;)?DE-ESO:sv0(;.*)?$', value: 'de/sv-sv0' } - default: '' - tags: - - { tag: 'railway:signal:combined', value: 'DE-ESO:hl' } - - { tag: 'railway:signal:combined:form', value: 'light' } - - - description: tram Fahrsignal - country: DE - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^(.*;)?(DE-AVG|DE-BOStrab):f5(;.*)?$', value: 'de/bostrab/f5' } - - { regex: '^(.*;)?(DE-AVG|DE-BOStrab):f3(;.*)?$', value: 'de/bostrab/f3' } - - { regex: '^(.*;)?(DE-AVG|DE-BOStrab):f2(;.*)?$', value: 'de/bostrab/f2' } - - { regex: '^(.*;)?(DE-AVG|DE-BOStrab):f1(;.*)?$', value: 'de/bostrab/f1' } - default: 'de/bostrab/f0' - tags: - - { tag: 'railway:signal:main', values: ['DE-AVG:f', 'DE-BOStrab:f'] } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: tram Hauptsignal - country: DE - icon: { default: 'de/ks-main' } - tags: - - { tag: 'railway:signal:main', value: 'DE-BOStrab:h' } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: tram Hauptsignal mit Vorsignal - country: DE - icon: { default: 'de/ks-combined' } - tags: - - { tag: 'railway:signal:combined', value: 'DE-BOStrab:h' } - - { tag: 'railway:signal:combined:form', value: 'light' } - - - description: Hamburger Hochbahn main signal - country: DE - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^.*$', value: 'de/hha/h0' } - default: 'de/hha/h1' - tags: - - { tag: 'railway:signal:main', value: 'DE-HHA:h' } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: distant signals type Ks (repeated) - country: DE - icon: { default: 'de/ks-distant-repeated' } - tags: - - { tag: 'railway:signal:distant', value: 'DE-ESO:ks' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - { tag: 'railway:signal:distant:repeated', value: 'yes' } - - - description: distant signals type Ks (shortened) - country: DE - icon: { default: 'de/ks-distant-shortened' } - tags: - - { tag: 'railway:signal:distant', value: 'DE-ESO:ks' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - { tag: 'railway:signal:distant:shortened', value: 'yes' } - - - description: distant signals type Ks - country: DE - icon: { default: 'de/ks-distant' } - tags: - - { tag: 'railway:signal:distant', value: 'DE-ESO:ks' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - - description: main signals type Ks - country: DE - icon: { default: 'de/ks-main' } - tags: - - { tag: 'railway:signal:main', value: 'DE-ESO:ks' } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: combined signals type Ks - country: DE - icon: - match: 'railway:signal:combined:shortened' - cases: - - { regex: '^yes$', value: 'de/ks-combined-shortened' } - default: 'de/ks-combined' - tags: - - { tag: 'railway:signal:combined', value: 'DE-ESO:ks' } - - { tag: 'railway:signal:combined:form', value: 'light' } - - # --- FI --- # - - - description: crossing signal To - country: FI - icon: { default: 'fi/to1' } - tags: - - { tag: 'railway:signal:crossing', value: 'FI:To' } - - { tag: 'railway:signal:crossing:form', value: 'light' } - - - description: shunting light signals type Ro (new) - country: FI - icon: - match: 'railway:signal:shunting:states' - cases: - - { regex: '^(.*;)?FI:Ro0(;.*)?$', value: 'fi/ro0-new' } - # TODO add old as well - default: '' - tags: - - { tag: 'railway:signal:shunting', value: 'FI:Ro' } - - { tag: 'railway:signal:shunting:form', value: 'light' } - - - description: minor light signals type Lo at moveable bridges - country: FI - icon: { default: 'fi/lo0' } - tags: - - { tag: 'railway:signal:minor', value: 'FI:Lo' } - - { tag: 'railway:signal:minor:form', value: 'light' } - - - description: distant light signals (new) - country: FI - icon: - match: 'railway:signal:distant:states' - cases: - - { regex: '^(.*;)?FI:Eo2(;.*)?$', value: 'fi/eo2-new' } - - { regex: '^(.*;)?FI:Eo1(;.*)?$', value: 'fi/eo1-new' } - default: 'fi/eo0-new' - tags: - - { tag: 'railway:signal:distant', value: 'FI:Eo' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - - description: distant light signals (old) - country: FI - icon: - match: 'railway:signal:distant:states' - cases: - - { regex: '^(.*;)?FI:Eo1(;.*)?$', value: 'fi/eo1-old' } - default: 'fi/eo0-old' - tags: - - { tag: 'railway:signal:distant', value: 'FI:Eo-v' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - - description: main light signals (new) - country: FI - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^(.*;)?FI:Po2(;.*)?$', value: 'fi/po2-new' } - - { regex: '^(.*;)?FI:Po1(;.*)?$', value: 'fi/po1-new' } - default: 'fi/po0-new' - tags: - - { tag: 'railway:signal:main', value: 'FI:Po' } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: main light signals (old) - country: FI - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^(.*;)?FI:Po2(;.*)?$', value: 'fi/po2-old' } - - { regex: '^(.*;)?FI:Po1(;.*)?$', value: 'fi/po1-old' } - default: 'fi/po0-old' - tags: - - { tag: 'railway:signal:main', value: 'FI:Po-v' } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: combined block signal type So - country: FI - icon: { default: 'fi/eo1-po1-combined-block' } - tags: - - { tag: 'railway:signal:combined', value: 'FI:So' } - - { tag: 'railway:signal:combined:form', value: 'light' } - - # --- FR --- # - - - description: Carré - country: FR - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^(.*;)?FR:Cv(;.*)?$', value: 'fr/C-Cv' } - - { regex: '^(.*;)?FR:Mr?(;.*)?$', value: 'fr/C-M' } - - { regex: '^(.*;)?FR:RRc?(\(Ac?\))(;.*)?$', value: 'fr/C-RR-A' } - - { regex: '^(.*;)?FR:Rc?(\(Ac?\))(;.*)?$', value: 'fr/C-R-A' } - - { regex: '^(.*;)?FR:RRc?(;.*)?$', value: 'fr/C-RR' } - - { regex: '^(.*;)?FR:Rc?(;.*)?$', value: 'fr/C-R' } - - { regex: '^(.*;)?FR:Ac?(;.*)?$', value: 'fr/C-A' } - - { regex: '^(.*;)?FR:VLc?(;.*)?$', value: 'fr/C-VL' } - - { regex: '^(.*;)?FR:Sc?(;.*)?$', value: 'fr/C-S' } - - { regex: '^(.*;)?FR:C(;.*)?$', value: 'fr/C-C' } - # TODO split on shape - default: 'fr/C-C' - tags: - - { tag: 'railway:signal:main', value: 'FR:C' } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: Sémaphore - country: FR - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^(.*;)?FR:Rc?(\(Ac?\))(;.*)?$', value: 'fr/S-R-A' } - - { regex: '^(.*;)?FR:Rc?(;.*)?$', value: 'fr/S-R' } - - { regex: '^(.*;)?FR:Ac?(;.*)?$', value: 'fr/S-A' } - - { regex: '^(.*;)?FR:VLc?(;.*)?$', value: 'fr/S-VL' } - - { regex: '^(.*;)?FR:Sc?(;.*)?$', value: 'fr/S-S' } - # TODO split on shape - default: 'fr/S-S' - tags: - - { tag: 'railway:signal:main', value: 'FR:S' } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: Avertissement - country: FR - icon: - match: 'railway:signal:distant:states' - cases: - - { regex: '^(.*;)?FR:R(;.*)?$', value: 'fr/A-R' } - - { regex: '^(.*;)?FR:A(;.*)?$', value: 'fr/A-A' } - - { regex: '^(.*;)?FR:VL(;.*)?$', value: 'fr/A-VL' } - default: 'fr/A-VL' - tags: - - { tag: 'railway:signal:distant', value: 'FR:A' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - - description: Disque - country: FR - icon: { default: 'fr/D-D' } - tags: - - { tag: 'railway:signal:distant', value: 'FR:D' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - # --- GB --- # - - - description: Main (shunting) - country: GB - icon: { default: 'gb/main-shunting' } - tags: - - { tag: 'railway:signal:main', value: 'GB-NR:main' } - - { tag: 'railway:signal:main:form', value: 'light' } - - { tag: 'railway:signal:shunting', value: 'GB-NR:shunting' } - - { tag: 'railway:signal:shunting:form', value: 'light' } - - - description: Main - country: GB - # TODO support railway:signal:main:design=individual/combined for 2 or 4 lenses - icon: { default: 'gb/main' } - tags: - - { tag: 'railway:signal:main', value: 'GB-NR:main' } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: Shunting - country: GB - icon: { default: 'gb/shunting' } - tags: - - { tag: 'railway:signal:shunting', value: 'GB-NR:shunting' } - - { tag: 'railway:signal:shunting:form', value: 'light' } - - # --- NL --- # - - - description: departure signal - country: NL - icon: { default: 'nl/departure' } - tags: - - { tag: 'railway:signal:departure', values: ['NL', 'NL:VL'] } - - { tag: 'railway:signal:departure:form', value: 'light' } - - - description: dwarf shunting signals - country: NL - icon: { default: 'nl/main_light_dwarf_shunting' } - tags: - - { tag: 'railway:signal:main', value: 'NL' } - - { tag: 'railway:signal:main:height', value: 'dwarf' } - - { tag: 'railway:signal:shunting:form', value: 'light' } - - - description: train protection block marker light - country: NL - icon: { default: 'nl/main_light_white_bar' } - tags: - - { tag: 'railway:signal:main', value: 'NL' } - - { tag: 'railway:signal:train_protection:form', value: 'light' } - - { tag: 'railway:signal:train_protection:type', value: 'block_marker' } - - - description: main dwarf signals - country: NL - icon: { default: 'nl/main_light_dwarf' } - tags: - - { tag: 'railway:signal:main', value: 'NL' } - - { tag: 'railway:signal:main:height', value: 'dwarf' } - - - description: main shunting light - country: NL - icon: { default: 'nl/main_light_shunting' } - tags: - - { tag: 'railway:signal:main', value: 'NL' } - - { tag: 'railway:signal:shunting:form', value: 'light' } - - - description: main repeated light - country: NL - icon: { default: 'nl/main_repeated_light' } - tags: - - { tag: 'railway:signal:main_repeated', value: 'NL' } - - { tag: 'railway:signal:main_repeated:form', value: 'light' } - - - description: main light - country: NL - icon: { default: 'nl/main_light' } - tags: - - { tag: 'railway:signal:main', value: 'NL' } - - { tag: 'railway:signal:main:form', value: 'light' } - - - description: distant light - country: NL - icon: { default: 'nl/distant_light' } - tags: - - { tag: 'railway:signal:distant', value: 'NL' } - - { tag: 'railway:signal:distant:form', value: 'light' } - - - description: middenvoetbrugsein - country: NL - icon: { default: 'nl/215b' } - tags: - - { tag: 'railway:signal:minor', value: 'NL:middenvoetbrugsein' } - - { tag: 'railway:signal:minor:form', value: 'light' } - - - description: Humping ("heuvelen") - country: NL - icon: { default: 'nl/270a' } - tags: - - { tag: 'railway:signal:humping', value: 'NL:270' } - - { tag: 'railway:signal:humping:form', value: 'light' } - - - description: train protection block markers (arrow) - country: NL - icon: - # TODO, support lights (227a / 227c) - 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: 'NL:227b' } - - { 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: NL - icon: - # TODO, support lights (227a / 227c) - 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', values: ['NL:227b', 'DE-ESO:ne14'] } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - { tag: 'railway:signal:train_protection:type', value: 'block_marker' } - - - description: stopplaatssein - country: NL - icon: { default: 'nl/303' } - tags: - - { tag: 'railway:signal:stop', values: ['NL:303', 'NL:stopplaatssein'] } - - { tag: 'railway:signal:stop:form', value: 'light' } - - - description: treinlengtebord - country: NL - # TODO implement partial platform train length values (railway:signal:stop:carriages_partial_platform=*) - icon: - match: 'railway:signal:stop:carriages' - cases: - # Free match to allow matching multiple values on a single sign, separated by ; - - { regex: '18', value: 'nl/304-18' } - - { regex: '16', value: 'nl/304-16' } - - { regex: '15', value: 'nl/304-15' } - - { regex: '14', value: 'nl/304-14' } - - { regex: '13', value: 'nl/304-13' } - - { regex: '12', value: 'nl/304-12' } - - { regex: '11', value: 'nl/304-11' } - - { regex: '10', value: 'nl/304-10' } - - { regex: '9', value: 'nl/304-9' } - - { regex: '8', value: 'nl/304-8' } - - { regex: '7', value: 'nl/304-7' } - - { regex: '6', value: 'nl/304-6' } - - { regex: '5', value: 'nl/304-5' } - - { regex: '4', value: 'nl/304-4' } - - { regex: '3', value: 'nl/304-3' } - - { regex: '2', value: 'nl/304-2' } - default: 'nl/304-empty' - tags: - - { tag: 'railway:signal:stop', value: 'NL:304' } - - { tag: 'railway:signal:stop:form', value: 'sign' } - - - description: distant crossing - country: NL - # TODO process caption / distant crossing position - icon: { default: 'nl/318a' } - tags: - - { tag: 'railway:signal:crossing_distant', values: ['NL:318a', 'NL:318b'] } - - { tag: 'railway:signal:crossing_distant:form', value: 'sign' } - - - description: drive on sight - country: NL - icon: { default: 'nl/317' } - tags: - - { tag: 'railway:signal:train_protection', value: 'NL:317' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: station - country: NL - icon: { default: 'nl/305' } - tags: - - { tag: 'railway:signal:station_distant', value: 'NL:305' } - - { tag: 'railway:signal:station_distant:form', value: 'sign' } - - - description: ETCS cab signalling (start) - country: NL - icon: { default: 'nl/336' } - tags: - - { tag: 'railway:signal:train_protection', value: 'NL:336' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ETCS cab signalling (end) - country: NL - icon: { default: 'nl/337' } - tags: - - { tag: 'railway:signal:train_protection', value: 'NL:337' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ATB distant - country: NL - icon: { default: 'nl/328a' } - tags: - - { tag: 'railway:signal:train_protection', value: 'NL:328a' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ATB start - country: NL - icon: { default: 'nl/328' } - tags: - - { tag: 'railway:signal:train_protection', value: 'NL:328' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ATB code - country: NL - icon: { default: 'nl/328b' } - tags: - - { tag: 'railway:signal:train_protection', value: 'NL:328b' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ATB end - country: NL - icon: { default: 'nl/329' } - tags: - - { tag: 'railway:signal:train_protection', value: 'NL:329' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ATB codewissel - country: NL - icon: { default: 'nl/330' } - tags: - - { tag: 'railway:signal:train_protection', value: 'NL:330' } - - { tag: 'railway:signal:train_protection:form', value: 'light' } - - - description: Einde beveiligd gebied - country: NL - icon: { default: 'nl/333' } - tags: - - { tag: 'railway:signal:train_protection', value: 'NL:333' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - # --- PL --- # - - - description: Semafor kształtowy - country: PL - icon: - match: 'railway:signal:main:states' - cases: - - { regex: '^(.*;)?PL-PKP:sr3(;.*)?$', value: 'pl/sr3' } - - { regex: '^PL-PKP:sr1;PL-PKP:sr2$', value: 'pl/sr2' } - default: 'pl/sr1' - tags: - - { tag: 'railway:signal:main', value: 'PL-PKP:sr' } - - { tag: 'railway:signal:main:form', value: 'semaphore' } - - - description: Semafor świetlny trzykomorowy - country: PL - icon: { default: 'pl/s2-3' } - tags: - - { tag: 'railway:signal:main', value: 'PL-PKP:s' } - - { tag: 'railway:signal:main:form', value: 'light' } - - { tag: 'railway:signal:main:states', values: ['PL-PKP:s1;PL-PKP:s2', 'off;PL-PKP:s1;PL-PKP:s2'] } - - { tag: 'railway:signal:main:substitute_signal', value: 'PL-PKP:sz' } - - - description: Semafor świetlny dwukomorowy - country: PL - icon: { default: 'pl/s2-2' } - tags: - - { tag: 'railway:signal:main', value: 'PL-PKP:s' } - - { tag: 'railway:signal:main:form', value: 'light' } - - { tag: 'railway:signal:main:states', values: ['PL-PKP:s1;PL-PKP:s2', 'off;PL-PKP:s1;PL-PKP:s2'] } - - - description: Semafor świetlny czterokomorowy & pięciokomorowe - country: PL - icon: - match: 'railway:signal:combined:states' - cases: - - { regex: '^(.*;)?PL-PKP:s1;(.*;)?PL-PKP:s2;(.*;)?PL-PKP:s5;(.*;)?PL-PKP:s6;(.*;)?PL-PKP:s9(;.*)?$', value: 'pl/s6-5' } - - { regex: '^(.*;)?PL-PKP:s1;(.*;)?PL-PKP:s2;(.*;)?PL-PKP:s5;(.*;)?PL-PKP:s10a(;.*)?$', value: 'pl/s10a-5' } - - { regex: '^(.*;)?PL-PKP:s1;(.*;)?PL-PKP:s2;(.*;)?PL-PKP:s5;(.*;)?PL-PKP:s10(;.*)?$', value: 'pl/s10-5' } - - { regex: '^(.*;)?PL-PKP:s[67](;.*)?$', value: 'pl/s6-4' } - - { regex: '^(.*;)?PL-PKP:s[89](;.*)?$', value: 'pl/s9-4' } - - { regex: '^(.*;)?PL-PKP:s1[01]a(;.*)?$', value: 'pl/s10a-4' } - - { regex: '^(.*;)?PL-PKP:s1[23]a(;.*)?$', value: 'pl/s13a-4' } - - { regex: '^(.*;)?PL-PKP:s13(;.*)?$', value: 'pl/s13-4' } - - { regex: '^(.*;)?PL-PKP:s10(;.*)?$', value: 'pl/s10-4' } - default: 'pl/s1-4' - tags: - - { tag: 'railway:signal:combined', value: 'PL-PKP:s' } - - { tag: 'railway:signal:combined:form', value: 'light' } - - { tag: 'railway:signal:combined:substitute_signal', value: 'PL-PKP:sz' } - - - description: Semafor świetlny trzykomorowy & czterokomorowy - country: PL - icon: - match: 'railway:signal:combined:states' - cases: - - { regex: '^PL-PKP:s1;PL-PKP:s1a;PL-PKP:s2;PL-PKP:s3;PL-PKP:s4;PL-PKP:s5$', value: 'pl/s1a-4' } - - { regex: '^(.*;)?PL-PKP:s13(;.*)?$', value: 'pl/s13-3' } - default: 'pl/s1-3' - tags: - - { tag: 'railway:signal:combined', value: 'PL-PKP:s' } - - { tag: 'railway:signal:combined:form', value: 'light' } - - - description: Sygnalizator powtarzający - country: PL - icon: - match: 'railway:signal:main_repeated:states' - cases: - - { regex: '^PL-PKP:sp1;PL-PKP:sp4$', value: 'pl/sp1-2' } - - { regex: '^(.*;)?PL-PKP:sp2(;.*)?$', value: 'pl/sp2-3' } - default: 'pl/sp1-3' - tags: - - { tag: 'railway:signal:main_repeated', value: 'PL-PKP:sp' } - - { tag: 'railway:signal:main_repeated:form', value: 'light' } - - - description: Tarcza ostrzegawcza świetlna - country: PL - icon: - match: 'railway:signal:distant:states' - cases: - - { regex: '^PL-PKP:os1;PL-PKP:os4$', value: 'pl/os1-1' } - default: 'pl/os1-2' - tags: - - { tag: 'railway:signal:distant', value: 'PL-PKP:os' } - - { tag: 'railway:signal:distant:form', values: ['light', 'semaphore'] } - - - description: Tarcze ostrzegawcze przejazdowe - country: PL - icon: { default: 'pl/osp' } - tags: - - { tag: 'railway:signal:crossing', value: 'PL-PKP:osp' } - - { tag: 'railway:signal:crossing:form', value: 'light' } - - - description: Tarcza manewrowa kształtowa - country: PL - icon: { default: 'pl/m-semaphore' } - tags: - - { tag: 'railway:signal:shunting', value: 'PL-PKP:m' } - - { tag: 'railway:signal:shunting:form', value: 'semaphore' } - - - description: Tarcza manewrowa świetlna - country: PL - icon: - match: 'railway:signal:shunting:states' - cases: - - { regex: '^PL-PKP:ms1$', value: 'pl/ms-1' } - default: 'pl/ms-2' - tags: - - { tag: 'railway:signal:shunting', value: 'PL-PKP:ms' } - - { tag: 'railway:signal:shunting:form', value: 'light' } - - # TODO Tarcze rozrządowe https://www.transportszynowy.pl/Kolej/tarczerozrzadowe - - - description: Tarcza zaporowa kształtowa (Nieruchoma) - country: PL - icon: { default: 'pl/z-sign' } - tags: - - { tag: 'railway:signal:minor', value: 'PL-PKP:z' } - - { tag: 'railway:signal:minor:form', value: 'sign' } - - - description: Tarcza zaporowa kształtowa (Ruchoma) - country: PL - icon: { default: 'pl/z-semaphore' } - tags: - - { tag: 'railway:signal:minor', value: 'PL-PKP:z' } - - { tag: 'railway:signal:minor:form', value: 'semaphore' } - - - description: Tarcza zaporowa kształtowa (Ruchoma) - country: PL - icon: - match: 'railway:signal:minor:states' - cases: - - { regex: '^PL-PKP:s1$', value: 'pl/z-1-s1' } - default: 'pl/z-2-s1' - tags: - - { tag: 'railway:signal:minor', value: 'PL-PKP:z' } - - { tag: 'railway:signal:minor:form', value: 'light' } - - - description: Tarcza ostrzegawcza nieruchoma DO - country: PL - icon: { default: 'pl/do' } - tags: - - { tag: 'railway:signal:minor_distant', value: 'PL-PKP:do' } - - { tag: 'railway:signal:minor_distant:form', value: 'sign' } - - - description: Tarcza ostrzegawcza kształtowa nieruchoma - country: PL - icon: { default: 'pl/do' } - tags: - - { tag: 'railway:signal:distant', value: 'PL-PKP:on' } - - { tag: 'railway:signal:distant:form', value: 'sign' } - - - description: Tarcza ostrzegawcza kształtowa dwustawna - country: PL - icon: { default: 'pl/do' } - tags: - - { tag: 'railway:signal:distant', value: 'PL-PKP:od' } - - { tag: 'railway:signal:distant:form', value: 'semaphore' } - - - description: Tarcza ostrzegawcza kształtowa trzystawna - country: PL - icon: { default: 'pl/ot3' } - tags: - - { tag: 'railway:signal:distant', value: 'PL-PKP:ot' } - - { tag: 'railway:signal:distant:form', value: 'semaphore' } - - - description: Tarcze rozrządowe (semaphore) - country: PL - icon: { default: 'pl/rt3-semaphore' } - tags: - - { tag: 'railway:signal:humping', value: 'PL-PKP:rt' } - - { tag: 'railway:signal:humping:form', value: 'semaphore' } - - - description: Tarcze rozrządowe (light) - country: PL - icon: { default: 'pl/rt3-light' } - tags: - - { tag: 'railway:signal:humping', value: 'PL-PKP:rt' } - - { tag: 'railway:signal:humping:form', value: 'light' } - - - description: Tarcza zatrzymania D 1 - country: PL - icon: { default: 'pl/d1' } - tags: - - { tag: 'railway:signal:minor', value: 'PL-PKP:d1' } - - { tag: 'railway:signal:minor:form', value: 'sign' } - - - description: W 1 — wskaźnik usytuowania - country: PL - icon: { default: 'pl/w1' } - tags: - - { tag: 'railway:signal:distant', value: 'PL-PKP:w1' } - - { tag: 'railway:signal:distant:form', value: 'sign' } - - # TODO PL-PKP:w2 - # TODO PL-PKP:w26b - # TODO PL-PKP:w26a - - - description: W 4 — wskaźnik zatrzymania - country: PL - icon: { default: 'pl/w4' } - tags: - - { tag: 'railway:signal:stop', value: 'PL-PKP:w4' } - - { tag: 'railway:signal:stop:form', value: 'sign' } - - - description: W 5 — wskaźnik przetaczania - country: PL - icon: { default: 'pl/w5' } - tags: - - { tag: 'railway:signal:shunting', value: 'PL-PKP:w5' } - - { tag: 'railway:signal:shunting:form', value: 'sign' } - - - description: wskaźniki ostrzegania W6 - country: PL - icon: { default: 'pl/w6' } - tags: - - { tag: 'railway:signal:whistle', value: 'PL-PKP:w6' } - - { tag: 'railway:signal:whistle:form', value: 'sign' } - - - description: wskaźniki ostrzegania W6a - country: PL - icon: { default: 'pl/w6a' } - tags: - - { tag: 'railway:signal:whistle', value: 'PL-PKP:w6a' } - - { tag: 'railway:signal:whistle:form', value: 'sign' } - - - description: wskaźniki ostrzegania W6b - country: PL - icon: { default: 'pl/w6b' } - tags: - - { tag: 'railway:signal:whistle', value: 'PL-PKP:w6b' } - - { tag: 'railway:signal:whistle:form', value: 'sign' } - - - description: wskaźniki ostrzegania W7 - country: PL - icon: { default: 'pl/w7' } - tags: - - { tag: 'railway:signal:whistle', value: 'PL-PKP:w7' } - - { tag: 'railway:signal:whistle:form', value: 'sign' } - - - description: wskaźniki odcinka z popychaniem W10a - country: PL - icon: { default: 'pl/w10a' } - tags: - - { tag: 'railway:signal:helper_engine', value: 'PL-PKP:w10a' } - - { tag: 'railway:signal:helper_engine:form', value: 'sign' } - - - description: wskaźniki odcinka z popychaniem W10b - country: PL - icon: { default: 'pl/w10b' } - tags: - - { tag: 'railway:signal:helper_engine', value: 'PL-PKP:w10b' } - - { tag: 'railway:signal:helper_engine:form', value: 'sign' } - - - description: wskaźniki uprzedzające W11a (dwarf) - country: PL - icon: - match: 'railway:signal:distant:type' - cases: - - { regex: '^II$', value: 'pl/w11a-dwarf-II' } - - { regex: '^III$', value: 'pl/w11a-dwarf-III' } - - { regex: '^IV$', value: 'pl/w11a-dwarf-IV' } - default: 'pl/w11a-dwarf-I' - tags: - - { tag: 'railway:signal:distant', value: 'PL-PKP:w11a' } - - { tag: 'railway:signal:distant:form', value: 'sign' } - - { tag: 'railway:signal:distant:height', value: 'dwarf' } - - - description: wskaźniki uprzedzające W11a (normal) - country: PL - icon: - match: 'railway:signal:distant:type' - cases: - - { regex: '^II$', value: 'pl/w11a-normal-II' } - - { regex: '^III$', value: 'pl/w11a-normal-III' } - - { regex: '^IV$', value: 'pl/w11a-normal-IV' } - default: 'pl/w11a-normal-I' - tags: - - { tag: 'railway:signal:distant', value: 'PL-PKP:w11a' } - - { tag: 'railway:signal:distant:form', value: 'sign' } - - - description: wskaźniki uprzedzające W11b (dwarf) - country: PL - icon: - match: 'railway:signal:distant:type' - cases: - - { regex: '^II$', value: 'pl/w11b-dwarf-II' } - - { regex: '^III$', value: 'pl/w11b-dwarf-III' } - - { regex: '^IV$', value: 'pl/w11b-dwarf-IV' } - default: 'pl/w11b-dwarf-I' - tags: - - { tag: 'railway:signal:distant', value: 'PL-PKP:w11b' } - - { tag: 'railway:signal:distant:form', value: 'sign' } - - { tag: 'railway:signal:distant:height', value: 'dwarf' } - - - description: wskaźniki uprzedzające W11b (normal) - country: PL - icon: - match: 'railway:signal:distant:type' - cases: - - { regex: '^II$', value: 'pl/w11b-normal-II' } - - { regex: '^III$', value: 'pl/w11b-normal-III' } - - { regex: '^IV$', value: 'pl/w11b-normal-IV' } - default: 'pl/w11b-normal-I' - tags: - - { tag: 'railway:signal:distant', value: 'PL-PKP:w11b' } - - { tag: 'railway:signal:distant:form', value: 'sign' } - - - description: wskaźnik przejazdowy W11p - country: PL - icon: - match: 'railway:signal:crossing:repeated' - cases: - - { regex: '^yes$', value: 'pl/w11p-2' } - default: 'pl/w11p-1' - tags: - - { tag: 'railway:signal:crossing_distant', value: 'PL-PKP:w11p' } - - { tag: 'railway:signal:crossing_distant:form', value: 'sign' } - - - description: wskaźnik parowozowy W12 - country: PL - icon: { default: 'pl/w12' } - tags: - - { tag: 'railway:signal:steam_locomotive', value: 'PL-PKP:w12' } - - { tag: 'railway:signal:steam_locomotive:form', value: 'sign' } - - - description: wskaźnik torowy W13 - country: PL - icon: { default: 'pl/w13' } - tags: - - { tag: 'railway:signal:snowplow', value: 'PL-PKP:w13' } - - { tag: 'railway:signal:snowplow:form', value: 'sign' } - - { tag: 'railway:signal:snowplow:type', value: 'up' } - - - description: wskaźnik przystanku osobowego W16 - country: PL - icon: { default: 'pl/w16' } - tags: - - { tag: 'railway:signal:station_distant', value: 'PL-PKP:w16' } - - { tag: 'railway:signal:station_distant:form', value: 'sign' } - - - description: wskaźnik ukresu W17 - country: PL - icon: { default: 'pl/w17' } - tags: - - { tag: 'railway:signal:fouling_point', value: 'PL-PKP:w17' } - - - description: wskaźnik ogrzewania W25 - country: PL - icon: { default: 'pl/w25' } - tags: - - { tag: 'railway:signal:preheating', value: 'PL-PKP:w25' } - - { tag: 'railway:signal:preheating:form', value: 'light' } - - - description: wskaźnik ogrzewania W29 - country: PL - icon: { default: 'pl/w29' } - tags: - - { tag: 'railway:signal:radio', value: 'PL-PKP:w29' } - - { tag: 'railway:signal:radio:form', value: 'sign' } - - - description: wskaźnik czoła pociągu W32 - country: PL - # TODO: use caption - icon: { default: 'pl/w32' } - tags: - - { tag: 'railway:signal:stop', value: 'PL-PKP:w32' } - - { tag: 'railway:signal:stop:form', value: 'sign' } - - - description: wskaźnik początku obowiązywania systemu ERTMS/GSM-R W33 - country: PL - icon: { default: 'pl/w33' } - tags: - - { tag: 'railway:signal:radio', value: 'PL-PKP:w33' } - - { tag: 'railway:signal:radio:form', value: 'sign' } - - - description: wskaźnik początku obowiązywania systemu ERTMS/GSM-R W34 - country: PL - icon: { default: 'pl/w34' } - tags: - - { tag: 'railway:signal:radio', value: 'PL-PKP:w34' } - - { tag: 'railway:signal:radio:form', value: 'sign' } - - - description: wskaźnik początku obowiązywania systemu ERTMS/GSM-R W34 - country: PL - icon: { default: 'pl/w34' } - tags: - - { tag: 'railway:signal:radio', value: 'PL-PKP:w34' } - - { tag: 'railway:signal:radio:form', value: 'sign' } - - - description: ETCS L1 LS - country: PL - icon: { default: 'pl/wetcs1' } - tags: - - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs1' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ETCS L1 LS - country: PL - icon: { default: 'pl/wetcs2' } - tags: - - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs2' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ETCS L1 LS - country: PL - icon: { default: 'pl/wetcs3' } - tags: - - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs3' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ETCS L1 - country: PL - icon: { default: 'pl/wetcs4' } - tags: - - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs4' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ETCS L1 - country: PL - icon: { default: 'pl/wetcs5' } - tags: - - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs5' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ETCS L1 - country: PL - icon: { default: 'pl/wetcs6' } - tags: - - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs6' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ETCS L2 - country: PL - icon: { default: 'pl/wetcs7' } - tags: - - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs7' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ETCS L2 - country: PL - icon: { default: 'pl/wetcs8' } - tags: - - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs8' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ETCS L2 - country: PL - icon: { default: 'pl/wetcs9' } - tags: - - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs9' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - - description: ETCS 10 - country: PL - icon: - match: 'railway:signal:train_protection' - cases: - - { regex: '^left$', value: 'pl/wetcs10-left' } - default: 'pl/wetcs10-right' - tags: - - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs10' } - - { tag: 'railway:signal:train_protection:form', value: 'sign' } - - { tag: 'railway:signal:train_protection:type', value: 'block_marker' } - - - description: WKD W2 - country: PL - icon: { default: 'pl/wkd/w2' } - tags: - - { tag: 'railway:signal:distant', value: 'PL-WKD:w2' } - - { tag: 'railway:signal:distant:form', value: 'sign' } - - - description: miejsce zatrzymania czoła pociągu Wm 4 - country: PL - icon: { default: 'pl/ztm-mw/wm4' } - tags: - - { tag: 'railway:signal:stop', value: 'ZTM-MW:wm4' } - - { tag: 'railway:signal:stop:form', value: 'sign' } - - - description: rozpocząć hamowanie przed peronem Wm 16 - country: PL - icon: { default: 'pl/ztm-mw/wm16' } - tags: - - { tag: 'railway:signal:station_distant', value: 'ZTM-MW:wm16' } - - { tag: 'railway:signal:station_distant:form', value: 'sign' } - - - description: Wm 17 - country: PL - 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: Linjeplatssignal (main) - country: SE - icon: { default: 'se/main-section' } - tags: - - { tag: 'railway:signal:main', value: 'SE:Linjeplatssignal' } - - { 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: Linjeplatssignal (combined) - country: SE - icon: { default: 'se/combined-section' } - tags: - - { tag: 'railway:signal:combined', value: 'SE:Linjeplatssignal' } - - { 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' } + - description: Signalhaltmelder Zugleitbetrieb + country: DE + icon: { default: 'de/zlb-haltmelder-light' } + tags: + - { tag: 'railway:signal:main_repeated', value: 'DE-DB:signalhaltmelder' } + - { tag: 'railway:signal:main_repeated:form', value: 'light' } + + - description: main entry sign Ne 1 + country: DE + icon: { default: 'de/ne1' } + tags: + - { tag: 'railway:signal:main', value: 'DE-ESO:ne1' } + - { tag: 'railway:signal:main:form', value: 'sign' } + + - description: distant light signals type Vr (repeated) + country: DE + icon: + match: 'railway:signal:distant:states' + cases: + - { regex: '^(.*;)?DE-ESO:vr2(;.*)?$', value: 'de/vr2-light-repeated', description: 'shortened' } + - { regex: '^(.*;)?DE-ESO:vr1(;.*)?$', value: 'de/vr1-light-repeated' } + default: 'de/vr0-light-repeated' + tags: + - { tag: 'railway:signal:distant', value: 'DE-ESO:vr' } + - { tag: 'railway:signal:distant:form', value: 'light' } + - { tag: 'railway:signal:distant:repeated', value: 'yes' } + + - description: distant light signals type Vr (shortened) + country: DE + # TODO make distinct icon + # Shown with the same icon as shortened + icon: + match: 'railway:signal:distant:states' + cases: + - { regex: '^(.*;)?DE-ESO:vr2(;.*)?$', value: 'de/vr2-light-repeated' } + - { regex: '^(.*;)?DE-ESO:vr1(;.*)?$', value: 'de/vr1-light-repeated' } + default: 'de/vr0-light-repeated' + tags: + - { tag: 'railway:signal:distant', value: 'DE-ESO:vr' } + - { tag: 'railway:signal:distant:form', value: 'light' } + - { tag: 'railway:signal:distant:shortened', value: 'yes' } + + - description: distant light signals type Vr + country: DE + icon: + match: 'railway:signal:distant:states' + cases: + - { regex: '^(.*;)?DE-ESO:vr2(;.*)?$', value: 'de/vr2-light' } + - { regex: '^(.*;)?DE-ESO:vr1(;.*)?$', value: 'de/vr1-light' } + default: 'de/vr0-light' + tags: + - { tag: 'railway:signal:distant', value: 'DE-ESO:vr' } + - { tag: 'railway:signal:distant:form', value: 'light' } + + - description: distant semaphore signals type Vr + country: DE + icon: + match: 'railway:signal:distant:states' + cases: + - { regex: '^(.*;)?DE-ESO:vr2(;.*)?$', value: 'de/vr2-semaphore' } + - { regex: '^(.*;)?DE-ESO:vr1(;.*)?$', value: 'de/vr1-semaphore' } + default: 'de/vr0-semaphore' + tags: + - { tag: 'railway:signal:distant', value: 'DE-ESO:vr' } + - { tag: 'railway:signal:distant:form', value: 'semaphore' } + + - description: Hamburger Hochbahn distant signal + country: DE + icon: { default: 'de/hha/v1' } + tags: + - { tag: 'railway:signal:distant', value: 'DE-HHA:v' } + - { tag: 'railway:signal:distant:form', value: 'light' } + + - description: Blockkennzeichen + country: DE + icon: + match: 'ref_multiline' + cases: + - { regex: '^([^\n]{4}\n[^\n]{1,4})|([^\n]{1,4}\n[^\n]{4})$', value: 'de/blockkennzeichen-4x2' } + - { regex: '^[^\n]{4}$', value: 'de/blockkennzeichen-4x1' } + - { regex: '^([^\n]{3}\n[^\n]{1,3})|([^\n]{1,3}\n[^\n]{3})$', value: 'de/blockkennzeichen-3x2' } + - { regex: '^[^\n]{3}$', value: 'de/blockkennzeichen-3x1' } + - { regex: '^([^\n]{2}\n[^\n]{1,2})|([^\n]{1,2}\n[^\n]{2})$', value: 'de/blockkennzeichen-2x2' } + - { regex: '^[^\n]{2}$', value: 'de/blockkennzeichen-2x1' } + - { regex: '^[^\n]\n[^\n]$', value: 'de/blockkennzeichen-1x2' } + - { regex: '^[^\n]$', value: 'de/blockkennzeichen-1x1' } + default: 'de/blockkennzeichen' + tags: + - { tag: 'railway:signal:train_protection', value: 'DE-ESO:blockkennzeichen' } + + - description: distant signal replacement by sign So 106 + country: DE + icon: { default: 'de/so106' } + tags: + - { tag: 'railway:signal:distant', value: 'DE-ESO:so106' } + - { tag: 'railway:signal:distant:form', value: 'sign' } + + - description: distant crossing So 14 + country: DE + icon: { default: 'de/so14' } + tags: + - { tag: 'railway:signal:crossing_distant', value: 'DE-ESO:so14' } + - { tag: 'railway:signal:crossing_distant:form', value: 'sign' } + + - description: distant signal replacement by sign Ne 2 + country: DE + icon: + match: 'railway:signal:distant:shortened' + cases: + - { regex: '^yes$', value: 'de/ne2-reduced-distance' } + default: 'de/ne2' + tags: + - { tag: 'railway:signal:distant', value: 'DE-ESO:db:ne2' } + - { tag: 'railway:signal:distant:form', value: 'sign' } + + - description: main semaphore signals type Hp + country: DE + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^(.*;)?DE-ESO:hp2(;.*)?$', value: 'de/hp2-semaphore' } + - { regex: '^(.*;)?DE-ESO:hp1(;.*)?$', value: 'de/hp1-semaphore' } + default: 'de/hp0-semaphore' + tags: + - { tag: 'railway:signal:main', value: 'DE-ESO:hp' } + - { tag: 'railway:signal:main:form', value: 'semaphore' } + + - description: main light signals type Hp + country: DE + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^(.*;)?DE-ESO:hp2(;.*)?$', value: 'de/hp2-light' } + - { regex: '^(.*;)?DE-ESO:hp1(;.*)?$', value: 'de/hp1-light' } + default: 'de/hp0-light' + tags: + - { tag: 'railway:signal:main', value: 'DE-ESO:hp' } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: distant light signals type Hl + country: DE + icon: { default: 'de/hl1-distant' } + tags: + - { tag: 'railway:signal:distant', value: 'DE-ESO:hl' } + - { tag: 'railway:signal:distant:form', value: 'light' } + + - description: main light signals type Hl + country: DE + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^(.*;)?DE-ESO:hl2(;.*)?$', value: 'de/hl2' } + - { regex: '^(.*;)?DE-ESO:hl3b(;.*)?$', value: 'de/hl3b' } + - { regex: '^(.*;)?DE-ESO:hl3a(;.*)?$', value: 'de/hl3a' } + - { regex: '^(.*;)?DE-ESO:hl1(;.*)?$', value: 'de/hl1' } + default: 'de/hl0' + tags: + - { tag: 'railway:signal:main', value: 'DE-ESO:hl' } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: combined light signals type Hl + country: DE + icon: + match: 'railway:signal:combined:states' + cases: + - { regex: '^(.*;)?DE-ESO:hl11(;.*)?$', value: 'de/hl11' } + - { regex: '^(.*;)?DE-ESO:hl12b(;.*)?$', value: 'de/hl12b' } + - { regex: '^(.*;)?DE-ESO:hl12a(;.*)?$', value: 'de/hl12a' } + - { regex: '^(.*;)?DE-ESO:hl10(;.*)?$', value: 'de/hl10' } + default: 'de/hl0' + tags: + - { tag: 'railway:signal:combined', value: 'DE-ESO:hl' } + - { tag: 'railway:signal:combined:form', value: 'light' } + + - description: combined light signals type Sv + country: DE + icon: + # TODO add shortened + match: 'railway:signal:combined:states' + cases: + - { regex: '^(.*;)?DE-ESO:hp0(;.*)?$', value: 'de/sv-hp0' } + - { regex: '^(.*;)?DE-ESO:sv0(;.*)?$', value: 'de/sv-sv0' } + default: '' + tags: + - { tag: 'railway:signal:combined', value: 'DE-ESO:hl' } + - { tag: 'railway:signal:combined:form', value: 'light' } + + - description: tram Fahrsignal + country: DE + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^(.*;)?(DE-AVG|DE-BOStrab):f5(;.*)?$', value: 'de/bostrab/f5' } + - { regex: '^(.*;)?(DE-AVG|DE-BOStrab):f3(;.*)?$', value: 'de/bostrab/f3' } + - { regex: '^(.*;)?(DE-AVG|DE-BOStrab):f2(;.*)?$', value: 'de/bostrab/f2' } + - { regex: '^(.*;)?(DE-AVG|DE-BOStrab):f1(;.*)?$', value: 'de/bostrab/f1' } + default: 'de/bostrab/f0' + tags: + - { tag: 'railway:signal:main', values: ['DE-AVG:f', 'DE-BOStrab:f'] } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: tram Hauptsignal + country: DE + icon: { default: 'de/ks-main' } + tags: + - { tag: 'railway:signal:main', value: 'DE-BOStrab:h' } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: tram Hauptsignal mit Vorsignal + country: DE + icon: { default: 'de/ks-combined' } + tags: + - { tag: 'railway:signal:combined', value: 'DE-BOStrab:h' } + - { tag: 'railway:signal:combined:form', value: 'light' } + + - description: Hamburger Hochbahn main signal + country: DE + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^.*$', value: 'de/hha/h0' } + default: 'de/hha/h1' + tags: + - { tag: 'railway:signal:main', value: 'DE-HHA:h' } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: distant signals type Ks (repeated) + country: DE + icon: { default: 'de/ks-distant-repeated' } + tags: + - { tag: 'railway:signal:distant', value: 'DE-ESO:ks' } + - { tag: 'railway:signal:distant:form', value: 'light' } + - { tag: 'railway:signal:distant:repeated', value: 'yes' } + + - description: distant signals type Ks (shortened) + country: DE + icon: { default: 'de/ks-distant-shortened' } + tags: + - { tag: 'railway:signal:distant', value: 'DE-ESO:ks' } + - { tag: 'railway:signal:distant:form', value: 'light' } + - { tag: 'railway:signal:distant:shortened', value: 'yes' } + + - description: distant signals type Ks + country: DE + icon: { default: 'de/ks-distant' } + tags: + - { tag: 'railway:signal:distant', value: 'DE-ESO:ks' } + - { tag: 'railway:signal:distant:form', value: 'light' } + + - description: main signals type Ks + country: DE + icon: { default: 'de/ks-main' } + tags: + - { tag: 'railway:signal:main', value: 'DE-ESO:ks' } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: combined signals type Ks + country: DE + icon: + match: 'railway:signal:combined:shortened' + cases: + - { regex: '^yes$', value: 'de/ks-combined-shortened' } + default: 'de/ks-combined' + tags: + - { tag: 'railway:signal:combined', value: 'DE-ESO:ks' } + - { tag: 'railway:signal:combined:form', value: 'light' } + + # --- FI --- # + + - description: crossing signal To + country: FI + icon: { default: 'fi/to1' } + tags: + - { tag: 'railway:signal:crossing', value: 'FI:To' } + - { tag: 'railway:signal:crossing:form', value: 'light' } + + - description: shunting light signals type Ro (new) + country: FI + icon: + match: 'railway:signal:shunting:states' + cases: + - { regex: '^(.*;)?FI:Ro0(;.*)?$', value: 'fi/ro0-new' } + # TODO add old as well + default: '' + tags: + - { tag: 'railway:signal:shunting', value: 'FI:Ro' } + - { tag: 'railway:signal:shunting:form', value: 'light' } + + - description: minor light signals type Lo at moveable bridges + country: FI + icon: { default: 'fi/lo0' } + tags: + - { tag: 'railway:signal:minor', value: 'FI:Lo' } + - { tag: 'railway:signal:minor:form', value: 'light' } + + - description: distant light signals (new) + country: FI + icon: + match: 'railway:signal:distant:states' + cases: + - { regex: '^(.*;)?FI:Eo2(;.*)?$', value: 'fi/eo2-new' } + - { regex: '^(.*;)?FI:Eo1(;.*)?$', value: 'fi/eo1-new' } + default: 'fi/eo0-new' + tags: + - { tag: 'railway:signal:distant', value: 'FI:Eo' } + - { tag: 'railway:signal:distant:form', value: 'light' } + + - description: distant light signals (old) + country: FI + icon: + match: 'railway:signal:distant:states' + cases: + - { regex: '^(.*;)?FI:Eo1(;.*)?$', value: 'fi/eo1-old' } + default: 'fi/eo0-old' + tags: + - { tag: 'railway:signal:distant', value: 'FI:Eo-v' } + - { tag: 'railway:signal:distant:form', value: 'light' } + + - description: main light signals (new) + country: FI + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^(.*;)?FI:Po2(;.*)?$', value: 'fi/po2-new' } + - { regex: '^(.*;)?FI:Po1(;.*)?$', value: 'fi/po1-new' } + default: 'fi/po0-new' + tags: + - { tag: 'railway:signal:main', value: 'FI:Po' } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: main light signals (old) + country: FI + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^(.*;)?FI:Po2(;.*)?$', value: 'fi/po2-old' } + - { regex: '^(.*;)?FI:Po1(;.*)?$', value: 'fi/po1-old' } + default: 'fi/po0-old' + tags: + - { tag: 'railway:signal:main', value: 'FI:Po-v' } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: combined block signal type So + country: FI + icon: { default: 'fi/eo1-po1-combined-block' } + tags: + - { tag: 'railway:signal:combined', value: 'FI:So' } + - { tag: 'railway:signal:combined:form', value: 'light' } + + # --- FR --- # + + - description: Carré + country: FR + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^(.*;)?FR:Cv(;.*)?$', value: 'fr/C-Cv' } + - { regex: '^(.*;)?FR:Mr?(;.*)?$', value: 'fr/C-M' } + - { regex: '^(.*;)?FR:RRc?(\(Ac?\))(;.*)?$', value: 'fr/C-RR-A' } + - { regex: '^(.*;)?FR:Rc?(\(Ac?\))(;.*)?$', value: 'fr/C-R-A' } + - { regex: '^(.*;)?FR:RRc?(;.*)?$', value: 'fr/C-RR' } + - { regex: '^(.*;)?FR:Rc?(;.*)?$', value: 'fr/C-R' } + - { regex: '^(.*;)?FR:Ac?(;.*)?$', value: 'fr/C-A' } + - { regex: '^(.*;)?FR:VLc?(;.*)?$', value: 'fr/C-VL' } + - { regex: '^(.*;)?FR:Sc?(;.*)?$', value: 'fr/C-S' } + - { regex: '^(.*;)?FR:C(;.*)?$', value: 'fr/C-C' } + # TODO split on shape + default: 'fr/C-C' + tags: + - { tag: 'railway:signal:main', value: 'FR:C' } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: Sémaphore + country: FR + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^(.*;)?FR:Rc?(\(Ac?\))(;.*)?$', value: 'fr/S-R-A' } + - { regex: '^(.*;)?FR:Rc?(;.*)?$', value: 'fr/S-R' } + - { regex: '^(.*;)?FR:Ac?(;.*)?$', value: 'fr/S-A' } + - { regex: '^(.*;)?FR:VLc?(;.*)?$', value: 'fr/S-VL' } + - { regex: '^(.*;)?FR:Sc?(;.*)?$', value: 'fr/S-S' } + # TODO split on shape + default: 'fr/S-S' + tags: + - { tag: 'railway:signal:main', value: 'FR:S' } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: Avertissement + country: FR + icon: + match: 'railway:signal:distant:states' + cases: + - { regex: '^(.*;)?FR:R(;.*)?$', value: 'fr/A-R' } + - { regex: '^(.*;)?FR:A(;.*)?$', value: 'fr/A-A' } + - { regex: '^(.*;)?FR:VL(;.*)?$', value: 'fr/A-VL' } + default: 'fr/A-VL' + tags: + - { tag: 'railway:signal:distant', value: 'FR:A' } + - { tag: 'railway:signal:distant:form', value: 'light' } + + - description: Disque + country: FR + icon: { default: 'fr/D-D' } + tags: + - { tag: 'railway:signal:distant', value: 'FR:D' } + - { tag: 'railway:signal:distant:form', value: 'light' } + + # --- GB --- # + + - description: Main (shunting) + country: GB + icon: { default: 'gb/main-shunting' } + tags: + - { tag: 'railway:signal:main', value: 'GB-NR:main' } + - { tag: 'railway:signal:main:form', value: 'light' } + - { tag: 'railway:signal:shunting', value: 'GB-NR:shunting' } + - { tag: 'railway:signal:shunting:form', value: 'light' } + + - description: Main + country: GB + # TODO support railway:signal:main:design=individual/combined for 2 or 4 lenses + icon: { default: 'gb/main' } + tags: + - { tag: 'railway:signal:main', value: 'GB-NR:main' } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: Shunting + country: GB + icon: { default: 'gb/shunting' } + tags: + - { tag: 'railway:signal:shunting', value: 'GB-NR:shunting' } + - { tag: 'railway:signal:shunting:form', value: 'light' } + + # --- NL --- # + + - description: departure signal + country: NL + icon: { default: 'nl/departure' } + tags: + - { tag: 'railway:signal:departure', values: ['NL', 'NL:VL'] } + - { tag: 'railway:signal:departure:form', value: 'light' } + + - description: dwarf shunting signals + country: NL + icon: { default: 'nl/main_light_dwarf_shunting' } + tags: + - { tag: 'railway:signal:main', value: 'NL' } + - { tag: 'railway:signal:main:height', value: 'dwarf' } + - { tag: 'railway:signal:shunting:form', value: 'light' } + + - description: train protection block marker light + country: NL + icon: { default: 'nl/main_light_white_bar' } + tags: + - { tag: 'railway:signal:main', value: 'NL' } + - { tag: 'railway:signal:train_protection:form', value: 'light' } + - { tag: 'railway:signal:train_protection:type', value: 'block_marker' } + + - description: main dwarf signals + country: NL + icon: { default: 'nl/main_light_dwarf' } + tags: + - { tag: 'railway:signal:main', value: 'NL' } + - { tag: 'railway:signal:main:height', value: 'dwarf' } + + - description: main shunting light + country: NL + icon: { default: 'nl/main_light_shunting' } + tags: + - { tag: 'railway:signal:main', value: 'NL' } + - { tag: 'railway:signal:shunting:form', value: 'light' } + + - description: main repeated light + country: NL + icon: { default: 'nl/main_repeated_light' } + tags: + - { tag: 'railway:signal:main_repeated', value: 'NL' } + - { tag: 'railway:signal:main_repeated:form', value: 'light' } + + - description: main light + country: NL + icon: { default: 'nl/main_light' } + tags: + - { tag: 'railway:signal:main', value: 'NL' } + - { tag: 'railway:signal:main:form', value: 'light' } + + - description: distant light + country: NL + icon: { default: 'nl/distant_light' } + tags: + - { tag: 'railway:signal:distant', value: 'NL' } + - { tag: 'railway:signal:distant:form', value: 'light' } + + - description: middenvoetbrugsein + country: NL + icon: { default: 'nl/215b' } + tags: + - { tag: 'railway:signal:minor', value: 'NL:middenvoetbrugsein' } + - { tag: 'railway:signal:minor:form', value: 'light' } + + - description: Humping ("heuvelen") + country: NL + icon: { default: 'nl/270a' } + tags: + - { tag: 'railway:signal:humping', value: 'NL:270' } + - { tag: 'railway:signal:humping:form', value: 'light' } + + - description: train protection block markers (arrow) + country: NL + icon: + # TODO, support lights (227a / 227c) + 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: 'NL:227b' } + - { 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: NL + icon: + # TODO, support lights (227a / 227c) + 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', values: ['NL:227b', 'DE-ESO:ne14'] } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + - { tag: 'railway:signal:train_protection:type', value: 'block_marker' } + + - description: stopplaatssein + country: NL + icon: { default: 'nl/303' } + tags: + - { tag: 'railway:signal:stop', values: ['NL:303', 'NL:stopplaatssein'] } + - { tag: 'railway:signal:stop:form', value: 'light' } + + - description: treinlengtebord + country: NL + # TODO implement partial platform train length values (railway:signal:stop:carriages_partial_platform=*) + icon: + match: 'railway:signal:stop:carriages' + cases: + # Free match to allow matching multiple values on a single sign, separated by ; + - { regex: '18', value: 'nl/304-18' } + - { regex: '16', value: 'nl/304-16' } + - { regex: '15', value: 'nl/304-15' } + - { regex: '14', value: 'nl/304-14' } + - { regex: '13', value: 'nl/304-13' } + - { regex: '12', value: 'nl/304-12' } + - { regex: '11', value: 'nl/304-11' } + - { regex: '10', value: 'nl/304-10' } + - { regex: '9', value: 'nl/304-9' } + - { regex: '8', value: 'nl/304-8' } + - { regex: '7', value: 'nl/304-7' } + - { regex: '6', value: 'nl/304-6' } + - { regex: '5', value: 'nl/304-5' } + - { regex: '4', value: 'nl/304-4' } + - { regex: '3', value: 'nl/304-3' } + - { regex: '2', value: 'nl/304-2' } + default: 'nl/304-empty' + tags: + - { tag: 'railway:signal:stop', value: 'NL:304' } + - { tag: 'railway:signal:stop:form', value: 'sign' } + + - description: distant crossing + country: NL + # TODO process caption / distant crossing position + icon: { default: 'nl/318a' } + tags: + - { tag: 'railway:signal:crossing_distant', values: ['NL:318a', 'NL:318b'] } + - { tag: 'railway:signal:crossing_distant:form', value: 'sign' } + + - description: drive on sight + country: NL + icon: { default: 'nl/317' } + tags: + - { tag: 'railway:signal:train_protection', value: 'NL:317' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: station + country: NL + icon: { default: 'nl/305' } + tags: + - { tag: 'railway:signal:station_distant', value: 'NL:305' } + - { tag: 'railway:signal:station_distant:form', value: 'sign' } + + - description: ETCS cab signalling (start) + country: NL + icon: { default: 'nl/336' } + tags: + - { tag: 'railway:signal:train_protection', value: 'NL:336' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ETCS cab signalling (end) + country: NL + icon: { default: 'nl/337' } + tags: + - { tag: 'railway:signal:train_protection', value: 'NL:337' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ATB distant + country: NL + icon: { default: 'nl/328a' } + tags: + - { tag: 'railway:signal:train_protection', value: 'NL:328a' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ATB start + country: NL + icon: { default: 'nl/328' } + tags: + - { tag: 'railway:signal:train_protection', value: 'NL:328' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ATB code + country: NL + icon: { default: 'nl/328b' } + tags: + - { tag: 'railway:signal:train_protection', value: 'NL:328b' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ATB end + country: NL + icon: { default: 'nl/329' } + tags: + - { tag: 'railway:signal:train_protection', value: 'NL:329' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ATB codewissel + country: NL + icon: { default: 'nl/330' } + tags: + - { tag: 'railway:signal:train_protection', value: 'NL:330' } + - { tag: 'railway:signal:train_protection:form', value: 'light' } + + - description: Einde beveiligd gebied + country: NL + icon: { default: 'nl/333' } + tags: + - { tag: 'railway:signal:train_protection', value: 'NL:333' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + # --- PL --- # + + - description: Semafor kształtowy + country: PL + icon: + match: 'railway:signal:main:states' + cases: + - { regex: '^(.*;)?PL-PKP:sr3(;.*)?$', value: 'pl/sr3' } + - { regex: '^PL-PKP:sr1;PL-PKP:sr2$', value: 'pl/sr2' } + default: 'pl/sr1' + tags: + - { tag: 'railway:signal:main', value: 'PL-PKP:sr' } + - { tag: 'railway:signal:main:form', value: 'semaphore' } + + - description: Semafor świetlny trzykomorowy + country: PL + icon: { default: 'pl/s2-3' } + tags: + - { tag: 'railway:signal:main', value: 'PL-PKP:s' } + - { tag: 'railway:signal:main:form', value: 'light' } + - { tag: 'railway:signal:main:states', values: ['PL-PKP:s1;PL-PKP:s2', 'off;PL-PKP:s1;PL-PKP:s2'] } + - { tag: 'railway:signal:main:substitute_signal', value: 'PL-PKP:sz' } + + - description: Semafor świetlny dwukomorowy + country: PL + icon: { default: 'pl/s2-2' } + tags: + - { tag: 'railway:signal:main', value: 'PL-PKP:s' } + - { tag: 'railway:signal:main:form', value: 'light' } + - { tag: 'railway:signal:main:states', values: ['PL-PKP:s1;PL-PKP:s2', 'off;PL-PKP:s1;PL-PKP:s2'] } + + - description: Semafor świetlny czterokomorowy & pięciokomorowe + country: PL + icon: + match: 'railway:signal:combined:states' + cases: + - { regex: '^(.*;)?PL-PKP:s1;(.*;)?PL-PKP:s2;(.*;)?PL-PKP:s5;(.*;)?PL-PKP:s6;(.*;)?PL-PKP:s9(;.*)?$', value: 'pl/s6-5' } + - { regex: '^(.*;)?PL-PKP:s1;(.*;)?PL-PKP:s2;(.*;)?PL-PKP:s5;(.*;)?PL-PKP:s10a(;.*)?$', value: 'pl/s10a-5' } + - { regex: '^(.*;)?PL-PKP:s1;(.*;)?PL-PKP:s2;(.*;)?PL-PKP:s5;(.*;)?PL-PKP:s10(;.*)?$', value: 'pl/s10-5' } + - { regex: '^(.*;)?PL-PKP:s[67](;.*)?$', value: 'pl/s6-4' } + - { regex: '^(.*;)?PL-PKP:s[89](;.*)?$', value: 'pl/s9-4' } + - { regex: '^(.*;)?PL-PKP:s1[01]a(;.*)?$', value: 'pl/s10a-4' } + - { regex: '^(.*;)?PL-PKP:s1[23]a(;.*)?$', value: 'pl/s13a-4' } + - { regex: '^(.*;)?PL-PKP:s13(;.*)?$', value: 'pl/s13-4' } + - { regex: '^(.*;)?PL-PKP:s10(;.*)?$', value: 'pl/s10-4' } + default: 'pl/s1-4' + tags: + - { tag: 'railway:signal:combined', value: 'PL-PKP:s' } + - { tag: 'railway:signal:combined:form', value: 'light' } + - { tag: 'railway:signal:combined:substitute_signal', value: 'PL-PKP:sz' } + + - description: Semafor świetlny trzykomorowy & czterokomorowy + country: PL + icon: + match: 'railway:signal:combined:states' + cases: + - { regex: '^PL-PKP:s1;PL-PKP:s1a;PL-PKP:s2;PL-PKP:s3;PL-PKP:s4;PL-PKP:s5$', value: 'pl/s1a-4' } + - { regex: '^(.*;)?PL-PKP:s13(;.*)?$', value: 'pl/s13-3' } + default: 'pl/s1-3' + tags: + - { tag: 'railway:signal:combined', value: 'PL-PKP:s' } + - { tag: 'railway:signal:combined:form', value: 'light' } + + - description: Sygnalizator powtarzający + country: PL + icon: + match: 'railway:signal:main_repeated:states' + cases: + - { regex: '^PL-PKP:sp1;PL-PKP:sp4$', value: 'pl/sp1-2' } + - { regex: '^(.*;)?PL-PKP:sp2(;.*)?$', value: 'pl/sp2-3' } + default: 'pl/sp1-3' + tags: + - { tag: 'railway:signal:main_repeated', value: 'PL-PKP:sp' } + - { tag: 'railway:signal:main_repeated:form', value: 'light' } + + - description: Tarcza ostrzegawcza świetlna + country: PL + icon: + match: 'railway:signal:distant:states' + cases: + - { regex: '^PL-PKP:os1;PL-PKP:os4$', value: 'pl/os1-1' } + default: 'pl/os1-2' + tags: + - { tag: 'railway:signal:distant', value: 'PL-PKP:os' } + - { tag: 'railway:signal:distant:form', values: ['light', 'semaphore'] } + + - description: Tarcze ostrzegawcze przejazdowe + country: PL + icon: { default: 'pl/osp' } + tags: + - { tag: 'railway:signal:crossing', value: 'PL-PKP:osp' } + - { tag: 'railway:signal:crossing:form', value: 'light' } + + - description: Tarcza manewrowa kształtowa + country: PL + icon: { default: 'pl/m-semaphore' } + tags: + - { tag: 'railway:signal:shunting', value: 'PL-PKP:m' } + - { tag: 'railway:signal:shunting:form', value: 'semaphore' } + + - description: Tarcza manewrowa świetlna + country: PL + icon: + match: 'railway:signal:shunting:states' + cases: + - { regex: '^PL-PKP:ms1$', value: 'pl/ms-1' } + default: 'pl/ms-2' + tags: + - { tag: 'railway:signal:shunting', value: 'PL-PKP:ms' } + - { tag: 'railway:signal:shunting:form', value: 'light' } + + # TODO Tarcze rozrządowe https://www.transportszynowy.pl/Kolej/tarczerozrzadowe + + - description: Tarcza zaporowa kształtowa (Nieruchoma) + country: PL + icon: { default: 'pl/z-sign' } + tags: + - { tag: 'railway:signal:minor', value: 'PL-PKP:z' } + - { tag: 'railway:signal:minor:form', value: 'sign' } + + - description: Tarcza zaporowa kształtowa (Ruchoma) + country: PL + icon: { default: 'pl/z-semaphore' } + tags: + - { tag: 'railway:signal:minor', value: 'PL-PKP:z' } + - { tag: 'railway:signal:minor:form', value: 'semaphore' } + + - description: Tarcza zaporowa kształtowa (Ruchoma) + country: PL + icon: + match: 'railway:signal:minor:states' + cases: + - { regex: '^PL-PKP:s1$', value: 'pl/z-1-s1' } + default: 'pl/z-2-s1' + tags: + - { tag: 'railway:signal:minor', value: 'PL-PKP:z' } + - { tag: 'railway:signal:minor:form', value: 'light' } + + - description: Tarcza ostrzegawcza nieruchoma DO + country: PL + icon: { default: 'pl/do' } + tags: + - { tag: 'railway:signal:minor_distant', value: 'PL-PKP:do' } + - { tag: 'railway:signal:minor_distant:form', value: 'sign' } + + - description: Tarcza ostrzegawcza kształtowa nieruchoma + country: PL + icon: { default: 'pl/do' } + tags: + - { tag: 'railway:signal:distant', value: 'PL-PKP:on' } + - { tag: 'railway:signal:distant:form', value: 'sign' } + + - description: Tarcza ostrzegawcza kształtowa dwustawna + country: PL + icon: { default: 'pl/do' } + tags: + - { tag: 'railway:signal:distant', value: 'PL-PKP:od' } + - { tag: 'railway:signal:distant:form', value: 'semaphore' } + + - description: Tarcza ostrzegawcza kształtowa trzystawna + country: PL + icon: { default: 'pl/ot3' } + tags: + - { tag: 'railway:signal:distant', value: 'PL-PKP:ot' } + - { tag: 'railway:signal:distant:form', value: 'semaphore' } + + - description: Tarcze rozrządowe (semaphore) + country: PL + icon: { default: 'pl/rt3-semaphore' } + tags: + - { tag: 'railway:signal:humping', value: 'PL-PKP:rt' } + - { tag: 'railway:signal:humping:form', value: 'semaphore' } + + - description: Tarcze rozrządowe (light) + country: PL + icon: { default: 'pl/rt3-light' } + tags: + - { tag: 'railway:signal:humping', value: 'PL-PKP:rt' } + - { tag: 'railway:signal:humping:form', value: 'light' } + + - description: Tarcza zatrzymania D 1 + country: PL + icon: { default: 'pl/d1' } + tags: + - { tag: 'railway:signal:minor', value: 'PL-PKP:d1' } + - { tag: 'railway:signal:minor:form', value: 'sign' } + + - description: W 1 — wskaźnik usytuowania + country: PL + icon: { default: 'pl/w1' } + tags: + - { tag: 'railway:signal:distant', value: 'PL-PKP:w1' } + - { tag: 'railway:signal:distant:form', value: 'sign' } + + # TODO PL-PKP:w2 + # TODO PL-PKP:w26b + # TODO PL-PKP:w26a + + - description: W 4 — wskaźnik zatrzymania + country: PL + icon: { default: 'pl/w4' } + tags: + - { tag: 'railway:signal:stop', value: 'PL-PKP:w4' } + - { tag: 'railway:signal:stop:form', value: 'sign' } + + - description: W 5 — wskaźnik przetaczania + country: PL + icon: { default: 'pl/w5' } + tags: + - { tag: 'railway:signal:shunting', value: 'PL-PKP:w5' } + - { tag: 'railway:signal:shunting:form', value: 'sign' } + + - description: wskaźniki ostrzegania W6 + country: PL + icon: { default: 'pl/w6' } + tags: + - { tag: 'railway:signal:whistle', value: 'PL-PKP:w6' } + - { tag: 'railway:signal:whistle:form', value: 'sign' } + + - description: wskaźniki ostrzegania W6a + country: PL + icon: { default: 'pl/w6a' } + tags: + - { tag: 'railway:signal:whistle', value: 'PL-PKP:w6a' } + - { tag: 'railway:signal:whistle:form', value: 'sign' } + + - description: wskaźniki ostrzegania W6b + country: PL + icon: { default: 'pl/w6b' } + tags: + - { tag: 'railway:signal:whistle', value: 'PL-PKP:w6b' } + - { tag: 'railway:signal:whistle:form', value: 'sign' } + + - description: wskaźniki ostrzegania W7 + country: PL + icon: { default: 'pl/w7' } + tags: + - { tag: 'railway:signal:whistle', value: 'PL-PKP:w7' } + - { tag: 'railway:signal:whistle:form', value: 'sign' } + + - description: wskaźniki odcinka z popychaniem W10a + country: PL + icon: { default: 'pl/w10a' } + tags: + - { tag: 'railway:signal:helper_engine', value: 'PL-PKP:w10a' } + - { tag: 'railway:signal:helper_engine:form', value: 'sign' } + + - description: wskaźniki odcinka z popychaniem W10b + country: PL + icon: { default: 'pl/w10b' } + tags: + - { tag: 'railway:signal:helper_engine', value: 'PL-PKP:w10b' } + - { tag: 'railway:signal:helper_engine:form', value: 'sign' } + + - description: wskaźniki uprzedzające W11a (dwarf) + country: PL + icon: + match: 'railway:signal:distant:type' + cases: + - { regex: '^II$', value: 'pl/w11a-dwarf-II' } + - { regex: '^III$', value: 'pl/w11a-dwarf-III' } + - { regex: '^IV$', value: 'pl/w11a-dwarf-IV' } + default: 'pl/w11a-dwarf-I' + tags: + - { tag: 'railway:signal:distant', value: 'PL-PKP:w11a' } + - { tag: 'railway:signal:distant:form', value: 'sign' } + - { tag: 'railway:signal:distant:height', value: 'dwarf' } + + - description: wskaźniki uprzedzające W11a (normal) + country: PL + icon: + match: 'railway:signal:distant:type' + cases: + - { regex: '^II$', value: 'pl/w11a-normal-II' } + - { regex: '^III$', value: 'pl/w11a-normal-III' } + - { regex: '^IV$', value: 'pl/w11a-normal-IV' } + default: 'pl/w11a-normal-I' + tags: + - { tag: 'railway:signal:distant', value: 'PL-PKP:w11a' } + - { tag: 'railway:signal:distant:form', value: 'sign' } + + - description: wskaźniki uprzedzające W11b (dwarf) + country: PL + icon: + match: 'railway:signal:distant:type' + cases: + - { regex: '^II$', value: 'pl/w11b-dwarf-II' } + - { regex: '^III$', value: 'pl/w11b-dwarf-III' } + - { regex: '^IV$', value: 'pl/w11b-dwarf-IV' } + default: 'pl/w11b-dwarf-I' + tags: + - { tag: 'railway:signal:distant', value: 'PL-PKP:w11b' } + - { tag: 'railway:signal:distant:form', value: 'sign' } + - { tag: 'railway:signal:distant:height', value: 'dwarf' } + + - description: wskaźniki uprzedzające W11b (normal) + country: PL + icon: + match: 'railway:signal:distant:type' + cases: + - { regex: '^II$', value: 'pl/w11b-normal-II' } + - { regex: '^III$', value: 'pl/w11b-normal-III' } + - { regex: '^IV$', value: 'pl/w11b-normal-IV' } + default: 'pl/w11b-normal-I' + tags: + - { tag: 'railway:signal:distant', value: 'PL-PKP:w11b' } + - { tag: 'railway:signal:distant:form', value: 'sign' } + + - description: wskaźnik przejazdowy W11p + country: PL + icon: + match: 'railway:signal:crossing:repeated' + cases: + - { regex: '^yes$', value: 'pl/w11p-2' } + default: 'pl/w11p-1' + tags: + - { tag: 'railway:signal:crossing_distant', value: 'PL-PKP:w11p' } + - { tag: 'railway:signal:crossing_distant:form', value: 'sign' } + + - description: wskaźnik parowozowy W12 + country: PL + icon: { default: 'pl/w12' } + tags: + - { tag: 'railway:signal:steam_locomotive', value: 'PL-PKP:w12' } + - { tag: 'railway:signal:steam_locomotive:form', value: 'sign' } + + - description: wskaźnik torowy W13 + country: PL + icon: { default: 'pl/w13' } + tags: + - { tag: 'railway:signal:snowplow', value: 'PL-PKP:w13' } + - { tag: 'railway:signal:snowplow:form', value: 'sign' } + - { tag: 'railway:signal:snowplow:type', value: 'up' } + + - description: wskaźnik przystanku osobowego W16 + country: PL + icon: { default: 'pl/w16' } + tags: + - { tag: 'railway:signal:station_distant', value: 'PL-PKP:w16' } + - { tag: 'railway:signal:station_distant:form', value: 'sign' } + + - description: wskaźnik ukresu W17 + country: PL + icon: { default: 'pl/w17' } + tags: + - { tag: 'railway:signal:fouling_point', value: 'PL-PKP:w17' } + + - description: wskaźnik ogrzewania W25 + country: PL + icon: { default: 'pl/w25' } + tags: + - { tag: 'railway:signal:preheating', value: 'PL-PKP:w25' } + - { tag: 'railway:signal:preheating:form', value: 'light' } + + - description: wskaźnik ogrzewania W29 + country: PL + icon: { default: 'pl/w29' } + tags: + - { tag: 'railway:signal:radio', value: 'PL-PKP:w29' } + - { tag: 'railway:signal:radio:form', value: 'sign' } + + - description: wskaźnik czoła pociągu W32 + country: PL + # TODO: use caption + icon: { default: 'pl/w32' } + tags: + - { tag: 'railway:signal:stop', value: 'PL-PKP:w32' } + - { tag: 'railway:signal:stop:form', value: 'sign' } + + - description: wskaźnik początku obowiązywania systemu ERTMS/GSM-R W33 + country: PL + icon: { default: 'pl/w33' } + tags: + - { tag: 'railway:signal:radio', value: 'PL-PKP:w33' } + - { tag: 'railway:signal:radio:form', value: 'sign' } + + - description: wskaźnik początku obowiązywania systemu ERTMS/GSM-R W34 + country: PL + icon: { default: 'pl/w34' } + tags: + - { tag: 'railway:signal:radio', value: 'PL-PKP:w34' } + - { tag: 'railway:signal:radio:form', value: 'sign' } + + - description: wskaźnik początku obowiązywania systemu ERTMS/GSM-R W34 + country: PL + icon: { default: 'pl/w34' } + tags: + - { tag: 'railway:signal:radio', value: 'PL-PKP:w34' } + - { tag: 'railway:signal:radio:form', value: 'sign' } + + - description: ETCS L1 LS + country: PL + icon: { default: 'pl/wetcs1' } + tags: + - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs1' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ETCS L1 LS + country: PL + icon: { default: 'pl/wetcs2' } + tags: + - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs2' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ETCS L1 LS + country: PL + icon: { default: 'pl/wetcs3' } + tags: + - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs3' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ETCS L1 + country: PL + icon: { default: 'pl/wetcs4' } + tags: + - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs4' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ETCS L1 + country: PL + icon: { default: 'pl/wetcs5' } + tags: + - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs5' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ETCS L1 + country: PL + icon: { default: 'pl/wetcs6' } + tags: + - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs6' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ETCS L2 + country: PL + icon: { default: 'pl/wetcs7' } + tags: + - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs7' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ETCS L2 + country: PL + icon: { default: 'pl/wetcs8' } + tags: + - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs8' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ETCS L2 + country: PL + icon: { default: 'pl/wetcs9' } + tags: + - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs9' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + + - description: ETCS 10 + country: PL + icon: + match: 'railway:signal:train_protection' + cases: + - { regex: '^left$', value: 'pl/wetcs10-left' } + default: 'pl/wetcs10-right' + tags: + - { tag: 'railway:signal:train_protection', value: 'PL-PKP:wetcs10' } + - { tag: 'railway:signal:train_protection:form', value: 'sign' } + - { tag: 'railway:signal:train_protection:type', value: 'block_marker' } + + - description: WKD W2 + country: PL + icon: { default: 'pl/wkd/w2' } + tags: + - { tag: 'railway:signal:distant', value: 'PL-WKD:w2' } + - { tag: 'railway:signal:distant:form', value: 'sign' } + + - description: miejsce zatrzymania czoła pociągu Wm 4 + country: PL + icon: { default: 'pl/ztm-mw/wm4' } + tags: + - { tag: 'railway:signal:stop', value: 'ZTM-MW:wm4' } + - { tag: 'railway:signal:stop:form', value: 'sign' } + + - description: rozpocząć hamowanie przed peronem Wm 16 + country: PL + icon: { default: 'pl/ztm-mw/wm16' } + tags: + - { tag: 'railway:signal:station_distant', value: 'ZTM-MW:wm16' } + - { tag: 'railway:signal:station_distant:form', value: 'sign' } + + - description: Wm 17 + country: PL + 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: Linjeplatssignal (main) + country: SE + icon: { default: 'se/main-section' } + tags: + - { tag: 'railway:signal:main', value: 'SE:Linjeplatssignal' } + - { 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: Linjeplatssignal (combined) + country: SE + icon: { default: 'se/combined-section' } + tags: + - { tag: 'railway:signal:combined', value: 'SE:Linjeplatssignal' } + - { 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' } diff --git a/features/speed_railway_signals.yaml b/features/speed_railway_signals.yaml index 240ca1c0..efccb89f 100644 --- a/features/speed_railway_signals.yaml +++ b/features/speed_railway_signals.yaml @@ -1,915 +1,914 @@ -speed_railway_signals: - tags: - - 'railway:signal:speed_limit' - - 'railway:signal:speed_limit:form' - - 'railway:signal:speed_limit:speed' - - 'railway:signal:speed_limit_distant' - - 'railway:signal:speed_limit_distant:form' - - 'railway:signal:speed_limit_distant:speed' - - 'railway:signal:speed_limit_distant:mobile' - - 'railway:signal:speed_limit:pointing' - - features: - - # --- AT --- # - - - description: Geschwindigkeitsvoranzeiger (sign) - country: AT - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^(1[02]|[1-9])0$', value: 'at/geschwindigkeitsvoranzeiger-{}-sign', example: 'at/geschwindigkeitsvoranzeiger-80-sign' } - default: 'at/geschwindigkeitsvoranzeiger-empty-sign' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'AT-V2:geschwindigkeitsvoranzeiger' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Geschwindigkeitsvoranzeiger (light) - country: AT - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^(1[0-4]|[2-9])0$', value: 'at/geschwindigkeitsvoranzeiger-{}-light', example: 'at/geschwindigkeitsvoranzeiger-140-light' } - default: 'at/geschwindigkeitsvoranzeiger-empty-light' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'AT-V2:geschwindigkeitsvoranzeiger' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'light' } - - - description: Geschwindigkeitsanzeiger (sign) - country: AT - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^(1[0-6]|[1-9])0$', value: 'at/geschwindigkeitsanzeiger-{}-sign', example: 'at/geschwindigkeitsanzeiger-160-sign' } - default: 'at/geschwindigkeitsanzeiger-empty-sign' - tags: - - { tag: 'railway:signal:speed_limit', value: 'AT-V2:geschwindigkeitsanzeiger' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Geschwindigkeitsanzeiger (light) - country: AT - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^(1[024]|[2-9])0$', value: 'at/geschwindigkeitsanzeiger-{}-light', example: 'at/geschwindigkeitsanzeiger-120-light' } - default: 'at/geschwindigkeitsanzeiger-empty-light' - tags: - - { tag: 'railway:signal:speed_limit', value: 'AT-V2:geschwindigkeitsanzeiger' } - - { tag: 'railway:signal:speed_limit:form', value: 'light' } - - - description: Ankündigungstafel - country: AT - type: line - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^(1[0-4]0|10|[2-9][05])$', value: 'at/ankuendigungstafel-{}-sign', example: 'at/ankuendigungstafel-70-sign' } - default: 'at/ankuendigungstafel-empty-sign' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'AT-V2:ankündigungstafel' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Geschwindigkeitstafel - country: AT - type: line - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^(1[0-6]0|[1-9][05]|5)$', value: 'at/geschwindigkeitstafel-{}-sign', example: 'at/geschwindigkeitstafel-60-sign' } - default: 'at/geschwindigkeitstafel-empty-sign' - tags: - - { tag: 'railway:signal:speed_limit', value: 'AT-V2:geschwindigkeitstafel' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Salzburger Lokalbahn & Pinzgauer Lokalbahn X40 - country: AT - icon: { default: 'at/x40' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'AT-SLB:x40' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Anfangssignal - country: AT - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^[1-6]0$', value: 'at/anfangssignal-{}', example: 'at/anfangssignal-60' } - default: 'at/anfangssignal-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'AT-V2:anfangssignal' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Ankündigungssignal - country: AT - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^[1-6]0$', value: 'at/ankündigungssignal-{}', example: 'at/ankündigungssignal-60' } - default: 'at/ankündigungssignal-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'AT-V2:ankündigungssignal' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Endsignal - country: AT - icon: { default: 'at/endsignal' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'AT-V2:endsignal' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Ankündigung EK sicht - country: AT - icon: { default: 'at/ankündigung-ek-sicht' } - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'AT-V2:ankündigung_ek-sicht' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: EK sicht Pfeiftafel - country: AT - icon: { default: 'at/ek-sicht-pfeiftafel' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'AT-V2:ek-sicht_pfeiftafel' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - # --- BE --- # - - - description: Speed limit light (part of main signal) - country: BE - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^([4-9]0)$', value: 'be/chiffre-vitesse-{}', example: 'be/chiffre-vitesse-60' } - default: 'be/chiffre-vitesse-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'BE:VIS' } - - { tag: 'railway:signal:speed_limit:form', value: 'light' } - - # --- CH --- # - - - description: Vorsignal verminderte Geschwindigkeit - country: CH - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^([6-9][05]|1[0-1][05])$', value: 'ch/fdv-209-{}', example: 'ch/fdv-209-90' } - default: 'ch/fdv-209-empty' - tags: - # TODO support CH-FDV:210, with railway:signal:speed_limit_distant:speed:trainclass_low - - { tag: 'railway:signal:speed_limit_distant', values: ['CH-FDV:209', 'CH-FDV:210'] } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Anfangssignal verminderte Geschwindigkeit - country: CH - icon: { default: 'ch/fdv-211' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:211' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Endesignal verminderte Geschwindigkeit - country: CH - icon: { default: 'ch/fdv-212' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:212' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Vorsignal verminderte Geschwindigkeit für Neigetechnikzüge - country: CH - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^1[1-4]0$', value: 'ch/fdv-213-{}', example: 'ch/fdv-213-120' } - default: 'ch/fdv-213-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'CH-FDV:213' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Anfangssignal verminderte Geschwindigkeit - country: CH - icon: { default: 'ch/fdv-214' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:214' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Endesignal verminderte Geschwindigkeit - country: CH - icon: { default: 'ch/fdv-215' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:215' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Merktafel für Änderung der Höchstgeschwindigkeit - country: CH - icon: { default: 'ch/fdv-217' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:217' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Geschwindigkeits-Ankündigung - country: CH - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^([4-9]|1[0-2])0$', value: 'ch/fdv-540-{}', example: 'ch/fdv-540-40' } - default: 'ch/fdv-540-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', values: ['CH-FDV:540', 'CH-FDV:541'] } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'light' } - - - description: Geschwindigkeits-Ausführung - country: CH - icon: - match: 'railway:signal:speed_limit:speed' - # Same form as distant signal - cases: - - { regex: '^([4-9]|1[0-2])0$', value: 'ch/fdv-540-{}', example: 'ch/fdv-540-100' } - default: 'ch/fdv-540-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:549' } - - { tag: 'railway:signal:speed_limit:form', value: 'light' } - - - description: Merktafel für Streckengeschwindigkeit beim Signalsystem N - country: CH - icon: { default: 'ch/fdv-569' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:569' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - # --- DE --- # - - - description: Speed signals (Zs 3v) (sign) - country: DE - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^(1[0-6]|[1-9])0$', value: 'de/zs3v-{}-sign-down', example: 'de/zs3v-60-sign-down' } - default: 'de/zs3v-empty-sign-down' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'DE-ESO:zs3v' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Speed signals (Zs 3v) (light) - country: DE - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - # for light signals: empty Zs3v "looks" exactly like empty Zs2v - - { regex: '^off;\?$', value: 'de/zs2v-unknown' } - - { regex: '^([1-9]|1[0-6]|20)0$', value: 'de/zs3v-{}-light', example: 'de/zs3v-20-light' } - default: 'de/zs2v-unknown' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'DE-ESO:zs3v' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'light' } - - - description: Speed signals (Zs 3) (light) - country: DE - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^([1-9]|1[0-6])0$', value: 'de/zs3-{}-sign-up', example: 'de/zs3-50-sign-up' } - default: 'de/zs3-empty-sign-up' - tags: - - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:zs3' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Speed signals (Zs 3) (light) - country: DE - icon: - match: 'railway:signal:speed_limit:speed' - cases: - # for light signals: empty Zs3 "looks" exactly like empty Zs2 - - { regex: '^off;\?$', value: 'de/zs2-unknown' } - - { regex: '^([1-9]|1[0-6]|20)0$', value: 'de/zs3-{}-light', example: 'de/zs3-70-light' } - default: 'de/zs2-unknown' - tags: - - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:zs3' } - - { tag: 'railway:signal:speed_limit:form', value: 'light' } - - - description: West German branch line speed signals (Lf 4 DS 301) - country: DE - type: line - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^([2-8]0|1?[05])$', value: 'de/lf4-ds301-{}-sign-down', example: 'de/lf4-ds301-80-sign-down' } - default: 'de/lf4-ds301-empty-sign-down' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'DE-ESO:db:lf4' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: East German branch line speed signals (Lf 4) - country: DE - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - # DB and DR variant have the same empty sign - - { regex: '^(100|[2-8]0|1?[05])$', value: 'de/lf4-dr-{}-sign-down', example: 'de/lf4-dr-70-sign-down' } - default: 'de/lf4-ds301-empty-sign-down' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'DE-ESO:dr:lf4' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: German line speed signals (Lf 6) - country: DE - type: line - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^((1[0-9]|[1-9])0|5|15)$', value: 'de/lf6-{}-sign-down', example: 'de/lf6-30-sign-down' } - default: 'de/lf6-empty-sign-down' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'DE-ESO:lf6' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Langsamfahrscheibe - country: DE - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^(5|15|[1-9]0|1[0-9]0|200)$', value: 'de/lf1-{}-sign-down', example: 'de/lf1-200-sign-down' } - default: 'de/lf1-empty-sign-down' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'DE-ESO:lf1' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Hamburger Hochbahn L1 - country: DE - type: line - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^([3-7]0)$', value: 'de/hha/l1-{}-sign', example: 'de/hha/l1-70-sign' } - default: 'de/hha/l1-empty-sign' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'DE-HHA:l1' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Tram distance speed limit (G 1a) (sign) - country: DE - type: tram - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^(5|[1-6][0-5])$', value: 'de/bostrab/g1a-{}', example: 'de/bostrab/g1a-40' } - default: 'de/bostrab/g1a-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', values: ['DE-BOStrab:g1', 'DE-BOStrab:g1a', 'DE-BSVG:g1a'] } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Tram distance speed limit (G 1b) (light) - country: DE - type: tram - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^[1-7]0$', value: 'de/bostrab/g1b-{}', example: 'de/bostrab/g1b-40' } - default: 'de/bostrab/g1b-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', values: ['DE-BOStrab:g1', 'DE-BOStrab:g1b'] } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'light' } - - - description: Tram speed limit (G 2a) (sign) - country: DE - type: tram - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^(5|[1-7][05])$', value: 'de/bostrab/g2a-{}', example: 'de/bostrab/g2a-40' } - default: 'de/bostrab/g2a-empty' - tags: - - { tag: 'railway:signal:speed_limit', values: ['DE-BOStrab:g2', 'DE-BOStrab:g2a', 'DE-BSVG:g2a'] } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Tram speed limit (G 2b) (light) - country: DE - type: tram - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^[1-7]0$', value: 'de/bostrab/g2b-{}', example: 'de/bostrab/g2b-40' } - default: 'de/bostrab/g2b-empty' - tags: - - { tag: 'railway:signal:speed_limit', values: ['DE-BOStrab:g2', 'DE-BOStrab:g2b'] } - - { tag: 'railway:signal:speed_limit:form', value: 'light' } - - - description: Tram signal G3 - country: DE - type: tram - icon: { default: 'de/bostrab/g3' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'DE-BOStrab:g3' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: German tram speed limit signals as signs (G 4) - country: DE - type: tram - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^(100|[2-9]0|[235]5)$', value: 'de/bostrab/g4-{}', example: 'de/bostrab/g4-40' } - default: 'de/bostrab/g4-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'DE-BOStrab:g4' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Hannover tram speed limit G5 - country: DE - type: tram - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^(5|[1-6][05])$', value: 'de/bostrab/g5-{}', example: 'de/bostrab/g5-40' } - default: 'de/bostrab/g5-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'DE-UESTRA:g5' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: East German line speed signal "Eckentafel" (Lf 5) - country: DE - type: line - icon: { default: 'de/lf5-dv301-sign' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:dr:lf5' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: West German line speed signal "Anfangstafel" (Lf 5) - country: DE - type: line - icon: { default: 'de/lf5-ds301-sign' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:db:lf5' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: German line speed signals (Lf 7) - country: DE - type: line - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^(5|15|[1-9]0|1[0-9]0|200)$', value: 'de/lf7-{}-sign', example: 'de/lf7-180-sign' } - default: 'de/lf7-empty-sign' - tags: - - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:lf7' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Hamburger Hochbahn L4 - country: DE - type: line - icon: { default: 'de/hha/l4' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'DE-HHA:l4' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Anfangsscheibe - country: DE - icon: { default: 'de/lf2-sign' } - tags: - - { tag: 'railway:signal:speed_limit', values: ['DE-ESO:lf2', 'DE-ESO:db:lf2'] } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Langsamfahrbeginnscheibe - country: DE - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^(5|[1-9]0|1[0-2]0)$', value: 'de/lf1-2-{}-sign', example: 'de/lf1-2-80-sign' } - default: 'de/lf1-2-empty-sign' - tags: - - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:dr:lf1/2' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Endscheibe - country: DE - icon: { default: 'de/lf3-sign' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:lf3' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Ende der Geschwindigkeitsbeschränkung (sign) - country: DE - icon: { default: 'de/zs10-sign' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:db:zs10' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Ende der Geschwindigkeitsbeschränkung (light) - country: DE - icon: { default: 'de/zs10-light' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:db:zs10' } - - { tag: 'railway:signal:speed_limit:form', value: 'light' } - - # --- FR --- # - - - description: Pancarte Z & TIV-D - country: FR - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^([3-9]0|1[0-3]0)$', value: 'fr/Z-TIV-distance-{}-sign', example: 'fr/Z-TIV-distance-120-sign' } - default: 'fr/Z-TIV-distance-empty-sign' - tags: - - { tag: 'railway:signal:speed_limit', value: 'FR:Z' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - { tag: 'railway:signal:speed_limit_distant', value: 'FR:TIV-D' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Pancarte Z & TIV-D (B) - country: FR - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^(1[5-9]0|200)$', value: 'fr/Z-TIV-type-B-{}', example: 'fr/Z-TIV-type-B-160' } - default: 'fr/Z-TIV-type-B-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'FR:Z' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - { tag: 'railway:signal:speed_limit_distant', value: 'FR:TIV-D_B' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Pancarte Z - country: FR - icon: { default: 'fr/Tableau_Z' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'FR:Z' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Tableau R - country: FR - icon: { default: 'fr/Tableau_R' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'FR:R' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Tableau P - country: FR - icon: { default: 'fr/Tableau_P' } - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'FR:P' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Chevron pointe en bas - country: FR - icon: { default: 'fr/chevron pointe en bas' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'FR:Chevron' } - - { tag: 'railway:signal:speed_limit:pointing', value: 'downwards' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Chevron pointe en haut - country: FR - icon: { default: 'fr/chevron pointe en haut' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'FR:Chevron' } - - { tag: 'railway:signal:speed_limit:pointing', value: 'upwards' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: TIV-D (mobile) - country: FR - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^([3-9]0|1[0-3]0)$', value: 'fr/TIV-distance-{}-light', example: 'fr/TIV-distance-80-light' } - default: 'fr/TIV-distance-empty-light' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'FR:TIV-D' } - - { tag: 'railway:signal:speed_limit_distant:mobile', value: 'yes' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: TIV-D (fixed) - country: FR - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^([3-9]0|1[0-3]0)$', value: 'fr/TIV-distance-{}-sign', example: 'fr/TIV-distance-70-sign' } - default: 'fr/TIV-distance-empty-sign' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'FR:TIV-D' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - # TODO support TIV-R - # - description: TIV-R - # country: FR - # icon: - # match: 'railway:signal:speed_limit_reminder:speed' - # cases: - # - { regex: '^([3-9]0|1[0-3]0)$', value: 'fr/TIV-reminder-{}-sign', example: 'fr/TIV-reminder-110-sign' } - # default: 'fr/TIV-reminder-empty-sign' - # tags: - # - { tag: 'railway:signal:speed_limit_reminder', value: 'FR:TIV-R' } - # - { tag: 'railway:signal:speed_limit_reminder:form', value: 'sign' } - - - description: TIV-D (B) - country: FR - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^(1[5-9]0|200)$', value: 'fr/TIV-type-B-{}', example: 'fr/TIV-type-B-160' } - default: 'fr/TIV-type-B-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'FR:TIV-D_B' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: TIV-D (C) - country: FR - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^(1[5-9]0)$', value: 'fr/TIV-type-C-{}', example: 'fr/TIV-type-C-160' } - default: 'fr/TIV-type-C-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'FR:TIV-D_C' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - # --- FI --- # - - - description: Nopeusmerkki, speed signal - country: FI - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^([2-6]0)$', value: 'fi/t-101-{}', example: 'fi/t-101-40' } - default: 'fi/t-101-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'FI:T-101' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Nopeusmerkin etumerkki, distant signal - country: FI - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^([2-6]0)$', value: 'fi/t-102-{}', example: 'fi/t-102-40' } - default: 'fi/t-102-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'FI:T-102' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Merkitty nopeus päättyy -merkki, end of speed limit - country: FI - icon: { default: 'fi/t-110' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'FI:T-110' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: JKV-nopeus, JKV speed limit - country: FI - icon: { default: 'fi/t-115' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'FI:T-115' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - # --- NL --- # - - - description: L signal - country: NL - icon: { default: 'nl/276' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'NL' } - - { tag: 'railway:signal:speed_limit:form', value: 'light' } - - { tag: 'railway:signal:speed_limit:states', value: 'L;off' } - - - description: H signal - country: NL - icon: { default: 'nl/277' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'NL' } - - { tag: 'railway:signal:speed_limit:form', value: 'light' } - - { tag: 'railway:signal:speed_limit:states', value: 'H;off' } - - - description: X/G signal - country: NL - icon: { default: 'nl/279' } - tags: - - { tag: 'railway:signal:speed_limit', value: 'NL' } - - { tag: 'railway:signal:speed_limit:form', value: 'light' } - - { tag: 'railway:signal:speed_limit:states', value: 'X;G;off' } - - - description: distant speed limit distant (sign) - country: NL - type: line - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^[1-9]0|1[0-4]0|125$', value: 'nl/313-{}', example: 'nl/313-80' } - default: 'nl/313-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'NL:313' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: speed limit (sign) - country: NL - type: line - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^[1-9]0|1[0-46]0|[12]5|125$', value: 'nl/314-{}', example: 'nl/314-70' } - default: 'nl/314-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'NL:314' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: speed limit increase (sign) - country: NL - type: line - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^[3-9]0|1[0-46]0|125$', value: 'nl/316-{}', example: 'nl/316-130' } - default: 'nl/316-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'NL:316' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: distant speed limit (light) - country: NL - type: line - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^[1-9]0|1[0-9]0$', value: 'nl/speed_limit_distant_light-{}', example: 'nl/speed_limit_distant_light-60' } - default: 'nl/speed_limit_distant_light-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'NL' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'light' } - - - description: speed limit (light) - country: NL - type: line - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^[1-9]0|1[0-9]0$', value: 'nl/speed_limit_light-{}', example: 'nl/speed_limit_light-60' } - default: 'nl/speed_limit_light-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'NL' } - - { tag: 'railway:signal:speed_limit:form', value: 'light' } - - - description: tunnel distant speed limit - country: NL - type: line - 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 - 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 - 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 - 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' } - - # --- PL --- # - - - description: D6 Tarcza zwolnić bieg - country: PL - icon: - match: 'railway:signal:speed_limit_distant:speed' - # TODO update signs from https://wiki.openstreetmap.org/wiki/Pl:OpenRailwayMap/Tagging_in_Poland#Tarcza_zwolnić_bieg_D_6 - # TODO handle dwarf signals - cases: - - { regex: '^[1-9]0$', value: 'pl/d6-{}', example: 'pl/d6-70' } - default: 'pl/d6-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'PL-PKP:d6' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: W8 Wskaźnik ograniczenia prędkości - country: PL - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^([1-9]|1[0-9]|20)0$', value: 'pl/w8-{}', example: 'pl/w8-60' } - default: 'pl/w8-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'PL-PKP:w8' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: W9 Wskaźnik odcinka ograniczonej prędkości - country: PL - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^([2-9]|1[0-4])0$', value: 'pl/w9-{}', example: 'pl/w9-60' } - default: 'pl/w9-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'PL-PKP:w9' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: W21 Wskaźniki podwyższenia prędkości - country: PL - type: line - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^([1-9]|1[0-9]|20)0$', value: 'pl/w21-{}', example: 'pl/w21-80' } - default: 'pl/w21-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'PL-PKP:w21' } - - { tag: 'railway:signal:speed_limit:form', value: 'light' } - - - description: W27a Wskaźnik zmiany prędkości - country: PL - type: line - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^([1-9]|1[0-9]|20)0$', value: 'pl/w27a-{}', example: 'pl/w27a-80' } - default: 'pl/w27a-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'PL-PKP:w27a' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: W30 Wskaźnik ważenia składu - country: PL - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^5$', value: 'pl/w30-{}', example: 'pl/w30-5' } - default: 'pl/w30-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'PL-PKP:w30' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - # --- SE --- # - - - description: Hastighetstavla - country: SE - type: line - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^([3-9]0|1[0-5]0|1[01]5)$', value: 'se/hastighetstavla-{}', example: 'se/hastighetstavla-90' } - default: 'se/hastighetstavla-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'SE:hastighetstavla' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Hastighetstavla med pilspets uppåt - country: SE - type: line - icon: - match: 'railway:signal:speed_limit:speed' - cases: - - { regex: '^140$', value: 'se/hastighetstavla-pilspets-uppåt-{}', example: 'se/hastighetstavla-pilspets-uppåt-140' } - default: 'se/hastighetstavla-pilspets-uppåt-empty' - tags: - - { tag: 'railway:signal:speed_limit', value: 'SE:hastighetstavla med pilspets uppåt' } - - { tag: 'railway:signal:speed_limit:form', value: 'sign' } - - - description: Orienteringstavla för lägre hastighet - country: SE - type: line - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^(1[0-4]0|[7-9]0)|105$', value: 'se/orienteringstavla-hastighet-{}', example: 'se/orienteringstavla-hastighet-80' } - default: 'se/orienteringstavla-hastighet-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'SE:lägre_hastighet' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } - - - description: Orienteringstavla med tilläggsskylt ”ATC-överskridande” - country: SE - type: line - icon: - match: 'railway:signal:speed_limit_distant:speed' - cases: - - { regex: '^150$', value: 'se/orienteringstavla-hastighet-atc-överskridande-{}', example: 'se/orienteringstavla-hastighet-atc-överskridande-150' } - default: 'se/orienteringstavla-hastighet-atc-överskridande-empty' - tags: - - { tag: 'railway:signal:speed_limit_distant', value: 'SE:atc_överskridande' } - - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } +tags: + - 'railway:signal:speed_limit' + - 'railway:signal:speed_limit:form' + - 'railway:signal:speed_limit:speed' + - 'railway:signal:speed_limit_distant' + - 'railway:signal:speed_limit_distant:form' + - 'railway:signal:speed_limit_distant:speed' + - 'railway:signal:speed_limit_distant:mobile' + - 'railway:signal:speed_limit:pointing' + +features: + + # --- AT --- # + + - description: Geschwindigkeitsvoranzeiger (sign) + country: AT + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^(1[02]|[1-9])0$', value: 'at/geschwindigkeitsvoranzeiger-{}-sign', example: 'at/geschwindigkeitsvoranzeiger-80-sign' } + default: 'at/geschwindigkeitsvoranzeiger-empty-sign' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'AT-V2:geschwindigkeitsvoranzeiger' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Geschwindigkeitsvoranzeiger (light) + country: AT + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^(1[0-4]|[2-9])0$', value: 'at/geschwindigkeitsvoranzeiger-{}-light', example: 'at/geschwindigkeitsvoranzeiger-140-light' } + default: 'at/geschwindigkeitsvoranzeiger-empty-light' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'AT-V2:geschwindigkeitsvoranzeiger' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'light' } + + - description: Geschwindigkeitsanzeiger (sign) + country: AT + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^(1[0-6]|[1-9])0$', value: 'at/geschwindigkeitsanzeiger-{}-sign', example: 'at/geschwindigkeitsanzeiger-160-sign' } + default: 'at/geschwindigkeitsanzeiger-empty-sign' + tags: + - { tag: 'railway:signal:speed_limit', value: 'AT-V2:geschwindigkeitsanzeiger' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Geschwindigkeitsanzeiger (light) + country: AT + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^(1[024]|[2-9])0$', value: 'at/geschwindigkeitsanzeiger-{}-light', example: 'at/geschwindigkeitsanzeiger-120-light' } + default: 'at/geschwindigkeitsanzeiger-empty-light' + tags: + - { tag: 'railway:signal:speed_limit', value: 'AT-V2:geschwindigkeitsanzeiger' } + - { tag: 'railway:signal:speed_limit:form', value: 'light' } + + - description: Ankündigungstafel + country: AT + type: line + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^(1[0-4]0|10|[2-9][05])$', value: 'at/ankuendigungstafel-{}-sign', example: 'at/ankuendigungstafel-70-sign' } + default: 'at/ankuendigungstafel-empty-sign' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'AT-V2:ankündigungstafel' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Geschwindigkeitstafel + country: AT + type: line + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^(1[0-6]0|[1-9][05]|5)$', value: 'at/geschwindigkeitstafel-{}-sign', example: 'at/geschwindigkeitstafel-60-sign' } + default: 'at/geschwindigkeitstafel-empty-sign' + tags: + - { tag: 'railway:signal:speed_limit', value: 'AT-V2:geschwindigkeitstafel' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Salzburger Lokalbahn & Pinzgauer Lokalbahn X40 + country: AT + icon: { default: 'at/x40' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'AT-SLB:x40' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Anfangssignal + country: AT + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^[1-6]0$', value: 'at/anfangssignal-{}', example: 'at/anfangssignal-60' } + default: 'at/anfangssignal-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'AT-V2:anfangssignal' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Ankündigungssignal + country: AT + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^[1-6]0$', value: 'at/ankündigungssignal-{}', example: 'at/ankündigungssignal-60' } + default: 'at/ankündigungssignal-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'AT-V2:ankündigungssignal' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Endsignal + country: AT + icon: { default: 'at/endsignal' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'AT-V2:endsignal' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Ankündigung EK sicht + country: AT + icon: { default: 'at/ankündigung-ek-sicht' } + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'AT-V2:ankündigung_ek-sicht' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: EK sicht Pfeiftafel + country: AT + icon: { default: 'at/ek-sicht-pfeiftafel' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'AT-V2:ek-sicht_pfeiftafel' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + # --- BE --- # + + - description: Speed limit light (part of main signal) + country: BE + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^([4-9]0)$', value: 'be/chiffre-vitesse-{}', example: 'be/chiffre-vitesse-60' } + default: 'be/chiffre-vitesse-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'BE:VIS' } + - { tag: 'railway:signal:speed_limit:form', value: 'light' } + + # --- CH --- # + + - description: Vorsignal verminderte Geschwindigkeit + country: CH + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^([6-9][05]|1[0-1][05])$', value: 'ch/fdv-209-{}', example: 'ch/fdv-209-90' } + default: 'ch/fdv-209-empty' + tags: + # TODO support CH-FDV:210, with railway:signal:speed_limit_distant:speed:trainclass_low + - { tag: 'railway:signal:speed_limit_distant', values: ['CH-FDV:209', 'CH-FDV:210'] } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Anfangssignal verminderte Geschwindigkeit + country: CH + icon: { default: 'ch/fdv-211' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:211' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Endesignal verminderte Geschwindigkeit + country: CH + icon: { default: 'ch/fdv-212' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:212' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Vorsignal verminderte Geschwindigkeit für Neigetechnikzüge + country: CH + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^1[1-4]0$', value: 'ch/fdv-213-{}', example: 'ch/fdv-213-120' } + default: 'ch/fdv-213-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'CH-FDV:213' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Anfangssignal verminderte Geschwindigkeit + country: CH + icon: { default: 'ch/fdv-214' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:214' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Endesignal verminderte Geschwindigkeit + country: CH + icon: { default: 'ch/fdv-215' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:215' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Merktafel für Änderung der Höchstgeschwindigkeit + country: CH + icon: { default: 'ch/fdv-217' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:217' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Geschwindigkeits-Ankündigung + country: CH + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^([4-9]|1[0-2])0$', value: 'ch/fdv-540-{}', example: 'ch/fdv-540-40' } + default: 'ch/fdv-540-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', values: ['CH-FDV:540', 'CH-FDV:541'] } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'light' } + + - description: Geschwindigkeits-Ausführung + country: CH + icon: + match: 'railway:signal:speed_limit:speed' + # Same form as distant signal + cases: + - { regex: '^([4-9]|1[0-2])0$', value: 'ch/fdv-540-{}', example: 'ch/fdv-540-100' } + default: 'ch/fdv-540-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:549' } + - { tag: 'railway:signal:speed_limit:form', value: 'light' } + + - description: Merktafel für Streckengeschwindigkeit beim Signalsystem N + country: CH + icon: { default: 'ch/fdv-569' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'CH-FDV:569' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + # --- DE --- # + + - description: Speed signals (Zs 3v) (sign) + country: DE + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^(1[0-6]|[1-9])0$', value: 'de/zs3v-{}-sign-down', example: 'de/zs3v-60-sign-down' } + default: 'de/zs3v-empty-sign-down' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'DE-ESO:zs3v' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Speed signals (Zs 3v) (light) + country: DE + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + # for light signals: empty Zs3v "looks" exactly like empty Zs2v + - { regex: '^off;\?$', value: 'de/zs2v-unknown' } + - { regex: '^([1-9]|1[0-6]|20)0$', value: 'de/zs3v-{}-light', example: 'de/zs3v-20-light' } + default: 'de/zs2v-unknown' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'DE-ESO:zs3v' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'light' } + + - description: Speed signals (Zs 3) (light) + country: DE + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^([1-9]|1[0-6])0$', value: 'de/zs3-{}-sign-up', example: 'de/zs3-50-sign-up' } + default: 'de/zs3-empty-sign-up' + tags: + - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:zs3' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Speed signals (Zs 3) (light) + country: DE + icon: + match: 'railway:signal:speed_limit:speed' + cases: + # for light signals: empty Zs3 "looks" exactly like empty Zs2 + - { regex: '^off;\?$', value: 'de/zs2-unknown' } + - { regex: '^([1-9]|1[0-6]|20)0$', value: 'de/zs3-{}-light', example: 'de/zs3-70-light' } + default: 'de/zs2-unknown' + tags: + - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:zs3' } + - { tag: 'railway:signal:speed_limit:form', value: 'light' } + + - description: West German branch line speed signals (Lf 4 DS 301) + country: DE + type: line + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^([2-8]0|1?[05])$', value: 'de/lf4-ds301-{}-sign-down', example: 'de/lf4-ds301-80-sign-down' } + default: 'de/lf4-ds301-empty-sign-down' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'DE-ESO:db:lf4' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: East German branch line speed signals (Lf 4) + country: DE + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + # DB and DR variant have the same empty sign + - { regex: '^(100|[2-8]0|1?[05])$', value: 'de/lf4-dr-{}-sign-down', example: 'de/lf4-dr-70-sign-down' } + default: 'de/lf4-ds301-empty-sign-down' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'DE-ESO:dr:lf4' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: German line speed signals (Lf 6) + country: DE + type: line + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^((1[0-9]|[1-9])0|5|15)$', value: 'de/lf6-{}-sign-down', example: 'de/lf6-30-sign-down' } + default: 'de/lf6-empty-sign-down' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'DE-ESO:lf6' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Langsamfahrscheibe + country: DE + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^(5|15|[1-9]0|1[0-9]0|200)$', value: 'de/lf1-{}-sign-down', example: 'de/lf1-200-sign-down' } + default: 'de/lf1-empty-sign-down' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'DE-ESO:lf1' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Hamburger Hochbahn L1 + country: DE + type: line + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^([3-7]0)$', value: 'de/hha/l1-{}-sign', example: 'de/hha/l1-70-sign' } + default: 'de/hha/l1-empty-sign' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'DE-HHA:l1' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Tram distance speed limit (G 1a) (sign) + country: DE + type: tram + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^(5|[1-6][0-5])$', value: 'de/bostrab/g1a-{}', example: 'de/bostrab/g1a-40' } + default: 'de/bostrab/g1a-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', values: ['DE-BOStrab:g1', 'DE-BOStrab:g1a', 'DE-BSVG:g1a'] } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Tram distance speed limit (G 1b) (light) + country: DE + type: tram + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^[1-7]0$', value: 'de/bostrab/g1b-{}', example: 'de/bostrab/g1b-40' } + default: 'de/bostrab/g1b-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', values: ['DE-BOStrab:g1', 'DE-BOStrab:g1b'] } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'light' } + + - description: Tram speed limit (G 2a) (sign) + country: DE + type: tram + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^(5|[1-7][05])$', value: 'de/bostrab/g2a-{}', example: 'de/bostrab/g2a-40' } + default: 'de/bostrab/g2a-empty' + tags: + - { tag: 'railway:signal:speed_limit', values: ['DE-BOStrab:g2', 'DE-BOStrab:g2a', 'DE-BSVG:g2a'] } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Tram speed limit (G 2b) (light) + country: DE + type: tram + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^[1-7]0$', value: 'de/bostrab/g2b-{}', example: 'de/bostrab/g2b-40' } + default: 'de/bostrab/g2b-empty' + tags: + - { tag: 'railway:signal:speed_limit', values: ['DE-BOStrab:g2', 'DE-BOStrab:g2b'] } + - { tag: 'railway:signal:speed_limit:form', value: 'light' } + + - description: Tram signal G3 + country: DE + type: tram + icon: { default: 'de/bostrab/g3' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'DE-BOStrab:g3' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: German tram speed limit signals as signs (G 4) + country: DE + type: tram + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^(100|[2-9]0|[235]5)$', value: 'de/bostrab/g4-{}', example: 'de/bostrab/g4-40' } + default: 'de/bostrab/g4-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'DE-BOStrab:g4' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Hannover tram speed limit G5 + country: DE + type: tram + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^(5|[1-6][05])$', value: 'de/bostrab/g5-{}', example: 'de/bostrab/g5-40' } + default: 'de/bostrab/g5-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'DE-UESTRA:g5' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: East German line speed signal "Eckentafel" (Lf 5) + country: DE + type: line + icon: { default: 'de/lf5-dv301-sign' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:dr:lf5' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: West German line speed signal "Anfangstafel" (Lf 5) + country: DE + type: line + icon: { default: 'de/lf5-ds301-sign' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:db:lf5' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: German line speed signals (Lf 7) + country: DE + type: line + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^(5|15|[1-9]0|1[0-9]0|200)$', value: 'de/lf7-{}-sign', example: 'de/lf7-180-sign' } + default: 'de/lf7-empty-sign' + tags: + - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:lf7' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Hamburger Hochbahn L4 + country: DE + type: line + icon: { default: 'de/hha/l4' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'DE-HHA:l4' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Anfangsscheibe + country: DE + icon: { default: 'de/lf2-sign' } + tags: + - { tag: 'railway:signal:speed_limit', values: ['DE-ESO:lf2', 'DE-ESO:db:lf2'] } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Langsamfahrbeginnscheibe + country: DE + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^(5|[1-9]0|1[0-2]0)$', value: 'de/lf1-2-{}-sign', example: 'de/lf1-2-80-sign' } + default: 'de/lf1-2-empty-sign' + tags: + - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:dr:lf1/2' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Endscheibe + country: DE + icon: { default: 'de/lf3-sign' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:lf3' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Ende der Geschwindigkeitsbeschränkung (sign) + country: DE + icon: { default: 'de/zs10-sign' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:db:zs10' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Ende der Geschwindigkeitsbeschränkung (light) + country: DE + icon: { default: 'de/zs10-light' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'DE-ESO:db:zs10' } + - { tag: 'railway:signal:speed_limit:form', value: 'light' } + + # --- FR --- # + + - description: Pancarte Z & TIV-D + country: FR + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^([3-9]0|1[0-3]0)$', value: 'fr/Z-TIV-distance-{}-sign', example: 'fr/Z-TIV-distance-120-sign' } + default: 'fr/Z-TIV-distance-empty-sign' + tags: + - { tag: 'railway:signal:speed_limit', value: 'FR:Z' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + - { tag: 'railway:signal:speed_limit_distant', value: 'FR:TIV-D' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Pancarte Z & TIV-D (B) + country: FR + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^(1[5-9]0|200)$', value: 'fr/Z-TIV-type-B-{}', example: 'fr/Z-TIV-type-B-160' } + default: 'fr/Z-TIV-type-B-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'FR:Z' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + - { tag: 'railway:signal:speed_limit_distant', value: 'FR:TIV-D_B' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Pancarte Z + country: FR + icon: { default: 'fr/Tableau_Z' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'FR:Z' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Tableau R + country: FR + icon: { default: 'fr/Tableau_R' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'FR:R' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Tableau P + country: FR + icon: { default: 'fr/Tableau_P' } + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'FR:P' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Chevron pointe en bas + country: FR + icon: { default: 'fr/chevron pointe en bas' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'FR:Chevron' } + - { tag: 'railway:signal:speed_limit:pointing', value: 'downwards' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Chevron pointe en haut + country: FR + icon: { default: 'fr/chevron pointe en haut' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'FR:Chevron' } + - { tag: 'railway:signal:speed_limit:pointing', value: 'upwards' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: TIV-D (mobile) + country: FR + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^([3-9]0|1[0-3]0)$', value: 'fr/TIV-distance-{}-light', example: 'fr/TIV-distance-80-light' } + default: 'fr/TIV-distance-empty-light' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'FR:TIV-D' } + - { tag: 'railway:signal:speed_limit_distant:mobile', value: 'yes' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: TIV-D (fixed) + country: FR + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^([3-9]0|1[0-3]0)$', value: 'fr/TIV-distance-{}-sign', example: 'fr/TIV-distance-70-sign' } + default: 'fr/TIV-distance-empty-sign' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'FR:TIV-D' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + # TODO support TIV-R + # - description: TIV-R + # country: FR + # icon: + # match: 'railway:signal:speed_limit_reminder:speed' + # cases: + # - { regex: '^([3-9]0|1[0-3]0)$', value: 'fr/TIV-reminder-{}-sign', example: 'fr/TIV-reminder-110-sign' } + # default: 'fr/TIV-reminder-empty-sign' + # tags: + # - { tag: 'railway:signal:speed_limit_reminder', value: 'FR:TIV-R' } + # - { tag: 'railway:signal:speed_limit_reminder:form', value: 'sign' } + + - description: TIV-D (B) + country: FR + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^(1[5-9]0|200)$', value: 'fr/TIV-type-B-{}', example: 'fr/TIV-type-B-160' } + default: 'fr/TIV-type-B-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'FR:TIV-D_B' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: TIV-D (C) + country: FR + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^(1[5-9]0)$', value: 'fr/TIV-type-C-{}', example: 'fr/TIV-type-C-160' } + default: 'fr/TIV-type-C-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'FR:TIV-D_C' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + # --- FI --- # + + - description: Nopeusmerkki, speed signal + country: FI + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^([2-6]0)$', value: 'fi/t-101-{}', example: 'fi/t-101-40' } + default: 'fi/t-101-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'FI:T-101' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Nopeusmerkin etumerkki, distant signal + country: FI + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^([2-6]0)$', value: 'fi/t-102-{}', example: 'fi/t-102-40' } + default: 'fi/t-102-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'FI:T-102' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Merkitty nopeus päättyy -merkki, end of speed limit + country: FI + icon: { default: 'fi/t-110' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'FI:T-110' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: JKV-nopeus, JKV speed limit + country: FI + icon: { default: 'fi/t-115' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'FI:T-115' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + # --- NL --- # + + - description: L signal + country: NL + icon: { default: 'nl/276' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'NL' } + - { tag: 'railway:signal:speed_limit:form', value: 'light' } + - { tag: 'railway:signal:speed_limit:states', value: 'L;off' } + + - description: H signal + country: NL + icon: { default: 'nl/277' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'NL' } + - { tag: 'railway:signal:speed_limit:form', value: 'light' } + - { tag: 'railway:signal:speed_limit:states', value: 'H;off' } + + - description: X/G signal + country: NL + icon: { default: 'nl/279' } + tags: + - { tag: 'railway:signal:speed_limit', value: 'NL' } + - { tag: 'railway:signal:speed_limit:form', value: 'light' } + - { tag: 'railway:signal:speed_limit:states', value: 'X;G;off' } + + - description: distant speed limit distant (sign) + country: NL + type: line + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^[1-9]0|1[0-4]0|125$', value: 'nl/313-{}', example: 'nl/313-80' } + default: 'nl/313-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'NL:313' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: speed limit (sign) + country: NL + type: line + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^[1-9]0|1[0-46]0|[12]5|125$', value: 'nl/314-{}', example: 'nl/314-70' } + default: 'nl/314-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'NL:314' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: speed limit increase (sign) + country: NL + type: line + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^[3-9]0|1[0-46]0|125$', value: 'nl/316-{}', example: 'nl/316-130' } + default: 'nl/316-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'NL:316' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: distant speed limit (light) + country: NL + type: line + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^[1-9]0|1[0-9]0$', value: 'nl/speed_limit_distant_light-{}', example: 'nl/speed_limit_distant_light-60' } + default: 'nl/speed_limit_distant_light-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'NL' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'light' } + + - description: speed limit (light) + country: NL + type: line + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^[1-9]0|1[0-9]0$', value: 'nl/speed_limit_light-{}', example: 'nl/speed_limit_light-60' } + default: 'nl/speed_limit_light-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'NL' } + - { tag: 'railway:signal:speed_limit:form', value: 'light' } + + - description: tunnel distant speed limit + country: NL + type: line + 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 + 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 + 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 + 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' } + + # --- PL --- # + + - description: D6 Tarcza zwolnić bieg + country: PL + icon: + match: 'railway:signal:speed_limit_distant:speed' + # TODO update signs from https://wiki.openstreetmap.org/wiki/Pl:OpenRailwayMap/Tagging_in_Poland#Tarcza_zwolnić_bieg_D_6 + # TODO handle dwarf signals + cases: + - { regex: '^[1-9]0$', value: 'pl/d6-{}', example: 'pl/d6-70' } + default: 'pl/d6-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'PL-PKP:d6' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: W8 Wskaźnik ograniczenia prędkości + country: PL + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^([1-9]|1[0-9]|20)0$', value: 'pl/w8-{}', example: 'pl/w8-60' } + default: 'pl/w8-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'PL-PKP:w8' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: W9 Wskaźnik odcinka ograniczonej prędkości + country: PL + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^([2-9]|1[0-4])0$', value: 'pl/w9-{}', example: 'pl/w9-60' } + default: 'pl/w9-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'PL-PKP:w9' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: W21 Wskaźniki podwyższenia prędkości + country: PL + type: line + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^([1-9]|1[0-9]|20)0$', value: 'pl/w21-{}', example: 'pl/w21-80' } + default: 'pl/w21-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'PL-PKP:w21' } + - { tag: 'railway:signal:speed_limit:form', value: 'light' } + + - description: W27a Wskaźnik zmiany prędkości + country: PL + type: line + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^([1-9]|1[0-9]|20)0$', value: 'pl/w27a-{}', example: 'pl/w27a-80' } + default: 'pl/w27a-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'PL-PKP:w27a' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: W30 Wskaźnik ważenia składu + country: PL + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^5$', value: 'pl/w30-{}', example: 'pl/w30-5' } + default: 'pl/w30-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'PL-PKP:w30' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + # --- SE --- # + + - description: Hastighetstavla + country: SE + type: line + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^([3-9]0|1[0-5]0|1[01]5)$', value: 'se/hastighetstavla-{}', example: 'se/hastighetstavla-90' } + default: 'se/hastighetstavla-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'SE:hastighetstavla' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Hastighetstavla med pilspets uppåt + country: SE + type: line + icon: + match: 'railway:signal:speed_limit:speed' + cases: + - { regex: '^140$', value: 'se/hastighetstavla-pilspets-uppåt-{}', example: 'se/hastighetstavla-pilspets-uppåt-140' } + default: 'se/hastighetstavla-pilspets-uppåt-empty' + tags: + - { tag: 'railway:signal:speed_limit', value: 'SE:hastighetstavla med pilspets uppåt' } + - { tag: 'railway:signal:speed_limit:form', value: 'sign' } + + - description: Orienteringstavla för lägre hastighet + country: SE + type: line + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^(1[0-4]0|[7-9]0)|105$', value: 'se/orienteringstavla-hastighet-{}', example: 'se/orienteringstavla-hastighet-80' } + default: 'se/orienteringstavla-hastighet-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'SE:lägre_hastighet' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } + + - description: Orienteringstavla med tilläggsskylt ”ATC-överskridande” + country: SE + type: line + icon: + match: 'railway:signal:speed_limit_distant:speed' + cases: + - { regex: '^150$', value: 'se/orienteringstavla-hastighet-atc-överskridande-{}', example: 'se/orienteringstavla-hastighet-atc-överskridande-150' } + default: 'se/orienteringstavla-hastighet-atc-överskridande-empty' + tags: + - { tag: 'railway:signal:speed_limit_distant', value: 'SE:atc_överskridande' } + - { tag: 'railway:signal:speed_limit_distant:form', value: 'sign' } diff --git a/features/stations.yaml b/features/stations.yaml new file mode 100644 index 00000000..941fb0c4 --- /dev/null +++ b/features/stations.yaml @@ -0,0 +1,34 @@ +features: + - description: Station + feature: station + example: + label: Gd + name: Gouda + + - description: Halt + feature: halt + + - description: Tram stop + feature: tram_stop + example: + name: Llacuna + + - description: Service station + feature: service_station + + - description: Railway yard + feature: yard + example: + name: Kijfhoek + + - description: Junction + feature: junction + + - description: Spur junction + feature: spur_junction + + - description: Railway site + feature: site + + - description: Crossover + feature: crossover diff --git a/features/train_protection.yaml b/features/train_protection.yaml index 0302ffc0..4e634042 100644 --- a/features/train_protection.yaml +++ b/features/train_protection.yaml @@ -1,335 +1,334 @@ # TODO handle construction:*, proposed:* -signals_railway_line: - train_protections: - - { train_protection: 'etcs', legend: 'European Train Control System (ETCS)', color: 'blue' } - - { train_protection: 'construction_etcs', legend: 'European Train Control System (under construction)', color: '#87CEFA' } - - { train_protection: 'ctcs', legend: 'Chinese Train Control System (CTCS)', color: 'hsl(190, 100%, 40%)' } - - { train_protection: 'zsi127', legend: 'ZSI 127', color: '#884400' } - - { train_protection: 'ptc', legend: 'Positive train control (PTC)', color: '#cc0033' } - - { train_protection: 'tvm', legend: 'Transmission Voie-Machine (TVM)', color: '#009966' } - - { train_protection: 'kvb', legend: 'Contrôle de vitesse par balises (KVB)', color: '#66cc33' } - - { train_protection: 'asfa', legend: 'Anuncio de Señales y Frenado Automático (ASFA)', color: '#ff9092' } - - { train_protection: 'scmt', legend: 'Sistema Controllo Marcia Treno (SCMT)', color: '#dd11ff' } - - { train_protection: 'atc', legend: 'Automatic train control (ATC)', color: '#6600cc' } - - { train_protection: 'atb', legend: 'Automatische treinbeïnvloeding (ATB)', color: '#ff8c00' } - - { train_protection: 'lzb', legend: 'Linienzugbeeinflussung (LZB)', color: 'red' } - - { train_protection: 'pzb', legend: 'Punktförmige Zugbeeinflussung (PZB)', color: '#ffb900' } - - { train_protection: 'acses', legend: 'Advanced Civil Speed Enforcement System (ACSES)', color: 'pink' } - - { train_protection: 'als', legend: 'Автоматическая локомотивная сигнализация (ALS)', color: 'hsl(284, 100%, 40%)' } - - { train_protection: 'atp', legend: 'Automatic Train Protection (ATP)', color: 'hsl(305, 100%, 40%)' } - - { train_protection: 'aws', legend: 'Automatic Warning System (AWS)', color: 'hsl(50, 100%, 40%)' } - - { train_protection: 'caws', legend: 'Continuous Automatic Warning System (CAWS)', color: 'hsl(60, 100%, 40%)' } - - { train_protection: 'cbtc', legend: 'Communications Based Train Control (CBTC)', color: 'hsl(336, 100%, 40%)' } - - { train_protection: 'ebicab', legend: 'EBICAB', color: 'pink' } # portugal & bulgaria - - { train_protection: 'etms', legend: 'Electronic Train Management System (ETMS)', color: 'hsl(48, 100%, 40%)' } - - { train_protection: 'evm', legend: 'Elektronikus Vonatmegállító (EVM)', color: 'hsl(137, 100%, 40%)' } - - { train_protection: 'itcs', legend: 'Incremental Train Control System (ITCS)', color: 'hsl(35, 100%, 40%)' } - - { train_protection: 'ls', legend: 'Liniový Systém (LS)', color: 'hsl(319, 100%, 40%)' } - - { train_protection: 'octys', legend: 'Open Control of Trains, Interchangeable & Integrated System (OCTYS)', color: 'hsl(360, 100%, 40%)' } - - { train_protection: 'ouragan', legend: 'Offre Urbaine Renouvelée et Améliorée, Gérée par un Automatisme Nouveau (OURAGAN)', color: 'hsl(48, 100%, 40%)' } - - { train_protection: 'sacem', legend: 'Système d''Aide à la Conduite, à l''Exploitation et à la Maintenance (SACEM)', color: 'hsl(190, 100%, 40%)' } - - { train_protection: 'saet', legend: 'Système d''Automatisation de l''Exploitation des Trains (SAET)', color: 'hsl(305, 100%, 40%)' } - - { train_protection: 'shp', legend: 'Samoczynne Hamowanie Pociągu (SHP)', color: 'hsl(35, 100%, 40%)' } - - { train_protection: 'ssc', legend: 'Sistema di Supporto alla Condotta (SSC)', color: 'hsl(155, 100%, 40%)' } - - { train_protection: 'tasc', legend: '定位置停止装置 (TASC)', color: 'hsl(155, 100%, 40%)' } - - { train_protection: 'tbl', legend: 'Transmissie Baken-Lokomotief (TBL)', color: 'hsl(305, 100%, 40%)' } - - { train_protection: 'tpws', legend: 'Train Protection & Warning System (TPWS)', color: 'pink' } - - { train_protection: 'zbs', legend: 'Zugbeeinflussung S-Bahn Berlin (ZBS)', color: 'hsl(155, 100%, 40%)' } - - { train_protection: 'zsl90', legend: 'Zugsicherung mit Linienleiter 1990 (ZSL 90)', color: 'pink' } - - { train_protection: 'zub', legend: 'Zugbeeinflussung (ZUB)', color: 'hsl(118, 100%, 30%)' } - - { train_protection: 'satp', legend: 'Автоматическая блокировка (SATP)', color: 'hsl(187, 100%, 40%)' } - - { train_protection: 'other', legend: '(other)', color: 'black' } - - features: - - train_protection: ptc - tags: - - { tag: 'railway:ptc', value: 'yes' } - - - train_protection: etcs - tags: - - { tag: 'railway:etcs', value: 'yes' } - - - train_protection: etcs - tags: - - { tag: 'railway:etcs', value: '1' } - - - train_protection: etcs - tags: - - { tag: 'railway:etcs', value: '2' } - - - train_protection: etcs - tags: - - { tag: 'railway:etcs', value: '1;2' } - - - train_protection: etcs - tags: - - { tag: 'railway:etcs', value: '3' } - - - train_protection: construction_etcs - tags: - - { tag: 'construction:railway:etcs', value: 'yes' } - - - train_protection: construction_etcs - tags: - - { tag: 'construction:railway:etcs', value: '1' } - - - train_protection: construction_etcs - tags: - - { tag: 'construction:railway:etcs', value: '2' } - - - train_protection: construction_etcs - tags: - - { tag: 'construction:railway:etcs', value: '3' } - - - train_protection: asfa - tags: - - { tag: 'railway:asfa', value: 'yes' } - - - train_protection: asfa - tags: - - { tag: 'railway:asfa_fac', value: 'yes' } - - - train_protection: asfa - tags: - - { tag: 'railway:asfa_200', value: 'yes' } - - - train_protection: scmt - tags: - - { tag: 'railway:scmt', value: 'yes' } - - - train_protection: tvm - tags: - - { tag: 'railway:tvm', values: ['300', '430'] } - - - train_protection: kvb - tags: - - { tag: 'railway:kvb', value: 'yes' } - - - train_protection: atc - tags: - - { tag: 'railway:atc', value: 'yes' } - - - train_protection: atb - tags: - - { tag: 'railway:atb', value: 'yes' } - - - train_protection: atb - tags: - - { tag: 'railway:atb-eg', value: 'yes' } - - - train_protection: atb - tags: - - { tag: 'railway:atb-ng', value: 'yes' } - - - train_protection: atb - tags: - - { tag: 'railway:atb-vv', value: 'yes' } - - - train_protection: zsi127 - tags: - - { tag: 'railway:zsi127', value: 'yes' } - - - train_protection: lzb - tags: - - { tag: 'railway:lzb', value: 'yes' } - - - train_protection: pzb - tags: - - { tag: 'railway:pzb', value: 'yes' } +train_protections: + - { train_protection: 'etcs', legend: 'European Train Control System (ETCS)', color: 'blue' } + - { train_protection: 'construction_etcs', legend: 'European Train Control System (under construction)', color: '#87CEFA' } + - { train_protection: 'ctcs', legend: 'Chinese Train Control System (CTCS)', color: 'hsl(190, 100%, 40%)' } + - { train_protection: 'zsi127', legend: 'ZSI 127', color: '#884400' } + - { train_protection: 'ptc', legend: 'Positive train control (PTC)', color: '#cc0033' } + - { train_protection: 'tvm', legend: 'Transmission Voie-Machine (TVM)', color: '#009966' } + - { train_protection: 'kvb', legend: 'Contrôle de vitesse par balises (KVB)', color: '#66cc33' } + - { train_protection: 'asfa', legend: 'Anuncio de Señales y Frenado Automático (ASFA)', color: '#ff9092' } + - { train_protection: 'scmt', legend: 'Sistema Controllo Marcia Treno (SCMT)', color: '#dd11ff' } + - { train_protection: 'atc', legend: 'Automatic train control (ATC)', color: '#6600cc' } + - { train_protection: 'atb', legend: 'Automatische treinbeïnvloeding (ATB)', color: '#ff8c00' } + - { train_protection: 'lzb', legend: 'Linienzugbeeinflussung (LZB)', color: 'red' } + - { train_protection: 'pzb', legend: 'Punktförmige Zugbeeinflussung (PZB)', color: '#ffb900' } + - { train_protection: 'acses', legend: 'Advanced Civil Speed Enforcement System (ACSES)', color: 'pink' } + - { train_protection: 'als', legend: 'Автоматическая локомотивная сигнализация (ALS)', color: 'hsl(284, 100%, 40%)' } + - { train_protection: 'atp', legend: 'Automatic Train Protection (ATP)', color: 'hsl(305, 100%, 40%)' } + - { train_protection: 'aws', legend: 'Automatic Warning System (AWS)', color: 'hsl(50, 100%, 40%)' } + - { train_protection: 'caws', legend: 'Continuous Automatic Warning System (CAWS)', color: 'hsl(60, 100%, 40%)' } + - { train_protection: 'cbtc', legend: 'Communications Based Train Control (CBTC)', color: 'hsl(336, 100%, 40%)' } + - { train_protection: 'ebicab', legend: 'EBICAB', color: 'pink' } # portugal & bulgaria + - { train_protection: 'etms', legend: 'Electronic Train Management System (ETMS)', color: 'hsl(48, 100%, 40%)' } + - { train_protection: 'evm', legend: 'Elektronikus Vonatmegállító (EVM)', color: 'hsl(137, 100%, 40%)' } + - { train_protection: 'itcs', legend: 'Incremental Train Control System (ITCS)', color: 'hsl(35, 100%, 40%)' } + - { train_protection: 'ls', legend: 'Liniový Systém (LS)', color: 'hsl(319, 100%, 40%)' } + - { train_protection: 'octys', legend: 'Open Control of Trains, Interchangeable & Integrated System (OCTYS)', color: 'hsl(360, 100%, 40%)' } + - { train_protection: 'ouragan', legend: 'Offre Urbaine Renouvelée et Améliorée, Gérée par un Automatisme Nouveau (OURAGAN)', color: 'hsl(48, 100%, 40%)' } + - { train_protection: 'sacem', legend: 'Système d''Aide à la Conduite, à l''Exploitation et à la Maintenance (SACEM)', color: 'hsl(190, 100%, 40%)' } + - { train_protection: 'saet', legend: 'Système d''Automatisation de l''Exploitation des Trains (SAET)', color: 'hsl(305, 100%, 40%)' } + - { train_protection: 'shp', legend: 'Samoczynne Hamowanie Pociągu (SHP)', color: 'hsl(35, 100%, 40%)' } + - { train_protection: 'ssc', legend: 'Sistema di Supporto alla Condotta (SSC)', color: 'hsl(155, 100%, 40%)' } + - { train_protection: 'tasc', legend: '定位置停止装置 (TASC)', color: 'hsl(155, 100%, 40%)' } + - { train_protection: 'tbl', legend: 'Transmissie Baken-Lokomotief (TBL)', color: 'hsl(305, 100%, 40%)' } + - { train_protection: 'tpws', legend: 'Train Protection & Warning System (TPWS)', color: 'pink' } + - { train_protection: 'zbs', legend: 'Zugbeeinflussung S-Bahn Berlin (ZBS)', color: 'hsl(155, 100%, 40%)' } + - { train_protection: 'zsl90', legend: 'Zugsicherung mit Linienleiter 1990 (ZSL 90)', color: 'pink' } + - { train_protection: 'zub', legend: 'Zugbeeinflussung (ZUB)', color: 'hsl(118, 100%, 30%)' } + - { train_protection: 'satp', legend: 'Автоматическая блокировка (SATP)', color: 'hsl(187, 100%, 40%)' } + - { train_protection: 'other', legend: '(other)', color: 'black' } + +features: + - train_protection: ptc + tags: + - { tag: 'railway:ptc', value: 'yes' } + + - train_protection: etcs + tags: + - { tag: 'railway:etcs', value: 'yes' } + + - train_protection: etcs + tags: + - { tag: 'railway:etcs', value: '1' } + + - train_protection: etcs + tags: + - { tag: 'railway:etcs', value: '2' } + + - train_protection: etcs + tags: + - { tag: 'railway:etcs', value: '1;2' } + + - train_protection: etcs + tags: + - { tag: 'railway:etcs', value: '3' } + + - train_protection: construction_etcs + tags: + - { tag: 'construction:railway:etcs', value: 'yes' } + + - train_protection: construction_etcs + tags: + - { tag: 'construction:railway:etcs', value: '1' } + + - train_protection: construction_etcs + tags: + - { tag: 'construction:railway:etcs', value: '2' } + + - train_protection: construction_etcs + tags: + - { tag: 'construction:railway:etcs', value: '3' } + + - train_protection: asfa + tags: + - { tag: 'railway:asfa', value: 'yes' } + + - train_protection: asfa + tags: + - { tag: 'railway:asfa_fac', value: 'yes' } + + - train_protection: asfa + tags: + - { tag: 'railway:asfa_200', value: 'yes' } + + - train_protection: scmt + tags: + - { tag: 'railway:scmt', value: 'yes' } + + - train_protection: tvm + tags: + - { tag: 'railway:tvm', values: ['300', '430'] } + + - train_protection: kvb + tags: + - { tag: 'railway:kvb', value: 'yes' } + + - train_protection: atc + tags: + - { tag: 'railway:atc', value: 'yes' } + + - train_protection: atb + tags: + - { tag: 'railway:atb', value: 'yes' } + + - train_protection: atb + tags: + - { tag: 'railway:atb-eg', value: 'yes' } + + - train_protection: atb + tags: + - { tag: 'railway:atb-ng', value: 'yes' } + + - train_protection: atb + tags: + - { tag: 'railway:atb-vv', value: 'yes' } + + - train_protection: zsi127 + tags: + - { tag: 'railway:zsi127', value: 'yes' } + + - train_protection: lzb + tags: + - { tag: 'railway:lzb', value: 'yes' } + + - train_protection: pzb + tags: + - { tag: 'railway:pzb', value: 'yes' } - - train_protection: acses - tags: - - { tag: 'railway:acses', value: 'yes' } + - train_protection: acses + tags: + - { tag: 'railway:acses', value: 'yes' } - - train_protection: als - tags: - - { tag: 'railway:als', value: 'yes' } + - train_protection: als + tags: + - { tag: 'railway:als', value: 'yes' } - - train_protection: als - tags: - - { tag: 'railway:alsn', value: 'yes' } + - train_protection: als + tags: + - { tag: 'railway:alsn', value: 'yes' } - - train_protection: als - tags: - - { tag: 'railway:alst', value: 'yes' } + - train_protection: als + tags: + - { tag: 'railway:alst', value: 'yes' } - - train_protection: als - tags: - - { tag: 'railway:also', value: 'yes' } + - train_protection: als + tags: + - { tag: 'railway:also', value: 'yes' } - - train_protection: als - tags: - - { tag: 'railway:als-en', value: 'yes' } + - train_protection: als + tags: + - { tag: 'railway:als-en', value: 'yes' } - - train_protection: als - tags: - - { tag: 'railway:alsr', value: 'yes' } + - train_protection: als + tags: + - { tag: 'railway:alsr', value: 'yes' } - - train_protection: als - tags: - - { tag: 'railway:als-ars', value: 'yes' } + - train_protection: als + tags: + - { tag: 'railway:als-ars', value: 'yes' } - - train_protection: als - tags: - - { tag: 'railway:integra_signum:ALS', value: 'yes' } + - train_protection: als + tags: + - { tag: 'railway:integra_signum:ALS', value: 'yes' } - - train_protection: als - tags: - - { tag: 'railway:integra_signum:ALSO', value: 'yes' } + - train_protection: als + tags: + - { tag: 'railway:integra_signum:ALSO', value: 'yes' } - - train_protection: atp - tags: - - { tag: 'railway:atp', value: 'yes' } + - train_protection: atp + tags: + - { tag: 'railway:atp', value: 'yes' } - - train_protection: aws - tags: - - { tag: 'railway:aws', value: 'yes' } + - train_protection: aws + tags: + - { tag: 'railway:aws', value: 'yes' } - - train_protection: caws - tags: - - { tag: 'railway:caws', value: 'yes' } + - train_protection: caws + tags: + - { tag: 'railway:caws', value: 'yes' } - - train_protection: cbtc - tags: - - { tag: 'railway:cbtc', values: ['yes', 'uto', 'sto', 'dto'] } + - train_protection: cbtc + tags: + - { tag: 'railway:cbtc', values: ['yes', 'uto', 'sto', 'dto'] } - - train_protection: ctcs - tags: - - { tag: 'railway:ctcs', values: ['yes', '0', '1', '2', '3D', '4'] } + - train_protection: ctcs + tags: + - { tag: 'railway:ctcs', values: ['yes', '0', '1', '2', '3D', '4'] } - - train_protection: ebicab - tags: - - { tag: 'railway:ebicab', values: ['yes', '700', '900'] } + - train_protection: ebicab + tags: + - { tag: 'railway:ebicab', values: ['yes', '700', '900'] } - - train_protection: etms - tags: - - { tag: 'railway:etms', value: 'yes' } + - train_protection: etms + tags: + - { tag: 'railway:etms', value: 'yes' } - - train_protection: evm - tags: - - { tag: 'railway:evm', value: 'yes' } + - train_protection: evm + tags: + - { tag: 'railway:evm', value: 'yes' } - - train_protection: itcs - tags: - - { tag: 'railway:itcs', value: 'yes' } - - - train_protection: ls - tags: - - { tag: 'railway:ls', value: 'yes' } - - - train_protection: octys - tags: - - { tag: 'railway:octys', value: 'yes' } - - - train_protection: ouragan - tags: - - { tag: 'railway:ouragan', value: 'yes' } - - - train_protection: sacem - tags: - - { tag: 'railway:sacem', value: 'yes' } - - - train_protection: saet - tags: - - { tag: 'railway:saet', value: 'yes' } - - - train_protection: shp - tags: - - { tag: 'railway:shp', value: 'yes' } - - - train_protection: ssc - tags: - - { tag: 'railway:ssc', value: 'yes' } - - - train_protection: tasc - tags: - - { tag: 'railway:tasc', value: 'yes' } - - - train_protection: tbl - tags: - - { tag: 'railway:tbl', values: ['yes', '1', '1+', '2'] } - - - train_protection: tpws - tags: - - { tag: 'railway:tpws', value: 'yes' } - - - train_protection: zbs - tags: - - { tag: 'railway:zbs', value: 'yes' } - - - train_protection: zsl90 - tags: - - { tag: 'railway:zsl90', value: 'yes' } - - - train_protection: zub - tags: - - { tag: 'railway:zub', value: 'yes' } - - - train_protection: zub - tags: - - { tag: 'railway:zub121', value: 'yes' } - - - train_protection: zub - tags: - - { tag: 'railway:zub122', value: 'yes' } - - - train_protection: zub - tags: - - { tag: 'railway:zub123', value: 'yes' } - - - train_protection: zub - tags: - - { tag: 'railway:zub222c', value: 'yes' } - - - train_protection: satp - tags: - - { tag: 'railway:satp', value: 'yes' } - - - train_protection: satp - tags: - - { tag: 'railway:atp3b', value: 'yes' } - - - train_protection: satp - tags: - - { tag: 'railway:atp4b', value: 'yes' } - - - train_protection: other - tags: - - { tag: 'railway:pzb', value: 'no' } - - { tag: 'railway:lzb', value: 'no' } - - { tag: 'railway:etcs', value: 'no' } - - - train_protection: other - tags: - - { tag: 'railway:atb', value: 'no' } - - { tag: 'railway:etcs', value: 'no' } - - - train_protection: other - tags: - - { tag: 'railway:atc', value: 'no' } - - { tag: 'railway:etcs', value: 'no' } - - - train_protection: other - tags: - - { tag: 'railway:scmt', value: 'no' } - - { tag: 'railway:etcs', value: 'no' } - - - train_protection: other - tags: - - { tag: 'railway:asfa', value: 'no' } - - { tag: 'railway:etcs', value: 'no' } - - - train_protection: other - tags: - - { tag: 'railway:kvb', value: 'no' } - - { tag: 'railway:tvm', value: 'no' } - - { tag: 'railway:etcs', value: 'no' } - - - train_protection: other - tags: - - { tag: 'railway:ls', value: 'no' } - - { tag: 'railway:etcs', value: 'no' } - - - train_protection: other - tags: - - { tag: 'railway:zsi127', value: 'no' } + - train_protection: itcs + tags: + - { tag: 'railway:itcs', value: 'yes' } + + - train_protection: ls + tags: + - { tag: 'railway:ls', value: 'yes' } + + - train_protection: octys + tags: + - { tag: 'railway:octys', value: 'yes' } + + - train_protection: ouragan + tags: + - { tag: 'railway:ouragan', value: 'yes' } + + - train_protection: sacem + tags: + - { tag: 'railway:sacem', value: 'yes' } + + - train_protection: saet + tags: + - { tag: 'railway:saet', value: 'yes' } + + - train_protection: shp + tags: + - { tag: 'railway:shp', value: 'yes' } + + - train_protection: ssc + tags: + - { tag: 'railway:ssc', value: 'yes' } + + - train_protection: tasc + tags: + - { tag: 'railway:tasc', value: 'yes' } + + - train_protection: tbl + tags: + - { tag: 'railway:tbl', values: ['yes', '1', '1+', '2'] } + + - train_protection: tpws + tags: + - { tag: 'railway:tpws', value: 'yes' } + + - train_protection: zbs + tags: + - { tag: 'railway:zbs', value: 'yes' } + + - train_protection: zsl90 + tags: + - { tag: 'railway:zsl90', value: 'yes' } + + - train_protection: zub + tags: + - { tag: 'railway:zub', value: 'yes' } + + - train_protection: zub + tags: + - { tag: 'railway:zub121', value: 'yes' } + + - train_protection: zub + tags: + - { tag: 'railway:zub122', value: 'yes' } + + - train_protection: zub + tags: + - { tag: 'railway:zub123', value: 'yes' } + + - train_protection: zub + tags: + - { tag: 'railway:zub222c', value: 'yes' } + + - train_protection: satp + tags: + - { tag: 'railway:satp', value: 'yes' } + + - train_protection: satp + tags: + - { tag: 'railway:atp3b', value: 'yes' } + + - train_protection: satp + tags: + - { tag: 'railway:atp4b', value: 'yes' } + + - train_protection: other + tags: + - { tag: 'railway:pzb', value: 'no' } + - { tag: 'railway:lzb', value: 'no' } + - { tag: 'railway:etcs', value: 'no' } + + - train_protection: other + tags: + - { tag: 'railway:atb', value: 'no' } + - { tag: 'railway:etcs', value: 'no' } + + - train_protection: other + tags: + - { tag: 'railway:atc', value: 'no' } + - { tag: 'railway:etcs', value: 'no' } + + - train_protection: other + tags: + - { tag: 'railway:scmt', value: 'no' } + - { tag: 'railway:etcs', value: 'no' } + + - train_protection: other + tags: + - { tag: 'railway:asfa', value: 'no' } + - { tag: 'railway:etcs', value: 'no' } + + - train_protection: other + tags: + - { tag: 'railway:kvb', value: 'no' } + - { tag: 'railway:tvm', value: 'no' } + - { tag: 'railway:etcs', value: 'no' } + + - train_protection: other + tags: + - { tag: 'railway:ls', value: 'no' } + - { tag: 'railway:etcs', value: 'no' } + + - train_protection: other + tags: + - { tag: 'railway:zsi127', value: 'no' } diff --git a/import/openrailwaymap.lua b/import/openrailwaymap.lua index 6043b48e..a849c689 100644 --- a/import/openrailwaymap.lua +++ b/import/openrailwaymap.lua @@ -529,7 +529,7 @@ function osm2pgsql.process_node(object) end end -local railway_values = osm2pgsql.make_check_values_func({'rail', 'tram', 'light_rail', 'subway', 'narrow_gauge', 'construction', 'preserved', 'monorail', 'miniature'}) +local railway_values = osm2pgsql.make_check_values_func({'rail', 'tram', 'light_rail', 'subway', 'narrow_gauge', 'disused', 'abandoned', 'razed', 'construction', 'proposed', 'preserved', 'monorail', 'miniature'}) local railway_turntable_values = osm2pgsql.make_check_values_func({'turntable', 'traverser'}) function osm2pgsql.process_way(object) local tags = object.tags diff --git a/import/sql/get_station_importance.sql b/import/sql/get_station_importance.sql index 9128b208..6047dcdb 100644 --- a/import/sql/get_station_importance.sql +++ b/import/sql/get_station_importance.sql @@ -60,24 +60,39 @@ CREATE OR REPLACE VIEW station_nodes_platforms_rel_count AS -- needs about 3 to 4 minutes for whole Germany -- or about 20 to 30 minutes for the whole planet CREATE MATERIALIZED VIEW IF NOT EXISTS stations_with_route_counts AS - SELECT DISTINCT ON (osm_id, name, station, railway_ref, railway) id, osm_id, name, station, railway_ref, railway, route_count, name_tags, way + SELECT + MIN(id) as id, + MIN(osm_id) as osm_id, + name, + station, + railway_ref, + railway, + MAX(route_count) as route_count, + hstore(string_agg(nullif(name_tags::text, ''), ',')) as name_tags, + ST_RemoveRepeatedPoints(ST_Collect(way)) as way + FROM ( + SELECT + *, + ST_ClusterDBSCAN(way, 400, 1) OVER (PARTITION BY name, station, railway_ref, railway) AS cluster_id FROM ( - SELECT id, osm_id, name, station, railway_ref, railway, ARRAY_LENGTH(ARRAY_AGG(DISTINCT route_id), 1) AS route_count, name_tags, way - FROM ( - SELECT id, osm_id, name, station, railway_ref, railway, UNNEST(route_ids) AS route_id, name_tags, way - FROM station_nodes_stop_positions_rel_count - UNION ALL - SELECT id, osm_id, name, station, railway_ref, railway, UNNEST(route_ids) AS route_id, name_tags, way - FROM station_nodes_platforms_rel_count - ) AS a - GROUP BY id, osm_id, name, station, railway_ref, railway, way, name_tags + SELECT MIN(id) as id, MIN(osm_id) as osm_id, name, station, railway_ref, railway, ARRAY_LENGTH(ARRAY_AGG(DISTINCT route_id), 1) AS route_count, name_tags, way + FROM ( + SELECT id, osm_id, name, station, railway_ref, railway, UNNEST(route_ids) AS route_id, name_tags, way + FROM station_nodes_stop_positions_rel_count + UNION ALL + SELECT id, osm_id, name, station, railway_ref, railway, UNNEST(route_ids) AS route_id, name_tags, way + FROM station_nodes_platforms_rel_count + ) AS a + GROUP BY name, station, railway_ref, railway, way, name_tags UNION ALL SELECT id, osm_id, name, station, railway_ref, railway, 0 AS route_count, name_tags, way - FROM stations - WHERE railway IN ('station', 'halt', 'tram_stop', 'service_station', 'yard', 'junction', 'spur_junction', 'crossover', 'site') - ) AS facilities - -- ORDER BY is required to ensure that the larger route_count is used. - ORDER BY osm_id, name, station, railway_ref, railway, route_count DESC; + FROM stations + WHERE railway IN ('station', 'halt', 'tram_stop', 'service_station', 'yard', 'junction', 'spur_junction', 'crossover', 'site') + ) AS grouped_facilities + ) AS facilities + GROUP BY name, station, railway_ref, railway, cluster_id + -- ORDER BY is required to ensure that the larger route_count is used. + ORDER BY name, station, railway_ref, railway, route_count DESC; CREATE INDEX IF NOT EXISTS stations_with_route_counts_geom_index ON stations_with_route_counts diff --git a/import/sql/signals_with_azimuth.sql.js b/import/sql/signals_with_azimuth.sql.js index cc2ffcbe..0df1ec97 100644 --- a/import/sql/signals_with_azimuth.sql.js +++ b/import/sql/signals_with_azimuth.sql.js @@ -1,9 +1,9 @@ import fs from 'fs' import yaml from 'yaml' -const speed_railway_signals = yaml.parse(fs.readFileSync('speed_railway_signals.yaml', 'utf8')).speed_railway_signals -const signals_railway_signals = yaml.parse(fs.readFileSync('signals_railway_signals.yaml', 'utf8')).signals_railway_signals -const electrification_signals = yaml.parse(fs.readFileSync('electrification_signals.yaml', 'utf8')).electrification_signals +const speed_railway_signals = yaml.parse(fs.readFileSync('speed_railway_signals.yaml', 'utf8')) +const signals_railway_signals = yaml.parse(fs.readFileSync('signals_railway_signals.yaml', 'utf8')) +const electrification_signals = yaml.parse(fs.readFileSync('electrification_signals.yaml', 'utf8')) /** * Template that builds the SQL view taking the YAML configuration into account diff --git a/import/sql/tile_views.sql b/import/sql/tile_views.sql index e2d33ddf..ba3847a2 100644 --- a/import/sql/tile_views.sql +++ b/import/sql/tile_views.sql @@ -139,7 +139,7 @@ CREATE OR REPLACE VIEW standard_railway_text_stations_low AS SELECT id, osm_id, - way, + ST_Centroid(way) as way, railway_ref as label FROM stations_with_route_counts WHERE @@ -153,7 +153,7 @@ CREATE OR REPLACE VIEW standard_railway_text_stations_med AS SELECT id, osm_id, - way, + ST_Centroid(way) as way, railway_ref as label FROM stations_with_route_counts WHERE @@ -185,23 +185,47 @@ CREATE OR REPLACE VIEW standard_railway_text_stations AS WHEN railway = 'site' THEN 600 WHEN railway = 'crossover' THEN 700 ELSE 50 - END AS rank - FROM - (SELECT - id, - osm_id, - way, - railway, - route_count, - station, - railway_ref, - name - FROM stations_with_route_counts - WHERE railway IN ('station', 'halt', 'service_station', 'yard', 'junction', 'spur_junction', 'crossover', 'site') - AND name IS NOT NULL - ) AS r + END AS rank, + count + FROM ( + SELECT + id, + osm_id, + ST_Centroid(way) as way, + railway, + route_count, + station, + railway_ref, + name, + ST_NumGeometries(way) as count + FROM stations_with_route_counts + WHERE railway IN ('station', 'halt', 'service_station', 'yard', 'junction', 'spur_junction', 'crossover', 'site', 'tram_stop') + AND name IS NOT NULL + ) AS r ORDER by rank DESC NULLS LAST, route_count DESC NULLS LAST; +CREATE OR REPLACE VIEW standard_railway_grouped_stations AS + SELECT + id, + osm_id, + way, + railway, + station, + railway_ref as label, + name + FROM ( + SELECT + id, + osm_id, + ST_Buffer(ST_ConvexHull(way), 50) as way, + railway, + station, + railway_ref, + name + FROM stations_with_route_counts + WHERE railway IN ('station', 'halt', 'service_station', 'yard', 'junction', 'spur_junction', 'crossover', 'site', 'tram_stop') + ) AS r; + CREATE OR REPLACE VIEW standard_railway_symbols AS SELECT id, diff --git a/import/tags.lua.js b/import/tags.lua.js index 1598b72e..42b7fce2 100644 --- a/import/tags.lua.js +++ b/import/tags.lua.js @@ -1,10 +1,10 @@ import fs from 'fs' import yaml from 'yaml' -const signals_railway_line = yaml.parse(fs.readFileSync('train_protection.yaml', 'utf8')).signals_railway_line -const speed_railway_signals = yaml.parse(fs.readFileSync('speed_railway_signals.yaml', 'utf8')).speed_railway_signals -const signals_railway_signals = yaml.parse(fs.readFileSync('signals_railway_signals.yaml', 'utf8')).signals_railway_signals -const electrification_signals = yaml.parse(fs.readFileSync('electrification_signals.yaml', 'utf8')).electrification_signals +const signals_railway_line = yaml.parse(fs.readFileSync('train_protection.yaml', 'utf8')) +const speed_railway_signals = yaml.parse(fs.readFileSync('speed_railway_signals.yaml', 'utf8')) +const signals_railway_signals = yaml.parse(fs.readFileSync('signals_railway_signals.yaml', 'utf8')) +const electrification_signals = yaml.parse(fs.readFileSync('electrification_signals.yaml', 'utf8')) /** * Template that builds Lua functions used in the Osm2Psql Lua import, and taking the YAML configuration into account diff --git a/martin/configuration.yml b/martin/configuration.yml index 2dd1e8e5..eee78fd3 100644 --- a/martin/configuration.yml +++ b/martin/configuration.yml @@ -201,6 +201,21 @@ postgres: station: string label: string name: string + count: integer + + standard_railway_grouped_stations: + schema: public + table: standard_railway_grouped_stations + srid: 3857 + geometry_column: way + geometry_type: POLYGON + properties: + id: integer + osm_id: integer + railway: string + station: string + label: string + name: string standard_railway_symbols: schema: public diff --git a/proxy.Dockerfile b/proxy.Dockerfile index 1561ff57..63805ad7 100644 --- a/proxy.Dockerfile +++ b/proxy.Dockerfile @@ -1,21 +1,25 @@ -FROM node:22-alpine as build-styles - -ARG PUBLIC_PROTOCOL -ARG PUBLIC_HOST +FROM node:22-alpine as build-yaml WORKDIR /build RUN npm install yaml +FROM build-yaml as build-styles + +ARG PUBLIC_PROTOCOL +ARG PUBLIC_HOST + RUN --mount=type=bind,source=proxy/js/styles.mjs,target=styles.mjs \ - --mount=type=bind,source=features/train_protection.yaml,target=train_protection.yaml \ - --mount=type=bind,source=features/speed_railway_signals.yaml,target=speed_railway_signals.yaml \ - --mount=type=bind,source=features/electrification_signals.yaml,target=electrification_signals.yaml \ - --mount=type=bind,source=features/signals_railway_signals.yaml,target=signals_railway_signals.yaml \ - --mount=type=bind,source=features/loading_gauge.yaml,target=loading_gauge.yaml \ - --mount=type=bind,source=features/track_class.yaml,target=track_class.yaml \ + --mount=type=bind,source=features,target=features \ node /build/styles.mjs +FROM build-yaml as build-features + +RUN --mount=type=bind,source=proxy/js/features.mjs,target=features.mjs \ + --mount=type=bind,source=features,target=features \ + node /build/features.mjs \ + > /build/features.json + FROM nginx:1-alpine COPY proxy/proxy.conf.template /etc/nginx/templates/proxy.conf.template @@ -29,3 +33,6 @@ COPY data/import /etc/nginx/public/import COPY --from=build-styles \ /build /etc/nginx/public/style + +COPY --from=build-features \ + /build/features.json /etc/nginx/public/features.json diff --git a/proxy/css/ui.css b/proxy/css/ui.css index 4be598a8..f7382ef8 100644 --- a/proxy/css/ui.css +++ b/proxy/css/ui.css @@ -37,7 +37,7 @@ body { height: 400px; width: 300px; - background: #fff; + background-color: rgba(var(--bs-body-bg-rgb), .9); border-radius: 4px; box-shadow: 0 0 0 2px rgba(0, 0, 0, .1); overflow-y: auto; @@ -47,40 +47,96 @@ body { height: 1400px; } -.maplibregl-ctrl-edit .maplibregl-ctrl-icon { - background-size: 24px; - background-image: url("data:image/svg+xml,%3Csvg width='800px' height='800px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.1213 2.70705C19.9497 1.53548 18.0503 1.53547 16.8787 2.70705L15.1989 4.38685L7.29289 12.2928C7.16473 12.421 7.07382 12.5816 7.02986 12.7574L6.02986 16.7574C5.94466 17.0982 6.04451 17.4587 6.29289 17.707C6.54127 17.9554 6.90176 18.0553 7.24254 17.9701L11.2425 16.9701C11.4184 16.9261 11.5789 16.8352 11.7071 16.707L19.5556 8.85857L21.2929 7.12126C22.4645 5.94969 22.4645 4.05019 21.2929 2.87862L21.1213 2.70705ZM18.2929 4.12126C18.6834 3.73074 19.3166 3.73074 19.7071 4.12126L19.8787 4.29283C20.2692 4.68336 20.2692 5.31653 19.8787 5.70705L18.8622 6.72357L17.3068 5.10738L18.2929 4.12126ZM15.8923 6.52185L17.4477 8.13804L10.4888 15.097L8.37437 15.6256L8.90296 13.5112L15.8923 6.52185ZM4 7.99994C4 7.44766 4.44772 6.99994 5 6.99994H10C10.5523 6.99994 11 6.55223 11 5.99994C11 5.44766 10.5523 4.99994 10 4.99994H5C3.34315 4.99994 2 6.34309 2 7.99994V18.9999C2 20.6568 3.34315 21.9999 5 21.9999H16C17.6569 21.9999 19 20.6568 19 18.9999V13.9999C19 13.4477 18.5523 12.9999 18 12.9999C17.4477 12.9999 17 13.4477 17 13.9999V18.9999C17 19.5522 16.5523 19.9999 16 19.9999H5C4.44772 19.9999 4 19.5522 4 18.9999V7.99994Z' fill='%23000000'/%3E%3C/svg%3E"); +/** Patch Maplibre GL to respect the page theme */ +#map-container .maplibregl-ctrl-group, +.maplibregl-ctrl-attrib.maplibregl-compact, +.maplibregl-ctrl-attrib a, +.maplibregl-ctrl-scale { + background: var(--bs-body-bg); + color: var(--bs-body-color); +} +.maplibregl-ctrl-scale { + background: rgba(var(--bs-body-bg-rgb), 0.8); + color: var(--bs-body-color); +} +[data-bs-theme="dark"] .maplibregl-ctrl-scale { + border-top-color: var(--bs-border-color); + border-right-color: var(--bs-light); + border-left-color: var(--bs-light); + border-bottom-color: var(--bs-light); +} +[data-bs-theme="dark"] .maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button { + background-color: var(--bs-light); } -.maplibregl-ctrl-configuration .maplibregl-ctrl-icon { - background-size: 24px; - background-image: url("data:image/svg+xml,%3Csvg width='800' height='800' viewBox='0 0 200 200' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36.5 75C41 89.5 54 100 70 100s29-10.5 33.5-25H170a10 10 0 0 0 0-20h-66.5C99 40.5 86 30 70 30S41 40.5 36.5 55H25a10 10 0 0 0 0 20ZM70 50a15 15 0 1 1-15 15 14.73 14.73 0 0 1 15-15Zm105 75h-11.5c-4.5-14.5-17.5-25-33.5-25s-29 10.5-33.5 25H30a10 10 0 0 0 0 20h66.5c4.5 14.5 17.5 25 33.5 25s29-10.5 33.5-25H175a10 10 0 0 0 0-20Zm-45 25a15 15 0 1 1 15-15 14.73 14.73 0 0 1-15 15Z'/%3E%3C/svg%3E"); -} -.maplibregl-ctrl-group button.maplibregl-ctrl-search { + +.maplibregl-ctrl-group button.maplibregl-ctrl-search, +.maplibregl-ctrl-group button.maplibregl-ctrl-legend { padding: 4px; width: auto; + font-size: 1rem; } -.maplibregl-ctrl-group button.maplibregl-ctrl-search .maplibregl-ctrl-icon { - background-size: contain; - background-image: url("data:image/svg+xml,%3Csvg width='800px' height='800px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.9536 14.9458L21 21M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z' stroke='%23000000' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); - background-position-x: left; -} -.maplibregl-ctrl-group button.maplibregl-ctrl-search .maplibregl-ctrl-icon span { - margin-left: 1.5rem; - font-size: 16px; + +.maplibregl-ctrl-group button.maplibregl-ctrl-search .maplibregl-ctrl-icon, +.maplibregl-ctrl-group button.maplibregl-ctrl-legend .maplibregl-ctrl-icon, +.maplibregl-ctrl-group button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon, +.maplibregl-ctrl-group button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon, +.maplibregl-ctrl-group button.maplibregl-ctrl-compass .maplibregl-ctrl-icon, +.maplibregl-ctrl-group button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon, +.maplibregl-ctrl-group button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon, +.maplibregl-ctrl-group button.maplibregl-ctrl-edit .maplibregl-ctrl-icon, +.maplibregl-ctrl-group button.maplibregl-ctrl-configuration .maplibregl-ctrl-icon { + background-image: none; + background-color: var(--bs-body-color); + mask-size: contain; + mask-position: center; + display: inline-block; + vertical-align: top; } -.maplibregl-ctrl-group button.maplibregl-ctrl-legend { - padding: 4px; - width: auto; +.maplibregl-ctrl-group button.maplibregl-ctrl-search .maplibregl-ctrl-icon { + mask-image: url("data:image/svg+xml,%3Csvg width='800px' height='800px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.9536 14.9458L21 21M17 10C17 13.866 13.866 17 10 17C6.13401 17 3 13.866 3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10Z' stroke='%23000000' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); + width: 1.5rem; + height: 1.4rem; } .maplibregl-ctrl-group button.maplibregl-ctrl-legend .maplibregl-ctrl-icon { - background-size: contain; - background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg fill='%23000000' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52' enable-background='new 0 0 52 52' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M26.7,42.8c0.8,0,1.5,0.7,1.5,1.5v3.2c0,0.8-0.7,1.5-1.5,1.5h-3.2c-0.8,0-1.5-0.7-1.5-1.5v-3.2 c0-0.8,0.7-1.5,1.5-1.5H26.7z'/%3E%3Cpath d='M28.2,35.1c0-2.1,1.3-4,3.1-4.8h0.1c5.2-2.1,8.8-7.2,8.8-13.2c0-7.8-6.4-14.2-14.2-14.2 c-7.2,0-13.2,5.3-14.2,12.2v0.1c-0.1,0.9,0.6,1.6,1.5,1.6h3.2c0.8,0,1.4-0.5,1.5-1.1v-0.2c0.7-3.7,4-6.5,7.9-6.5 c4.5,0,8.1,3.6,8.1,8.1c0,2.1-0.8,4-2.1,5.5l-0.1,0.1c-0.9,1-2.1,1.6-3.3,2c-4,1.4-6.7,5.2-6.7,9.4v1.5c0,0.8,0.6,1.4,1.4,1.4h3.2 c0.8,0,1.6-0.6,1.6-1.5L28.2,35.1z'/%3E%3C/g%3E%3C/svg%3E"); - background-position-x: left; -} -.maplibregl-ctrl-group button.maplibregl-ctrl-legend .maplibregl-ctrl-icon span { - margin-left: 1.5rem; - font-size: 16px; + mask-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg fill='%23000000' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52' enable-background='new 0 0 52 52' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M26.7,42.8c0.8,0,1.5,0.7,1.5,1.5v3.2c0,0.8-0.7,1.5-1.5,1.5h-3.2c-0.8,0-1.5-0.7-1.5-1.5v-3.2 c0-0.8,0.7-1.5,1.5-1.5H26.7z'/%3E%3Cpath d='M28.2,35.1c0-2.1,1.3-4,3.1-4.8h0.1c5.2-2.1,8.8-7.2,8.8-13.2c0-7.8-6.4-14.2-14.2-14.2 c-7.2,0-13.2,5.3-14.2,12.2v0.1c-0.1,0.9,0.6,1.6,1.5,1.6h3.2c0.8,0,1.4-0.5,1.5-1.1v-0.2c0.7-3.7,4-6.5,7.9-6.5 c4.5,0,8.1,3.6,8.1,8.1c0,2.1-0.8,4-2.1,5.5l-0.1,0.1c-0.9,1-2.1,1.6-3.3,2c-4,1.4-6.7,5.2-6.7,9.4v1.5c0,0.8,0.6,1.4,1.4,1.4h3.2 c0.8,0,1.6-0.6,1.6-1.5L28.2,35.1z'/%3E%3C/g%3E%3C/svg%3E"); + width: 1.5rem; + height: 1.4rem; +} +.maplibregl-ctrl-group button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon { + mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E"); + width: 1.8rem; + height: 1.8rem; +} +.maplibregl-ctrl-group button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon { + mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E"); + width: 1.8rem; + height: 1.8rem; +} +.maplibregl-ctrl-group button.maplibregl-ctrl-compass .maplibregl-ctrl-icon { + mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E"); + width: 1.8rem; + height: 1.8rem; +} +.maplibregl-ctrl-group button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon { + mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E"); + width: 1.8rem; + height: 1.8rem; +} +.maplibregl-ctrl-group button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon { + mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E"); + width: 1.8rem; + height: 1.8rem; +} +.maplibregl-ctrl-group button.maplibregl-ctrl-edit .maplibregl-ctrl-icon { + mask-image: url("data:image/svg+xml,%3Csvg width='800px' height='800px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M21.1213 2.70705C19.9497 1.53548 18.0503 1.53547 16.8787 2.70705L15.1989 4.38685L7.29289 12.2928C7.16473 12.421 7.07382 12.5816 7.02986 12.7574L6.02986 16.7574C5.94466 17.0982 6.04451 17.4587 6.29289 17.707C6.54127 17.9554 6.90176 18.0553 7.24254 17.9701L11.2425 16.9701C11.4184 16.9261 11.5789 16.8352 11.7071 16.707L19.5556 8.85857L21.2929 7.12126C22.4645 5.94969 22.4645 4.05019 21.2929 2.87862L21.1213 2.70705ZM18.2929 4.12126C18.6834 3.73074 19.3166 3.73074 19.7071 4.12126L19.8787 4.29283C20.2692 4.68336 20.2692 5.31653 19.8787 5.70705L18.8622 6.72357L17.3068 5.10738L18.2929 4.12126ZM15.8923 6.52185L17.4477 8.13804L10.4888 15.097L8.37437 15.6256L8.90296 13.5112L15.8923 6.52185ZM4 7.99994C4 7.44766 4.44772 6.99994 5 6.99994H10C10.5523 6.99994 11 6.55223 11 5.99994C11 5.44766 10.5523 4.99994 10 4.99994H5C3.34315 4.99994 2 6.34309 2 7.99994V18.9999C2 20.6568 3.34315 21.9999 5 21.9999H16C17.6569 21.9999 19 20.6568 19 18.9999V13.9999C19 13.4477 18.5523 12.9999 18 12.9999C17.4477 12.9999 17 13.4477 17 13.9999V18.9999C17 19.5522 16.5523 19.9999 16 19.9999H5C4.44772 19.9999 4 19.5522 4 18.9999V7.99994Z' fill='%23000000'/%3E%3C/svg%3E"); + width: 1.5rem; + height: 1.4rem; +} +.maplibregl-ctrl-group button.maplibregl-ctrl-configuration .maplibregl-ctrl-icon { + mask-image: url("data:image/svg+xml,%3Csvg width='800' height='800' viewBox='0 0 200 200' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M36.5 75C41 89.5 54 100 70 100s29-10.5 33.5-25H170a10 10 0 0 0 0-20h-66.5C99 40.5 86 30 70 30S41 40.5 36.5 55H25a10 10 0 0 0 0 20ZM70 50a15 15 0 1 1-15 15 14.73 14.73 0 0 1 15-15Zm105 75h-11.5c-4.5-14.5-17.5-25-33.5-25s-29 10.5-33.5 25H30a10 10 0 0 0 0 20h66.5c4.5 14.5 17.5 25 33.5 25s29-10.5 33.5-25H175a10 10 0 0 0 0-20Zm-45 25a15 15 0 1 1 15-15 14.73 14.73 0 0 1-15 15Z'/%3E%3C/svg%3E"); + width: 1.5rem; + height: 1.4rem; } .maplibregl-ctrl.maplibregl-ctrl-attrib.maplibregl-compact { diff --git a/proxy/index.html b/proxy/index.html index 329100d0..a94d19c7 100644 --- a/proxy/index.html +++ b/proxy/index.html @@ -27,7 +27,7 @@