Hello,
for static network analysis you are better of using sumlib (or
sumolib4matlab). However, you could call traci.lane.getIDList() and check
for the highest index of the form <EDGEID>_<INDEX> in that list (subtract 1
to get the number of lanes because it starts with lane 0).
regards,
Jakob

2017-09-16 17:07 GMT+02:00 Lawrence Soon via sumo-user <
[email protected]>:

> I browsed thro traci functions and I could not find a way to do so. How to
> get number of lanes of an edge in sumo via traci for matlab?
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

Reply via email to