digitransit-ui icon indicating copy to clipboard operation
digitransit-ui copied to clipboard

Departure view: grouping rows by route/direction instead of trips?

Open hbruch opened this issue 5 years ago • 1 comments

The departure view seems to group departures of identical trips in a row, indicating their next departures: image

However, some of our routes have trips which have identical headsigns, nearly identical trip patterns, only their quay differs for a few stops (the parent stop is currently not given in the GTFS but we could deduce it from the stop_id):

Extract from stop_times.txt:

"29.T0.10-2-j20-5.2.H","14:26:00","14:26:00","de:08116:1905:1:1","27","","0","0"
"30.T0.10-2-j20-5.7.H","14:56:00","14:56:00","de:08116:1905:1:2","27","","0","0"

Is there an option to group by route/direction (or headsign) instead of trips? And would the route list be able to handle this? Or, to just show next departures without grouping (and hence omitting over next departure)?

hbruch avatar Jan 22 '20 12:01 hbruch

I think the current logic was built using data which did not have these types of trips and I don't think there is any configuration available for what is shown there as of now. I think there is room for improvement but I think we will get rid of this display at least in this current form at some point in the future when we are doing larger redesign of the UI. Therefore, I don't think we are doing any changes to it but if you happen to do some fix that can be enabled through a configuration parameter, you can create a pull request.

optionsome avatar Jan 28 '20 13:01 optionsome