Hi Michael, thank you for your answer. I performed this adjustment in the additional file and it worked somehow, as a vehicle was added with id 240000 and respecting route28. However, the vehicle was loaded as a passenger car and was not performing the stops at bus stops. I guess it is a new problem now: how to load the vehicle in this route as a bus and respecting bus parameters defined in the additional file?
Answering your second question, I didn't disabled it and I was getting the same message as you did, I guess: Error: Answered with error to command 0xc4: Invalid route '28out' for vehicle: '240000'. Cheers, Deborah. On Fri, Apr 17, 2015 at 5:23 PM, Michael Behrisch < [email protected]> wrote: > Hi, > the reason is simple, a nested route definition ignores the route id. > You need to define the route outside the vehicle and it should work. > Try something like > <route id="28out" edges="..."/> > <vehicle id="240000" type="BUS" depart="0" color="1,1,0" route="28out"> > <stop busStop=... > </vehicle> > > It is odd however that the XML schema checking did not fail here. It > should have told you that a route id is not valid here. Did you > explicitly disable schema checking? > > Regards, > Michael > > Am 17.04.2015 um 13:07 schrieb Deborah Perrotta: > > Hi Michael, > > it was just an excerpt indeed. Please see bellow one of my additional > files > > for a bus route I'm using. You can see that the vehicle is defined, which > > is different from the previous excerpt. > > > > <additional xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:noNamespaceSchemaLocation=" > http://sumo.sf.net/xsd/additional_file.xsd"> > > <busStop id="OUT Warren St @ Kearsarge Ave" lane="8639780#1_0" > > startPos="10" endPos="25" lines="28"/> > > <busStop id="Warren St @ Dabney PI" lane="8639780#4_0" startPos="35" > > endPos="50" lines="28"/> > > <busStop id="Warren St @ Circuit St" lane="8639780#5_0" startPos="25" > > endPos="40" lines="28"/> > > <busStop id="OUT Warren St @ Waverly St" lane="8639780#5_0" > startPos="160" > > endPos="175" lines="28"/> > > <busStop id="OUT Warren St @ Woodbine St" lane="8647878#1_0" > startPos="10" > > endPos="25" lines="28"/> > > <busStop id="Warren St @ ML King Blvd" lane="8647878#2_0" startPos="105" > > endPos="120" lines="28"/> > > <busStop id="Warren St @ Townsend St" lane="-8646989+-8648449#13_0" > > startPos="10" endPos="25" lines="28"/> > > <busStop id="Warren St @ Waumbeck St" lane="-8648449#8_0" startPos="5" > > endPos="20" lines="28"/> > > <busStop id="Warren St @ Brunswick St" lane="-8648449#4_0" startPos="5" > > endPos="20" lines="28"/> > > <busStop id="Warren St @ Crawford St" lane="-8648449#1_0" startPos="10" > > endPos="25" lines="28"/> > > <busStop id="Blue Hill Ave @ Wayne St" lane="8649124#4_0" startPos="55" > > endPos="70" lines="28"/> > > <busStop id="Blue Hill Ave @ Seaver St" lane="8649124#6_0" startPos="35" > > endPos="50" lines="28"/> > > <busStop id="Blue Hill Ave @ Columbia Rd" lane="8644670#0_0" > startPos="10" > > endPos="25" lines="28"/> > > <busStop id="OUT Blue Hill Ave @ Charlotte St" lane="8644670#1_0" > > startPos="160" endPos="175" lines="28"/> > > <busStop id="Blue Hill Ave @ American Legion Hwy" lane="8644670#5_0" > > startPos="20" endPos="35" lines="28"/> > > <busStop id="Blue Hill Ave @ Angell St" lane="8644670#6_0" startPos="85" > > endPos="100" lines="28"/> > > <busStop id="Blue Hill Ave @ Harvard St" lane="8644670#8_0" startPos="20" > > endPos="35" lines="28"/> > > <busStop id="Blue Hill Ave @ Paxton St" lane="8644670#10_0" > startPos="235" > > endPos="250" lines="28"/> > > <busStop id="Blue Hill Ave @ Greenock St" lane="8644670#15_0" > startPos="10" > > endPos="25" lines="28"/> > > <busStop id="Blue Hill Ave @ Hansborough St" lane="8644670#18_0" > > startPos="45" endPos="60" lines="28"/> > > <busStop id="OUT Blue Hill Ave @ Morton St" lane="8644670#25_0" > > startPos="10" endPos="25" lines="28"/> > > <busStop id="Blue Hill Ave @ Goodale St" lane="8644670#27_0" > startPos="10" > > endPos="25" lines="28"/> > > <busStop id="Blue Hill Ave @ Wellington Hill St" lane="8644670#28_0" > > startPos="145" endPos="160" lines="28"/> > > <busStop id="Blue Hill Ave @ Mattapan St" lane="8644670#31_0" > startPos="70" > > endPos="85" lines="28"/> > > <busStop id="OUT Blue Hill Ave @ Almont St" lane="8644670#35_0" > > startPos="10" endPos="25" lines="28"/> > > <busStop id="OUT Blue Hill Ave @ Woodhaven St" lane="34729472_0" > > startPos="5" endPos="20" lines="28"/> > > <busStop id="OUT Blue Hill Ave @ Babson St" lane="8652272#0_0" > > startPos="100" endPos="115" lines="28"/> > > <busStop id="OUT Blue Hill Ave @ Mattapan Sq" lane="8652272#1_0" > > startPos="145" endPos="160" lines="28"/> > > <busStop id="Blue Hill Ave @ River St" lane="8642290_0" startPos="10" > > endPos="25" lines="28"/> > > <vehicle id="240000" type="BUS" depart="0" color="1,1,0"> > > <route id="28out" edges="-8643840#0 -116884900#0 8649570#0 8639780#0 > > 8639780#1 8639780#2 8639780#3 8639780#4 8639780#5 8639780#6 8647878#0 > > 8647878#1 8647878#2 8651522#0 8651522#2 8651522#3 8651522#4 > > -8646989+-8648449#13 -8648449#12 -8648449#11 -8648449#9 -8648449#8 > > -8648449#7 -8648449#6 -8648449#5 -8648449#4 -8648449#2 -8648449#1 > 8649124#0 > > 8649124#1 8649124#2 8649124#3 8649124#4 8649124#5 8649124#6 8646757#0 > > 8646757#1 8639091 8644670#0 8644670#1 8644670#2 8644670#3 8644670#5 > > 8644670#6 8644670#7 8644670#8 8644670#10 8644670#11 8644670#12 8644670#13 > > 8644670#14 8644670#15 8644670#16 8644670#17 8644670#18 8644670#19 > > 8644670#20 8644670#21 8644670#22 8644670#23 8644670#24 8644670#25 > > 8644670#26 8644670#27 8644670#28 8644670#29 8644670#30 8644670#31 > > 8644670#32 8644670#33 8644670#34 8644670#35 8644670#37 34729472 > 34729473#0 > > 34729473#1 8652272#0 8652272#1 8652272#2 8652272#3 8652272#4 211852999 > > 9114615#0 9113783 9113906#4 8642290 8651547#0 211852997#0 211852997#1"/> > > <stop busStop="OUT Dudley Station" duration="20"/> > > <stop busStop="OUT Warren St @ Kearsarge Ave" duration="20"/> > > <stop busStop="Warren St @ Dabney PI" duration="20"/> > > <stop busStop="Warren St @ Circuit St" duration="20"/> > > <stop busStop="OUT Warren St @ Waverly St" duration="20"/> > > <stop busStop="OUT Warren St @ Woodbine St" duration="20"/> > > <stop busStop="Warren St @ ML King Blvd" duration="20"/> > > <stop busStop="Warren St @ Townsend St" duration="20"/> > > <stop busStop="Warren St @ Waumbeck St" duration="20"/> > > <stop busStop="Warren St @ Brunswick St" duration="20"/> > > <stop busStop="Warren St @ Crawford St" duration="20"/> > > <stop busStop="Blue Hill Ave @ Wayne St" duration="20"/> > > <stop busStop="Blue Hill Ave @ Seaver St" duration="20"/> > > <stop busStop="Blue Hill Ave @ Columbia Rd" duration="20"/> > > <stop busStop="OUT Blue Hill Ave @ Charlotte St" duration="20"/> > > <stop busStop="Blue Hill Ave @ American Legion Hwy" duration="20"/> > > <stop busStop="Blue Hill Ave @ Angell St" duration="20"/> > > <stop busStop="Blue Hill Ave @ Harvard St" duration="20"/> > > <stop busStop="Blue Hill Ave @ Paxton St" duration="20"/> > > <stop busStop="Blue Hill Ave @ Greenock St" duration="20"/> > > <stop busStop="Blue Hill Ave @ Hansborough St" duration="20"/> > > <stop busStop="OUT Blue Hill Ave @ Morton St" duration="20"/> > > <stop busStop="Blue Hill Ave @ Goodale St" duration="20"/> > > <stop busStop="Blue Hill Ave @ Wellington Hill St" duration="20"/> > > <stop busStop="Blue Hill Ave @ Mattapan St" duration="20"/> > > <stop busStop="OUT Blue Hill Ave @ Almont St" duration="20"/> > > <stop busStop="OUT Blue Hill Ave @ Woodhaven St" duration="20"/> > > <stop busStop="OUT Blue Hill Ave @ Babson St" duration="20"/> > > <stop busStop="OUT Blue Hill Ave @ Mattapan Sq" duration="20"/> > > <stop busStop="Blue Hill Ave @ River St" duration="20"/> > > <stop busStop="Mattapan Station - South Busway" duration="20"/> > > </vehicle> > > </additional> > > > > Thank you in advance, > > Deborah. > > > > On Thu, Apr 16, 2015 at 9:40 PM, Michael Behrisch < > > [email protected]> wrote: > > > >> Hi Deborah, > >> can you share a completely working excerpt of your scenario? there seems > >> to be a typo (or errors due to the omissions) in the lines you sent: > >>>>>>> <busStop id="OUT Warren St @ Kearsarge Ave" lane="8639780#1_0" > >>>>>>> startPos="10" endPos="25" lines="28"/> > >>>>>>> <busStop id="Warren St @ Dabney PI" lane="8639780#4_0" > startPos="35" > >>>>>>> endPos="50" lines="28"/> > >>>>>>> (...) > >>>>>>> <route id="28_out" edges="-8643840#0 -116884900#0 (...)"/> > >>>>>>> <stop busStop="OUT Dudley Station" duration="20"/> > >>>>>>> <stop busStop="OUT Warren St @ Kearsarge Ave" duration="20"/> > >>>>>>> (...) > >>>>>>> </route> > >>>>>>> </additional> > >> > >> The route element is closed twice and also not all bus stops are > defined. > >> > >> Regards, > >> Michael > >> > >> > > > > > > -- Deborah Perrotta PhD Researcher - MIT Portugal http://pt.linkedin.com/in/deborahperrotta/ ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
