Transportr icon indicating copy to clipboard operation
Transportr copied to clipboard

Problem with belgian train database

Open ZeCracotte opened this issue 4 years ago β€’ 1 comments

Describe the bug I think the SNCB/NMBS database (trains in Belgium) is not well interpreted : all train codes beginning with S (suburban trains) are not identified as train, so they don't appear in the route search. It's very problematic because a lot of trains in Belgium are S trains.

To Reproduce Steps to reproduce the behavior: Search the route Ottignies to Louvain-la-Neuve, you'll see the app will only propose buses.

Expected behavior The app should propose trains, but it doesn't because all trains for this route are S trains, so they are not seen by the route search. If you go and search departures in Ottignies station, the S trains appear.

Screenshots Route search Screenshot_20210720-030044_Transportr Station search Screenshot_20210720-030121_Transportr

Versions (please complete the following information):

  • Transportr Version: 2.1.2
  • Device: Asus Zenfone 3
  • Android Version: 9.0 (LineageOS 16.0)

ZeCracotte avatar Jul 20 '21 01:07 ZeCracotte

Thanks for your report, I was able to reproduce it here. This needs some further investigation but is most probably due to the internally used PTE library not interpreting the trains correctly.

ialokim avatar Jul 24 '21 11:07 ialokim

So quick update: we decided to disable SNCB/NMBS (https://github.com/grote/Transportr/pull/884) because this network isn't working anymore due to their API change, see https://github.com/grote/Transportr/issues/840#issuecomment-1419297281. I'll close the issue for now, and if SNCB/NMBS gets supported again in the future we could check if your issue is still there.

Altonss avatar Dec 07 '23 23:12 Altonss