naviqore / public-transit-service

Public transit schedule information and connection routing service based on GTFS data and the RAPTOR algorithm.
MIT License
4 stars 1 forks source link

FIX: NAV-100 - Fix edge case where two legs have same departure times… #63

Closed clukas1 closed 4 months ago

clukas1 commented 4 months ago

Minor fix, because there where legs with 0 s travel time Untitled Untitled-1

Thus building connections by just sorting after departure time was not sufficient anymore, since consequent transfers would have identical departure times from the arrival stop.