Re: [sumo-dev] Retrieving the type of Junction

2021-11-11 Thread Jakob Erdmann
Q1: yes. The length always corresponds to the length of the state string for that junction. Q2: yes. Am Do., 11. Nov. 2021 um 22:43 Uhr schrieb Adrien Dubedat < adrien.dube...@cae.com>: > Thank you very much again for your time Jakob ! > > > > I have probably what should be my last 2 questions

Re: [sumo-dev] Retrieving the type of Junction

2021-11-11 Thread Adrien Dubedat
Thank you very much again for your time Jakob ! I have probably what should be my last 2 questions about this subject. For example, with this junction ID "108103" : { "crosswalks_lanes_id": [ "-4259614#1_1", "-4259614#1_1", "-4259614#1_1",

Re: [sumo-dev] Retrieving the type of Junction

2021-11-11 Thread Jakob Erdmann
In all "default" networks generated by netconvert, you only need to consider the state of the connection that targets a crossing. For this you must locate the index of the crossing within the list returned by trafficlight.getControlledLinks. (crossings will be at the end of the list). This index