derf / travelynx

Traewelling-inspired journey logger with realtime data
https://travelynx.de
GNU Affero General Public License v3.0
117 stars 18 forks source link

Get polyline after the trip to take divertions into account #66

Closed leona-ya closed 1 year ago

leona-ya commented 1 year ago

When a train is diverted (My example was an ICE yesterday diverted from KRM to the rhine route), the polyline provided by HAFAS sometimes also changes. It seems like the polyline is fetched by travelynx and the start of the journey. I think it would be better to fetch it at the end to have a better chance that it's right. (Unfortunately my perl knowledge is really bad, otherwise I would have done it myself)