alexey-zakharenkov / subways

Subway Preprocessor and Validator
Apache License 2.0
12 stars 1 forks source link

Fix bug with stop projections #29

Closed alexey-zakharenkov closed 1 year ago

alexey-zakharenkov commented 1 year ago

In case the tracks of a route are directed opposite to stops order, the positions_on_rails were calculated incorrectly for RouteStops. They should be recalculated after reversing the tracks. Fixed and tests added.