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

Ring line statuses don't render a map. Neither on prod, nor beta #603

Closed HerrLevin closed 2 years ago

HerrLevin commented 2 years ago

Describe the bug When checked into a ring line, the map won't render correctly since the matching won't work properly.

To Reproduce Steps to reproduce the behavior:

  1. Check into ringline

Screenshots Polyline on beta: (prod is just gray) image

Actual polyline: image

Possible workaround

  1. After cutting down the polyline, check if the result is emtpy. If empty, generate it from the stopovers. -or-
  2. First matching pattern

See also https://beta.traewelling.de/status/226520

MrKrisKrisu commented 2 years ago

Fixed in #806 image