-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add KVB profile (Kölner Verkehrsbetriebe) #21
Comments
I will give it a try this week :) |
Nice, thanks a lot! Let me know, if I can somehow help with my limited insight in the interface. |
I started my work here: https://github.com/1Maxnet1/pyhafas/tree/kvb-profile You can have a look at the Profile, and let me know, if any namings do not fit the local naming scheme :) I did not yet try it out and will create some tests for that before I create a PR |
Are you referring to the product names? I have taken a screenshot from our KVB trip planner app: I'm not sure where those names are used. I have only found some comments here: I would suggest to use
Why? The PS: Our local transport association VRS uses some sightly different names. That's why I have changed my suggested names from Stadtbahn to Straßenbahn. Which is, what people say as well. See here: That one also lists TaxiBus or Anruf-Sammel-Taxi (AST), a bus that only comes if you phone in some time in advance. I would just use the abbreviation, because no-one knows what it stands for anyway. |
Thanks for the input, I just double checked the publicly available configuration file (https://github.com/public-transport/transport-apis/blob/v1/data/de/kvb-hafas-mgate.json) and adjusted my naming (For the VSN which is already supported by this repository, the names match their respective configuration as well, so it is consistent). It almost fits your proposed names, so I would go with this for now. If you later have any issues in your application, we can figure out how to handle the names. |
Looks good! Thanks! |
I updated my branch again. Except for Journeys the tests seem to work fine. Will take a lot at that soon. |
I just created a PR with my initial work: #28 Please have a look and test it out, whether you find any issues. |
Solved in #28. I also tested it works. |
Thanks a lot to both of you!! |
Thanks for adding the KVB provider! Would you mind to create a new relase, so I can use the new profile in https://github.com/akloeckner/hacs-hafas? If you'd like to finish #24 first, I'm also fine with that. :-) |
Will release now. |
Perfect, thanks! |
I read in #12 that we should open an issue, if we would like to have a specific profile. So here's my issue for KVB. The metadata is in transport-apis. Maybe it's a matter of a few minutes for a maintainer to add this. I would for sure need a few days...
Why would I like to have it? While the planned journeys are also in the DB system, the realtime data is much more accurate in the local transport provider's system. And I want to use the data for displaying "next departures" of our local tramway station.
The text was updated successfully, but these errors were encountered: