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
I am trying to replace the legs in an itinerary with a leg from nextLegs and recalculate the generalizedCost for the new itinerary. However, the generalizedCost for the legs in nextLegs are all zero so it is not possible to get an accurate figure for the new itinerary.
Expected behavior
The generalizedCost of the alternative legs are some sensitive numbers, similar to the original.
Observed behavior
the generalizedCost is 0.
Version of OTP used (exact commit hash or JAR name)
2.6.0
Data sets in use (links to GTFS and OSM PBF files)
Bus Open Data Service
Steps to reproduce the problem
Make a journey plan with nextLegs and generalizedCost fetched for the legs.
The text was updated successfully, but these errors were encountered:
I am trying to replace the legs in an itinerary with a leg from nextLegs and recalculate the generalizedCost for the new itinerary. However, the generalizedCost for the legs in nextLegs are all zero so it is not possible to get an accurate figure for the new itinerary.
Expected behavior
The generalizedCost of the alternative legs are some sensitive numbers, similar to the original.
Observed behavior
the generalizedCost is 0.
Version of OTP used (exact commit hash or JAR name)
2.6.0
Data sets in use (links to GTFS and OSM PBF files)
Bus Open Data Service
Steps to reproduce the problem
Make a journey plan with nextLegs and generalizedCost fetched for the legs.
The text was updated successfully, but these errors were encountered: