Traewelling / traewelling

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

Wrong map/polygon and km in one U-Bahn Berlin/BVG distance #2403

Open rugk opened 4 months ago

rugk commented 4 months ago

Describe the bug

Screenshot_20240309-132556_1_1

Steps to reproduce

In Berlin/BVG checkin this connection: Hohenzollernplatz (U), Berlin

subway U 3 (13525) 132km 13min

Nächster Halt: Fehrbelliner Platz (U), Berlin 13:37 Oskar-Helene-Heim (U), Berlin

https://traewelling.de/status/2208764

Browser console logs

N/A

Browser

Firefox for Android 123.1.0 (Build #2016007175)

MrKrisKrisu commented 3 months ago

This is related to the Polyline we get from Brouter. But I cannot reproduce this. We have a mechanism that prevents the storage of too large deviations. When I try to debug it works correctly for me. :/

[2024-03-11 16:52:55] local.DEBUG: Dispatching UserCheckedIn event for status#13  
[2024-03-11 16:52:55] local.DEBUG: Missing route found between Warschauer Str. (S+U), Berlin and Schlesisches Tor (U), Berlin  
[2024-03-11 16:52:55] local.DEBUG: parts missing: dispatch  
[2024-03-11 16:52:56] local.DEBUG: [RefreshPolyline] Brouter URL is https://brouter.de/brouter?lonlats=13.449112,52.505238%7C13.441579,52.500869%7C13.427745,52.499251%7C13.418198,52.499071%7C13.406216,52.498397%7C13.391204,52.497732%7C13.38288,52.498936%7C13.374178,52.49953%7C13.36278,52.49979%7C13.35415,52.499592%7C13.343264,52.501786%7C13.336603,52.500626%7C13.330733,52.497049%7C13.32436,52.493956%7C13.314229,52.490423%7C13.312467,52.480059%7C13.314382,52.472661%7C13.308665,52.467043%7C13.295181,52.464058%7C13.289751,52.457451%7C13.281994,52.45115%7C13.269894,52.450709%7C13.253129,52.449774%7C13.241174,52.443302&profile=rail&alternativeidx=0&format=geojson  
[2024-03-11 16:52:59] local.WARNING: Distance deviation for status #13 is greater than 15 percent. Original: 7017, new: 132106  
rugk commented 3 months ago

But can you reproduce this on Traewelling when doing a usual checkin? (Don't wanna do it right now to not mess up my travel history.)