5 Commits

22 changed files with 283 additions and 129 deletions

1
.gitignore vendored
View File

@@ -4,6 +4,7 @@ node_modules
/static/mapFiles/json/ /static/mapFiles/json/
/static/map-index.json /static/map-index.json
/src/lib/assets/route/*.json /src/lib/assets/route/*.json
/src/lib/assets/station/*.json
# Output # Output
.output .output

View File

@@ -16,6 +16,18 @@
font-style: normal; font-style: normal;
} }
[id] { :root {
scroll-margin-top: 100px; /* Brand Colours */
--color-brand: #4fd1d1;
--color-brand-light: #5af5f5;
--color-accent: #3c6f79;
--color-accent-light: #5094a2;
--color-title: #ebebeb;
--color-bg-light: #404c55;
--color-bg-dark: #2b343c;
/* Shadows */
--color-shadow: hsla(210, 20%, 5%, 0.35);
--shadow-std: 0 4px 12px var(--color-shadow);
--shadow-up: 0 -4px 12px var(--color-shadow);
} }

View File

@@ -1 +0,0 @@
{"name":"Aldermaston","crs":"amt","updated":"2026-03-11T00:00:00.000Z","checked":"2026-03-11T00:00:00.000Z","platforms":[{"platformId":"1Up","platformLength":115,"signal":false,"dispatch":false,"stepFree":null,"doorPattern":[{"kind":"IET5","doors":[2,10]},{"kind":"IET9","doors":[2,9]},{"kind":"IET10","doors":[2,10]},{"kind":"DMU","max-car":5}]},{"platformId":"2Dn","platformLength":115,"signal":false,"dispatch":false,"stepFree":null,"doorPattern":[{"kind":"IET5","doors":[1,7]},{"kind":"IET9","doors":[1,7]},{"kind":"IET10","doors":[1,7]},{"kind":"DMU","max-car":5}]}]}

View File

@@ -1 +0,0 @@
{"name":"Bedwyn","crs":"bdw","updated":"2026-03-11T00:00:00.000Z","checked":"2026-03-11T00:00:00.000Z","platforms":[{"platformId":"1Dn","platformLength":121,"signal":true,"dispatch":false,"doorPattern":[{"kind":"IET5","doors":[1,9]},{"kind":"IET9","doors":[1,9]},{"kind":"IET10","doors":[1,9]},{"kind":"DMU","max-car":5}]},{"platformId":"2Up","platformLength":123,"signal":true,"dispatch":false,"doorPattern":[{"kind":"IET5","doors":[2,10]},{"kind":"IET9","doors":[2,10]},{"kind":"IET10","doors":[2,10]},{"kind":"DMU","max-car":5}]}]}

View File

View File

@@ -1 +0,0 @@
{"name":"Hungerford","crs":"hgd","updated":"2026-03-11T00:00:00.000Z","checked":"2026-03-11T00:00:00.000Z","platforms":[{"platformId":"1Up","platformLength":153,"signal":false,"dispatch":false,"doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[8,18]},{"kind":"IET10","doors":[9,20]},{"kind":"DMU","max-car":6}]},{"platformId":"2Dn","platformLength":150,"signal":false,"dispatch":false,"doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[1,11]},{"kind":"IET10","doors":[1,11]},{"kind":"DMU","max-car":6}]}]}

View File

@@ -1 +0,0 @@
{"name":"Kintbury","crs":"kit","updated":"2026-03-11T00:00:00.000Z","checked":"2026-03-11T00:00:00.000Z","platforms":[{"platformId":"1Dn","platformLength":105,"signal":false,"dispatch":false,"stepFree":null,"doorPattern":[{"kind":"IET5","doors":[2,9]},{"kind":"IET9","doors":[2,9]},{"kind":"IET10","doors":[2,9]},{"kind":"DMU","max-car":4}]},{"platformId":"2Up","platformLength":106,"signal":false,"dispatch":false,"stepFree":null,"doorPattern":[{"kind":"IET5","doors":[4,10]},{"kind":"IET9","doors":[12,18]},{"kind":"IET10","doors":[14,20]},{"kind":"DMU","max-car":4}]}]}

View File

