Traewelling / traewelling

Free check-in service to log your public transit journeys
https://traewelling.de
GNU Affero General Public License v3.0
231 stars 46 forks source link

Polyline wrong and distance calculation strange #385

Closed MrKrisKrisu closed 2 years ago

MrKrisKrisu commented 3 years ago

Describe the bug The polyline is strange. We'll have to see if the fault lies with us. But something went wrong with the distance calculation... (210 km?)

To Reproduce Steps to reproduce the behavior: Check into the train (see screenshot).

Links https://traewelling.de/status/172787 https://twitter.com/0815_Kritzler/status/1398550733155405826

Screenshots image image

MrKrisKrisu commented 2 years ago

I have investigated the case again: We have indeed received a polyline (GeoJSON) from HAFAS which has this strange routing. Our foreach loop parsed that correctly. So I would close this as there is nothing we can do here.

image