-
Notifications
You must be signed in to change notification settings - Fork 61
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
Review MOTIS trip display name logic #759
Comments
Some names are really weird, for example the new Ouigo Bruxelles-Paris. Probably an error in the feed :/ |
Similar upstream discussion here: motis-project/motis#691 |
Relevant code seems to be here: https://github.com/motis-project/nigiri/blob/master/src/loader/gtfs/trip.cc#L191 Overall the existing logic seems to be made for Germany and probably needs improvements for other places. For example for TGVs, we get things like "081B 5358". Probably just the trip name (second) would be what you'd expect, right? |
For Austria trip_short_name is also the right thing (for example EC 113) but we get "D7" which is a route name that means nothing to most people. After all we likely get the best results when reverse-engineering google maps behaviour and copying it, as that is what people test their feeds with. |
I started to improve it a bit here: motis-project/nigiri#163 I'm very interested in opinions / conventions from other regions to make this as correct as possible. |
In some areas we end up without any name for a trip (MAV) and in some we end up with very weird looking names that are likely not what is visible on a station departure board (various trains in France).
This could be an issue in the feeds, or the logic in MOTIS can be improved. There are various strings to choose from (at least trip_short_name, route_short_name and route_long_name).
The text was updated successfully, but these errors were encountered: