traewelling icon indicating copy to clipboard operation
traewelling copied to clipboard

Wrong Polylines

Open mtwente opened this issue 3 months ago • 7 comments

Describe the problem

It's great that the polylines are back (#3802), but it's generating a lot of nonsense. At least it does not seem like the trip distances themselves are affected (as was the last time this was an issue, if I remember correctly).

See for example:

  • no line generated at all https://traewelling.de/status/5806767, map centers on the origin station of the train (not the checked-in journey)
  • polyline is drawn, but not until the final station of the trip (Zürich HB) https://traewelling.de/status/5802253 (additionally, the route drawn is not the one taken by the train, but I get that this data is not available). Here, the same route/data source but the polyline is drawn all the way https://traewelling.de/status/5792940
  • polyline is drawn, but not extending until the destination of the trip https://traewelling.de/status/5791862
  • polyline spaghetti with multiple tracks in the same area (around Zürich), physically impossible: https://traewelling.de/status/5799767
  • polyline shows complete route of the train, not only the part that is checked in https://traewelling.de/status/5798921 (Zürich–St. Gallen, shows Lausanne–St. Gallen)
  • polyline shows complete route of the train within Switzerland, not only the part that is checked in (and also not the parts of the trip outside of Switzerland) https://traewelling.de/status/5795459

cf. these screenshots:

Image Image Image Image

What steps did you take before the issue occurred?

Go to traewelling.de, check-in a train trip or look at previously checked-in trips.

What did you expect to happen?

No response

Browser console or error messages (optional)


Any additional hints or information? (optional)

Thanks a lot to @Quadrubo for working on the polylines, much appreciated!

mtwente avatar Sep 04 '25 11:09 mtwente