smurfy / fahrplan

QT Application for Public transportation
GNU General Public License v2.0
58 stars 32 forks source link

Implement Provider for Belgium #240

Open ghost opened 8 years ago

ghost commented 8 years ago

I can't find any location in Belgium from within the app. I tried on 9292ov.nl and it gave the same results. Apparently they don't do Belgium (any more). So Belgium should be removed from the description.

Would be great to include one of the following APIs for Belgium:

De Lijn is the Flemish bus company. Their API is documented in Dutch at http://docs.delijn.apiary.io/.

smurfy commented 8 years ago

just tested on sailfish. workes for me. what version and platform are you using?

ghost commented 8 years ago

2.0.26 on Ubuntu Touch with OTA-10.1, but I actually think 9292ov.nl has a problem. I did some more experiments with Fahrplan and their own site, both always give the same results:

Searching for "Gent-Dampoort" brings up bus stop Dampoort in Ghent instead of the train station Gent-Dampoort.

"Brugge", "Knokke", "Leuven", etc. return the place, but not the train station.

For some stations it shows streets in the Netherlands: "Blankenberge" gives the two _Blankebergestraat_s in Breda and Amsterdam.

But then again, some stations are found: "Brussel Centraal", "Brussel Zuid", "Brussel Noord", "Hasselt", "Sint-Niklaas".

Those are some very inconsistent results.

leppa commented 8 years ago

If Fahrplan returns exactly the same results as 9292ov.nl website, then it's nothing we can fix. We just display whatever the backend service (being 9292ov.nl in this case) returns to us.

However, if there are differences in what you see on the website and in the app, then let us know (like #241 that you reported). We'll try to fix it.

As for the API you suggested, it should be possible to implement it. However neither I, nor @smurfy seem to have enough spare time at the moment. So any contributions are appreciated.

ghost commented 8 years ago

If Fahrplan returns exactly the same results as 9292ov.nl website, then it's nothing we can fix. We just display whatever the backend service (being 9292ov.nl in this case) returns to us.

Yep, that's why I was initially just asking to remove "Belgium" from the description. ;)

As for the API you suggested, it should be possible to implement it. However neither I, nor @smurfy seem to have enough spare time at the moment. So any contributions are appreciated.

Who knows, if I have some time the coming weeks. :)

Thanks for the reply!

ghost commented 8 years ago

Either of those APIs would certainly be appreciated!