Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API interprets Kapellen (Antwerp) station as Capellen - Kapellen(L) station #122

Closed
ChristopheVersieux opened this issue Aug 6, 2015 · 2 comments
Labels

Comments

@ChristopheVersieux
Copy link
Member

Hello,

I have just been reported this bug by user email.
I have issues with Kapellen (Antwerp - https://en.wikipedia.org/wiki/Kapellen,_Belgium) that is mixed with Chapelle-Capellen (German version = Kapellen) in Luxembourg (https://en.wikipedia.org/wiki/Capellen)

http://api.irail.be/connections/?to=bergen&from=kapellen

Next version of BeTrains will use station ID everywhere, but currently, I cannot do anything on my side, unfortunately.

Can something be done on the server for this?

@ChristopheVersieux ChristopheVersieux changed the title API interprets Kapellen station as Kapellen(L) station API interprets Kapellen station as Capellen - Kapellen(L) station Aug 6, 2015
@ChristopheVersieux ChristopheVersieux changed the title API interprets Kapellen station as Capellen - Kapellen(L) station API interprets Kapellen (Antwerp) station as Capellen - Kapellen(L) station Aug 6, 2015
@pietercolpaert
Copy link
Member

This is an annoying bug as well in our autocomplete list... You can only select Kapellen in Luxenburg at this moment.

Also over here it's missinterpreted: http://api.irail.be/vehicle/?id=L2591

I propose this issue to be fixed as follows:

An optional parameter &fromCountry and &toCountry will be implemented to make sure we know what country we're talking about

@pietercolpaert
Copy link
Member

Seems like in fact kapellen is always with a K and Capellen (l) is always with a C now. Will fix in stations list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants