In sumo all lanes of an edge are assigned the same length. The mismatch
that may result between length and geometry due to curvature is
deliberately accepted because this simplifies the simulation models (in
particular lane-changing). For details on this topic, see
https://sumo.dlr.de/docs/Simulation/Distances.html
Thus you do not need to loop and no extra method is required.

Am Fr., 21. Aug. 2020 um 11:03 Uhr schrieb marcelreppi <
[email protected]>:

> Hello,
>
> with sumolib I can just use edge.getLength() but TraCI does not offer such
> functionality.
> TraCI only offers lane.getLength()
> So I would have to loop through all the lanes of an edge and find the
> maximum length.
>
> Same goes for maxSpeed.
>
> Why is that so and would it be possible to add that?
>
> Thanks!
>
> Best regards
> Marcel
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to