summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2026-06-27 23:05:09 +0200
committerstuebinm2026-06-27 23:05:09 +0200
commit7800bc433772a66c6440ad3f4337545eb97eb73f (patch)
tree341b1e0e9086211a368b2df10f7a69f339a6406b
parentd37a8c5f1b6dd88c1ebe5310161c16a0c463defb (diff)
bahnhof-name: do not filter out BFTs
Notably, both Dresden Hbf and Dresden-Neustadt fall into this category, and these should definitely be found.
-rw-r--r--app/Util.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Util.hs b/app/Util.hs
index 094f229..eefff84 100644
--- a/app/Util.hs
+++ b/app/Util.hs
@@ -102,7 +102,8 @@ readData = do
putStrLn "Static data ready."
let betriebsstellenFiltered = betriebsstellen
- & V.filter (\line -> line !! 4 `notElem` ["BUSH", "LGR", "ÜST", "BFT", "ABZW", "BK", "AWAN", "ANST", "LGR"])
+ & V.filter (\line -> line !! 4 `notElem` ["BUSH", "LGR", "ÜST", "ABZW", "BK", "AWAN", "ANST", "LGR"]
+ && line !! 5 `notElem` [ "TrSt" ])
let ril100set = addMany (V.toList (V.map (!! 2) betriebsstellenFiltered)) (emptySet 5 6 False)
let ril100map = mkDoubleMap $ fmap (\line -> (Ril100 (line !! 1), line !! 2)) betriebsstellen