Please indicate where the documentation referred to earlier is unclear in regards to solving this problem so that we can take steps to improve the documentation.
2013/12/5 Fernando Obed <fobed...@gmail.com> > Hi , > > I am fernando, I am from Morelia Michoacan,Mexico and I still working in my > thesis, thank you very much for all your help, You give me good advices, > but I have a new problem, I did my map using JOSM (with traffic lights > including), and then I used NETGENERATE to convert my map to > "simulation.net.xml" ( a map compatible with SUMO) that contains the code > of the configuration of traffic lights. > > I would like to learn how to edit a traffic light from my map named > "simulation.net.xml" in the same file, because traffic lights contained in > "simulation.net.xml" does not adjust to the reality, in other words, I > would like to learn how edit a traffic light from my file > "simulation.net.xml" directly from my file "simulation.net.xml", I attached > a picture of the traffic lights that I want to change in the three > juntions, in the attached picture the connections are right, but in the > attached picture the part of the traffic lights within the white > rectangles are the ones that I want to remove. > > The code contained in "simulation.net.xml" about the traffic lights of > the attached picture is the following: > > for the first traffic light we have > > *<tlLogic id="1914144620" type="static" programID="0" offset="0">* > * <phase duration="31" state="GGGGrr"/>* > * <phase duration="9" state="yyyyrr"/>* > * <phase duration="31" state="rrrrGG"/>* > * <phase duration="9" state="rrrryy"/>* > * </tlLogic>* > * .* > * .* > * .* > *<junction id="1914144620" type="traffic_light" x="177.18" y="177.93" > incLanes="105068324#1_0 105068324#1_1 105068324#1_2 105135073_0 > 105135073_1" intLanes=":1914144620_0_0 :1914144620_1_0 :1914144620_2_0 > :1914144620_3_0 :1914144620_4_0 :1914144620_5_0" shape="184.78,189.24 > 189.16,184.43 189.55,183.51 190.08,173.72 170.31,166.99 165.85,171.72 > 165.44,172.70 165.17,182.50">* > * <request index="0" response="000000" foes="110000" cont="0"/>* > * <request index="1" response="000000" foes="110000" cont="0"/>* > * <request index="2" response="000000" foes="110000" cont="0"/>* > * <request index="3" response="000000" foes="110000" cont="0"/>* > * <request index="4" response="001111" foes="001111" cont="0"/>* > * <request index="5" response="001111" foes="001111" cont="0"/>* > * </junction>* > > > *************************************************************************************************************** > > *for the second traffic light we have:* > > > *<tlLogic id="1930098899" type="static" programID="0" offset="0">* > * <phase duration="31" state="GGGrrr"/>* > * <phase duration="9" state="yyyrrr"/>* > * <phase duration="31" state="rrrGGG"/>* > * <phase duration="9" state="rrryyy"/>* > *</tlLogic>* > * .* > * .* > * .* > *<junction id="1930098899" type="traffic_light" x="155.82" y="177.34" > incLanes="182648274#8_0 182648274#8_1 105068324#2_0 105068324#2_1 > 105068324#2_2" intLanes=":1930098899_0_0 :1930098899_1_0 :1930098899_2_0 > :1930098899_3_0 :1930098899_4_0 :1930098899_5_0" shape="163.53,188.42 > 167.81,183.53 168.19,182.58 168.46,172.79 163.52,172.75 163.12,182.54">* > > * <request index="0" response="111000" foes="111000" cont="0"/>* > * <request index="1" response="111000" foes="111000" cont="0"/>* > * <request index="2" response="111000" foes="111000" cont="0"/>* > * <request index="3" response="000000" foes="000111" cont="0"/>* > * <request index="4" response="000000" foes="000111" cont="0"/>* > * <request index="5" response="000000" foes="000111" cont="0"/>* > > *</junction>* > > > *************************************************************************************************************** > the code of the last traffic light of hte picture is: > > > > *<tlLogic id="1914144622" type="static" programID="0" offset="0">* > * <phase duration="31" state="GGGGG"/>* > * <phase duration="9" state="yyyyy"/>* > *</tlLogic>* > * .* > * .* > * .* > *<junction id="1914144622" type="traffic_light" x="162.08" y="163.70" > incLanes="182915012_0 182915012_1 182915012_2" intLanes=":1914144622_0_0 > :1914144622_1_0 :1914144622_2_0 :1914144622_3_0 :1914144622_4_0" > shape="169.13,174.81 173.59,170.08 174.00,169.12 174.42,159.32 > 162.98,157.86 156.34,165.07">* > > * <request index="0" response="00000" foes="00000" cont="0"/>* > * <request index="1" response="00000" foes="00000" cont="0"/>* > * <request index="2" response="00000" foes="00000" cont="0"/>* > * <request index="3" response="00000" foes="00000" cont="0"/>* > * <request index="4" response="00000" foes="00000" cont="0"/>* > > *</junction>* > > > > *************************************************************************************************************** > > > > The main question is, how I edit these codes to remove the the part of the > traffic lights within the white rectangles that appear in the attached > picture? > > > thank you again for all your help. > > Best > Regards. > > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > sumo-user mailing list > sumo-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sumo-user > > ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user