@@ -1 +0,0 @@
{"name":"Midgham","crs":"mdg","updated":"2026-03-11T00:00:00.000Z","checked":"2026-03-11T00:00:00.000Z","platforms":[{"platformId":"1Dn","platformLength":120,"signal":false,"dispatch":false,"stepFree":null,"doorPattern":[{"kind":"IET5","doors":[4,10]},{"kind":"IET9","doors":[4,10]},{"kind":"IET10","doors":[4,10]},{"kind":"DMU","max-car":5}]},{"platformId":"2Up","platformLength":117,"signal":true,"dispatch":false,"stepFree":null,"doorPattern":[{"kind":"IET5","doors":[1,7]},{"kind":"IET9","doors":[1,7]},{"kind":"IET10","doors":[1,7]},{"kind":"DMU","max-car":5}]}]}

View File

@@ -1 +0,0 @@
{"name":"Newbury","crs":"nby","updated":"2026-03-11T00:00:00.000Z","checked":"2026-03-11T00:00:00.000Z","platforms":[{"platformId":"1Dn","platformLength":291,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[1,18]},{"kind":"IET10","doors":[1,20]},{"kind":"DMU","max-car":12}]},{"platformId":"1Up","platformLength":291,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[1,18]},{"kind":"IET10","doors":[1,20]},{"kind":"DMU","max-car":12}]},{"platformId":"2Dn","platformLength":327,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[1,18]},{"kind":"IET10","doors":[1,20]},{"kind":"DMU","max-car":14}]},{"platformId":"2Up","platformLength":327,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[1,18]},{"kind":"IET10","doors":[1,20]},{"kind":"DMU","max-car":14}]},{"platformId":3,"platformLength":129,"signal":true,"dispatch":true,"dispatchNote":"Staffed until 22:00 Daily","stepFree":true,"stepFreeNote":"Accessible from street & via lifts","doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":null},{"kind":"IET10","doors":null},{"kind":"DMU","max-car":5}]}]}

View File

@@ -1 +0,0 @@
{"name":"Newbury Racecourse","crs":"nrc","updated":"2026-03-11T00:00:00.000Z","checked":"2026-03-11T00:00:00.000Z","platforms":[{"platformId":"1Dn","platformLength":89,"signal":false,"dispatch":false,"stepFree":false,"doorPattern":[{"kind":"IET5","doors":[1,6]},{"kind":"IET9","doors":[1,6]},{"kind":"IET10","doors":[1,6]},{"kind":"DMU","max-car":4}]},{"platformId":"2Up","platformLength":74,"signal":true,"dispatch":false,"stepFree":true,"doorPattern":[{"kind":"IET5","doors":[4,9]},{"kind":"IET9","doors":[4,9]},{"kind":"IET10","doors":[4,9]},{"kind":"DMU","max-car":4}]},{"platformId":"3Up","platformLength":225,"signal":false,"dispatch":false,"stepFree":true,"doorPattern":[{"kind":"IET5","doors":[2,10]},{"kind":"IET9","doors":[2,15]},{"kind":"IET10","doors":[2,16]},{"kind":"DMU","max-car":9}]},{"platformId":"3Dn","platformLength":225,"signal":false,"dispatch":false,"stepFree":true,"doorPattern":[{"kind":"IET5","doors":[2,10]},{"kind":"IET9","doors":[2,15]},{"kind":"IET10","doors":[2,16]},{"kind":"DMU","max-car":9}]}]}

View File

@@ -1 +0,0 @@
{"name":"Pewsey","crs":"pew","updated":"2026-03-11T00:00:00.000Z","checked":"2026-03-11T00:00:00.000Z","platforms":[{"platformId":"1Dn","platformLength":170,"signal":true,"dispatch":false,"doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[2,15]},{"kind":"IET10","doors":[2,15]},{"kind":"DMU","max-car":7}]},{"platformId":"2Up","platformLength":177,"signal":true,"dispatch":false,"doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[2,15]},{"kind":"IET10","doors":[2,15]},{"kind":"DMU","max-car":7}]}]}

View File

