You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
incorrect leg_distance entries if two stops are identical #2915
If there are two identical stops the number of leg entries in the leg_distance (or leg_time) array will be incorrect because there is no separate edge created between these identical stops.
E.g. in RouteResourceClientHCTest.testWaypointIndicesAndLegDetails you can add new GHPoint(42.495611, 1.498368) to the point list and there will be an error IndexOutOfBoundsException: Index 8 out of bounds for length 8 because the entry number of leg_distance is 8 and not 9 as it should be:
Activity
trying to fix #2915, but not sure yet
Fix #2915 when first point is duplicated