eclipse-sumo/sumo

Route Lengths Not Updating in cutRoutes.py Script

Opened this issue · 1 comments

Issue Description:

Current Behavior:
The cutRoutes.py script does not update route lengths when cutting routes. This behavior is unexpected.

Expected Behavior:
When using the cutRoutes.py script to cut routes, the route lengths should be updated to reflect the changes made to the routes.

If this behavior is intended or there are specific reasons for not updating route lengths, please provide clarification in the documentation.

route lengths are actually an optional attribute mainly used for output, that's why it has not been updated. But I agree we should either remove it or update it.