Belgien: offizielle NMBS/SNCB-Feeds mit Echtzeit; Gleis-IDs (8863008_10) auf Bahnhof abgleichen

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X48pE4bzjHej8w9HyZXCjb
This commit is contained in:
Claude
2026-10-22 08:17:58 +02:00
parent ae50ac39ac
commit 53b7c24a81
5 changed files with 13 additions and 11 deletions
+2
View File
@@ -315,6 +315,8 @@ class Feed:
# Frankreich, Niederlande: nur Haltestellen-ID; über den Bahnhof abgleichen, damit es
# auch bei Gleiswechsel passt, und der Reihe nach (eine Fahrt kann einen Bahnhof zweimal haben)
k = self.stop_index.get(u[1])
if k is None: # Belgien meldet das Gleis ("8863008_10"), der Fahrplan nur den Bahnhof ("8863008")
k = self.stop_index.get(u[1].rsplit("_", 1)[0])
if k is None:
continue
for i in range(j, len(stops)):