Traewelling / traewelling

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

Fehlende Polyline bei Check-in in Frankfurter Straßenbahn #1842

Closed marhei closed 11 months ago

marhei commented 11 months ago

Neuerdings fehlt bei der Frankfurter Straßenbahn die Polyline, dadurch haben alle Fahrten eine Länge von 0m.

Capture d’écran 2023-08-09 à 09 05 26

Beispiele: https://traewelling.de/status/1303257 https://traewelling.de/status/1302761 https://traewelling.de/status/1305972 https://traewelling.de/status/1307861

Check-Ins wurden über die API (TräwelCheckin) erstellt.

marhei commented 11 months ago

Die Polyline scheint erst nachträglich rausgelöscht zu werden, der Check-in hat diese erst nach wenigen Sekunden verloren: https://traewelling.de/status/1308861

Vielleicht Brouter-Integration?

MrKrisKrisu commented 11 months ago

To reproduce:

  1. Checkin is okay. image

  2. Route is regenerated with Brouter

[2023-08-09 14:52:32] local.DEBUG: Dispatching UserCheckedIn event for status#16  
[2023-08-09 14:52:32] local.DEBUG: Missing route found between Preungesheim Gravensteiner Platz, Frankfurt a.M. and Alkmenestraße, Frankfurt a.M.  
[2023-08-09 14:52:32] local.DEBUG: parts missing: dispatch  
[2023-08-09 14:52:33] local.ERROR: TrainCheckin #14: Origin stopover not found. Created a new one.  
[2023-08-09 14:52:38] local.ERROR: TrainCheckin #14: Origin stopover not found. Created a new one.  
[2023-08-09 14:52:39] local.ERROR: TrainCheckin #14: Origin stopover not found. Created a new one.  
  1. Polyline is gone and distance is 0m

image

MrKrisKrisu commented 11 months ago

The GeoJSON after regenerated is a little bit broken...

{
    "type": "FeatureCollection",
    "features": {
        "": {
            "properties": {
                "id": 100912,
                "name": "S\u00fcdbahnhof, Frankfurt a.M.",
                "departure_planned": "2023-08-09T16:52:32.000000Z",
                "arrival_planned": "2023-08-09T16:52:32.000000Z"
            }
        }
    }
}
HerrLevin commented 11 months ago

FYI: kilometers should be non-zero now. :D