@@ -1 +0,0 @@
{"name":"Thatcham","crs":"tha","updated":"2026-03-11T00:00:00.000Z","checked":"2026-03-11T00:00:00.000Z","platforms":[{"platformId":"1Dn","platformLength":168,"signal":true,"dispatch":false,"stepFree":null,"doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[1,12]},{"kind":"IET10","doors":[1,12]},{"kind":"DMU","max-car":7}]},{"platformId":"2Up","platformLength":168,"signal":false,"dispatch":false,"stepFree":null,"doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[7,18]},{"kind":"IET10","doors":[9,20]},{"kind":"DMU","max-car":7}]}]}

View File

@@ -1 +0,0 @@
{"name":"Theale","crs":"the","updated":"2026-03-11T00:00:00.000Z","checked":"2026-03-11T00:00:00.000Z","platforms":[{"platformId":"1Up","platformLength":168,"signal":true,"dispatch":false,"stepFree":null,"doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[1,13]},{"kind":"IET10","doors":[1,13]},{"kind":"DMU","max-car":7}]},{"platformId":"2Dn","platformLength":168,"signal":false,"dispatch":false,"stepFree":null,"doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[1,13]},{"kind":"IET10","doors":[1,13]},{"kind":"DMU","max-car":7}]},{"platformId":3,"platformLength":153,"signal":false,"dispatch":false,"stepFree":true,"doorPattern":[{"kind":"IET5","doors":[1,10]},{"kind":"IET9","doors":[1,11]},{"kind":"IET10","doors":[1,11]}]}]}

View File

