Replacement buses from PDFs
SŽ publishes its replacement buses as PDF timetables. tilaa reads them: 60 PDFs, 723 bus runs, 12,466 bus journeys over the timetable year.
Adnan Smlatić2 min lesing
Innlegget er på engelsk.
When Slovenske železnice close part of a line, for example for works, buses run instead of the trains. SŽ announces each closure on its website and attaches the replacement timetable as a PDF. The national timetable data knows about the long closures, but not the short ones: those are only in the PDFs.
So tilaa reads them.
- 60replacement timetables, as PDFs from SŽ
- 723replacement runs read from them
- 12,466bus journeys over the timetable year, run by run and day by day
234trains those buses stand in for
From a PDF to a bus on the map
A replacement timetable is a table of stops and times, one column per run. tilaa gives every PDF to a language model and asks it to describe that table: which column is which run, which row which stop.
The model doesn't copy out the times. Earlier versions that had it transcribe the tables got 15, then 28 of 31 test PDFs right. Describing only the structure got all 36 right, 31 from this year and 5 from last year, and a second, different model gave the same answer for 3,339 of 3,339 fields. Each PDF takes 14.3 seconds on average.
Then tilaa checks what it read. Of the 60 PDFs so far, 57 passed the checks without an error and one was rejected. The checked runs go into the timetable that plans your journey, so a replacement bus comes up beside the cancelled train, with its own stops.
Replacement runs by vehicle
- Buses620
- Minibuses90
- Connecting buses9
Vis talleneSkjul tallene
| Vehicle | Runs |
|---|---|
| Buses | 620 |
| Minibuses | 90 |
| Connecting buses | 9 |
Where the bus stops
A replacement bus doesn't always stop in front of the station. tilaa knows 297 replacement stops at 286 stations. On the main lines they are 70 metres from the station on average, on regional lines 506 metres, which is why the app shows where exactly the bus leaves, as SŽ describes it.
Month by month
November 2026 has the most: 2,931 replacement bus journeys in SŽ's timetables, against a few hundred a month in winter. Earlier months may count low: tilaa has read the PDFs since 6 November 2026, and SŽ takes timetables off its site once they've run.
Replacement bus journeys per month
Each run counted once for every day it runs
Vis talleneSkjul tallene
| Month | Journeys |
|---|---|
| Dec | 195 |
| Jan | 339 |
| Feb | 312 |
| Mar | 345 |
| Apr | 600 |
| May | 676 |
| Jun | 1 009 |
| Jul | 1 387 |
| Aug | 1 323 |
| Sep | 1 334 |
| Oct | 1 603 |
| Nov | 2 931 |
The routes with the most notices are Koper – Divača, Ptuj – Ormož and Ljubljana – Ljubljana Zalog, three each. In all, SŽ published 58 notices: 36 replacement timetables, 14 announcements of works on the line, and others.
None of this is a complaint about SŽ. Works have to happen, and SŽ announces them. A bus in a PDF is just hard to find when you plan a journey, and on the map it isn't.