@@ -6,7 +6,7 @@
import { fade, fly } from 'svelte/transition'; import { fade, fly } from 'svelte/transition';
import { quintOut } from 'svelte/easing'; import { quintOut } from 'svelte/easing';
import { IconDisabled, IconUserCheck, IconTrafficLights } from '@tabler/icons-svelte'; import { IconDisabled, IconDisabledOff, IconUserCheck, IconTrafficLights } from '@tabler/icons-svelte';
let { crs, onclose }: { crs: string; onclose: () => void } = $props(); let { crs, onclose }: { crs: string; onclose: () => void } = $props();
@@ -41,13 +41,13 @@
console.error(err); console.error(err);
}); });
} else { } else {
error = `Station ${crs} not found in database`; error = `Station ${crs.toUpperCase()} not found in database`;
} }
}); });
function parsePlatform(id: string) { function parsePlatform(id: string) {
id = String(id || ''); id = String(id || '');
const match = id.match(/^(.*?)(Up|Dn)$/); const match = id.match(/^(.*?)(Up|Dn|BiDi)$/);
if (match) { if (match) {
return { plat: match[1], direction: match[2] }; return { plat: match[1], direction: match[2] };
} }
@@ -79,7 +79,7 @@
<dialog bind:this={dialogRef} {onclose} onclick={(e) => e.target === dialogRef && onclose()}> <dialog bind:this={dialogRef} {onclose} onclick={(e) => e.target === dialogRef && onclose()}>
{#if stationData || error} {#if stationData || error}
<div class="modal-wrapper" in:fly={{ y: 20, duration: 400, easing: quintOut }}> <div class="modal-wrapper">
<header> <header>
<div class="title-group"> <div class="title-group">
<span class="crs-badge">{crs.toUpperCase()}</span> <span class="crs-badge">{crs.toUpperCase()}</span>
@@ -103,14 +103,16 @@
<span class="platform-direction">({direction})</span> <span class="platform-direction">({direction})</span>
{/if} {/if}
</div> </div>
<span class="length-tag">{platform.platformLength}m</span> <span class="length-tag">{platform.platformLength}m</span>
<div class="platform-meta"> <div class="platform-meta">
{#if platform.stepFree}
<span class="icon-tag" title="Step-free access" <span class="icon-tag" title="Step-free access"
><IconDisabled color="#2563eb" /></span >
> {#if platform.stepFree}
{/if} <IconDisabled color="#2563eb" />
{:else}
<IconDisabledOff color="#2563eb55" />
{/if}
</span>
{#if platform.dispatch} {#if platform.dispatch}
<span class="icon-tag" title="Dispatch staff present" <span class="icon-tag" title="Dispatch staff present"
><IconUserCheck color="#ea580c" /></span ><IconUserCheck color="#ea580c" /></span
@@ -122,12 +124,12 @@
> >
{/if} {/if}
</div> </div>
{#if platform.dispatchNote} {#if platform.dispatchNote}
<span class="platform-note">{platform.dispatchNote}</span> <span class="platform-note">{platform.dispatchNote}</span>
{/if} {/if}
{#if platform.stepFreeNote} {#if platform.stepFreeNote}
<span class="platform-note">{platform.stepFreeNote}</span> <span class="platform-note">{platform.stepFreeNote}</span>
{/if} {/if}
<div class="train-visualiser"> <div class="train-visualiser">
{#each platform.doorPattern as pattern} {#each platform.doorPattern as pattern}
@@ -170,6 +172,7 @@
max-height: 80vh; max-height: 80vh;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
font-family: 'urwgothic', sans-serif;
} }
dialog::backdrop { dialog::backdrop {
@@ -185,14 +188,14 @@
} }
header { header {
background: #f8fafc; background: var(--color-accent);
padding: 1rem 1.5rem; padding: 1rem 1.5rem;
margin-bottom: 50px; margin-bottom: 50px;
border-bottom: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
z-index: 500; z-index: 500;
} }
.title-group { .title-group {
@@ -202,8 +205,8 @@
} }
.crs-badge { .crs-badge {
background: #1e293b; background: var(--color-bg-light);
color: white; color: var(--color-title);
font-family: monospace; font-family: monospace;
font-weight: bold; font-weight: bold;
padding: 0.2rem 0.5rem; padding: 0.2rem 0.5rem;
@@ -213,12 +216,16 @@
h2 { h2 {
margin: 0; margin: 0;
font-size: 1.1rem; font-size: 1.4rem;
color: #0f172a; color: var(--color-title);
} }
.close-icon { .close-icon {
background: #ef4444; background: var(--color-brand);
display: flex;
align-items: center;
justify-content: center;
line-height: 0;
border-radius: 50%; border-radius: 50%;
width: 32px; width: 32px;
height: 32px; height: 32px;
@@ -226,14 +233,14 @@
border: none; border: none;
font-size: 1.5rem; font-size: 1.5rem;
cursor: pointer; cursor: pointer;
color: #ebebeb; color: var(--color-bg-light);
transition: all 0.2s; transition: all 0.2s;
} }
.close-icon:hover { .close-icon:hover {
background: #dc2626; background: var(--color-brand-light);
transform: scale(1.05); transform: scale(1.05);
transform: rotate(180deg); transform: rotate(90deg);
} }
.content { .content {
padding: 1.5rem; padding: 1.5rem;
@@ -255,13 +262,13 @@
border-radius: 10px; border-radius: 10px;
} }
.platform-card:first-child { .platform-card:first-child {
margin-top: 20px; margin-top: 20px;
} }
.platform-card { .platform-card {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
background: #ffffff; background: #ffffff;
@@ -308,8 +315,11 @@
.length-tag { .length-tag {
font-family: 'JetBrains Mono', 'Fira Code', monospace; font-family: 'JetBrains Mono', 'Fira Code', monospace;
font-size: 0.85rem; font-size: 0.85rem;
background: #f1f5f9; font-weight: 800;
background: var(--color-bg-light);
color: var(--color-title);
padding: 0.25rem 0.6rem; padding: 0.25rem 0.6rem;
margin: 0.25rem 0.05rem;
border-radius: 4px; border-radius: 4px;
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
} }
@@ -320,80 +330,80 @@
justify-content: center; justify-content: center;
} }
.train-visualiser { .train-visualiser {
margin-top: 1.25rem; margin-top: 1.25rem;
width: 100%; width: 100%;
padding: 1rem; padding: 1rem;
background: #f8fafc; background: #f8fafc;
border-radius: 6px; border-radius: 6px;
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 1rem; gap: 1rem;
} }
.train-row { .train-row {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.5rem; gap: 0.5rem;
} }
.door-pattern-kind { .door-pattern-kind {
font-size: 0.7rem; font-size: 0.82rem;
font-weight: 800; font-weight: 800;
color: #101316; color: #101316;
text-transform: uppercase; text-transform: uppercase;
letter-spacing: 0.05em; letter-spacing: 0.12em;
} }
.coach-row { .coach-row {
display: flex; display: flex;
gap: 4px; gap: 4px;
overflow-x: auto; overflow-x: auto;
padding-bottom: 4px; padding-bottom: 4px;
} }
.coach-unit { .coach-unit {
flex: 0 0 32px; flex: 0 0 32px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 4px; gap: 4px;
} }
.coach-body { .coach-body {
height: 20px; height: 20px;
background: #334155; background: var(--color-accent-light);
color: #f8fafc; color: #f8fafc;
font-size: 0.65rem; font-size: 1rem;
font-weight: 700; font-weight: 700;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
border-radius: 2px; border-radius: 2px;
} }
.coach-unit:first-child .coach-body { .coach-unit:first-child .coach-body {
border-top-left-radius: 8px; border-top-left-radius: 8px;
border-bottom-left-radius: 8px; border-bottom-left-radius: 8px;
background: #0f172a; background: var(--color-accent);
} }
.door-status { .door-status {
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
padding: 0 4px; padding: 0 4px;
} }
.dot { .dot {
width: 6px; width: 6px;
height: 6px; height: 6px;
background: #b65151; background: #b65151;
border-radius: 50%; border-radius: 50%;
transition: all 0.2s ease; transition: all 0.2s ease;
} }
.dot.open { .dot.open {
background: #22c55e; background: #22c55e;
box-shadow: 0 0 8px #22c55e; box-shadow: 0 0 5px #22c55e;
} }
</style> </style>

View File

@@ -44,6 +44,7 @@ routeDetail:
- type: station - type: station
name: Reading West name: Reading West
crs: rdw
miles: 36 miles: 36
chains: 75 chains: 75

View File

@@ -233,6 +233,7 @@ routeDetail:
- type: station - type: station
name: Westbury name: Westbury
crs: wsb
miles: 109 miles: 109
chains: 64 chains: 64

View File

@@ -19,7 +19,7 @@ platforms:
max-car: 5 max-car: 5
- platformId: 2Dn - platformId: 2Dn
platformLength: 115 platformLength: 115
signal: false signal: true
dispatch: false dispatch: false
stepFree: true stepFree: true
doorPattern: doorPattern:

View File

@@ -11,11 +11,11 @@ platforms:
stepFree: true stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [1,10] doors: [1, 10]
- kind: IET9 - kind: IET9
doors: [1,18] doors: [1, 18]
- kind: IET10 - kind: IET10
doors: [1,20] doors: [1, 20]
- kind: DMU - kind: DMU
max-car: 12 max-car: 12
- platformId: 1Up - platformId: 1Up
@@ -26,11 +26,11 @@ platforms:
stepFree: true stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [1,10] doors: [1, 10]
- kind: IET9 - kind: IET9
doors: [1,18] doors: [1, 18]
- kind: IET10 - kind: IET10
doors: [1,20] doors: [1, 20]
- kind: DMU - kind: DMU
max-car: 12 max-car: 12
- platformId: 2Dn - platformId: 2Dn
@@ -41,11 +41,11 @@ platforms:
stepFree: true stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [1,10] doors: [1, 10]
- kind: IET9 - kind: IET9
doors: [1,18] doors: [1, 18]
- kind: IET10 - kind: IET10
doors: [1,20] doors: [1, 20]
- kind: DMU - kind: DMU
max-car: 14 max-car: 14
- platformId: 2Up - platformId: 2Up
@@ -56,25 +56,25 @@ platforms:
stepFree: true stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [1,10] doors: [1, 10]
- kind: IET9 - kind: IET9
doors: [1,18] doors: [1, 18]
- kind: IET10 - kind: IET10
doors: [1,20] doors: [1, 20]
- kind: DMU - kind: DMU
max-car: 14 max-car: 14
- platformId: 3 - platformId: 3
platformLength: 129 platformLength: 129
signal: true signal: true
dispatch: true dispatch: true
dispatchNote: Staffed 06:00-21:00 dispatchNote: No more than 5-car IET permitted
stepFree: true stepFree: true
doorPattern: doorPattern:
- kind: IET5 - kind: IET5
doors: [1,10] doors: [1, 10]
- kind: IET9 - kind: IET9
doors: [0,0] doors: [0, 0]
- kind: IET10 - kind: IET10
doors: [0,0] doors: [0, 0]
- kind: DMU - kind: DMU
max-car: 5 max-car: 5

View File

@@ -3,6 +3,20 @@ crs: nrc
updated: 2026-03-11 updated: 2026-03-11
checked: 2026-03-11 checked: 2026-03-11
platforms: platforms:
- platformId: 1Up
platformLength: 89
signal: true
dispatch: false
stepFree: false
doorPattern:
- kind: IET5
doors: [1, 6]
- kind: IET9
doors: [1, 6]
- kind: IET10
doors: [1, 6]
- kind: DMU
max-car: 4
- platformId: 1Dn - platformId: 1Dn
platformLength: 89 platformLength: 89
signal: false signal: false
@@ -31,6 +45,20 @@ platforms:
doors: [4, 9] doors: [4, 9]
- kind: DMU - kind: DMU
max-car: 4 max-car: 4
- platformId: 2Dn
platformLength: 74
signal: false
dispatch: false
stepFree: true
doorPattern:
- kind: IET5
doors: [4, 9]
- kind: IET9
doors: [4, 9]
- kind: IET10
doors: [4, 9]
- kind: DMU
max-car: 4
- platformId: 3Up - platformId: 3Up
platformLength: 225 platformLength: 225
signal: true signal: true

47
static/stations/rdw.yaml Normal file
View File

@@ -0,0 +1,47 @@
name: Reading West
crs: rdw
updated: 2026-03-12
checked: 2026-03-12
platforms:
- platformId: 1Dn
platformLength: 278
signal: false
dispatch: false
stepFree: true
doorPattern:
- kind: IET5
doors: [1, 10]
- kind: IET9
doors: [1, 18]
- kind: IET10
doors: [1, 20]
- kind: DMU
max-car: 12
- platformId: 1Up
platformLength: 278
signal: true
dispatch: false
stepFree: true
doorPattern:
- kind: IET5
doors: [1,10]
- kind: IET9
doors: [1,18]
- kind: IET10
doors: [1,20]
- kind: DMU
max-car: 12
- platformId: 2Up
platformLength: 158
signal: true
dispatch: false
stepFree: false
doorPattern:
- kind: IET5
doors: [1, 10]
- kind: IET9
doors: [1, 12]
- kind: IET10
doors: [1, 12]
- kind: DMU
max-car: 6

View File

@@ -19,7 +19,7 @@ platforms:
max-car: 7 max-car: 7
- platformId: 2Up - platformId: 2Up
platformLength: 168 platformLength: 168
signal: false signal: true
dispatch: false dispatch: false
stepFree: true stepFree: true
doorPattern: doorPattern:

64
static/stations/wsb.yaml Normal file
View File

@@ -0,0 +1,64 @@
name: Westbury
crs: wsb
updated: 2026-03-12
checked: 2026-03-12
platforms:
- platformId: 1Up
platformLength: 224
signal: true
dispatch: true
dispatchNote: No dispatch for trains fewer than 5-car
stepFree: true
doorPattern:
- kind: IET5
doors: [1, 10]
- kind: IET9
doors: [1, 17]
- kind: IET10
doors: [1, 17]
- kind: DMU
max-car: 9
- platformId: 1Dn
platformLength: 224
signal: true
dispatch: true
dispatchNote: No dispatch for trains fewer than 5-car
stepFree: true
doorPattern:
- kind: IET5
doors: [1, 10]
- kind: IET9
doors: [2, 18]
- kind: IET10
doors: [2, 18]
- kind: DMU
max-car: 9
- platformId: 2BiDi
platformLength: 315
signal: true
dispatch: true
stepFree: true
doorPattern:
- kind: IET5
doors: [1, 10]
- kind: IET9
doors: [1, 18]
- kind: IET10
doors: [1, 20]
- kind: DMU
max-car: 13
- platformId: 3BiDi
platformLength: 295
signal: true
dispatch: true
stepFree: true
doorPattern:
- kind: IET5
doors: [1, 10]
- kind: IET9
doors: [1, 18]
- kind: IET10
doors: [1, 20]
- kind: DMU
max-car: 12