oh, I'm really sorry, please disregard my previous email. Looks like I made a typo, but I hope to ask, regarding the additional file, does it still need to be written out? Thanks!
On Sat, Dec 11, 2021 at 8:32 PM Brandon Cedric Patangan < [email protected]> wrote: > Hi, I tried this: "%sumo_home%\tools\routeSampler.py" > --atributes="type=\"car\"" -r vehroutes.xml --prefix c --edgedata-files > baycarroutes.xml -o bayroutes.sampled.rou.xml but got the following > error: unrecognized arguments: --atributes=type="car". > > Also, regarding the additional file to define vehicle types, do i need to > write out or is it automatically generated? thanks! > > > On Sat, Dec 11, 2021 at 6:30 AM Jakob Erdmann <[email protected]> > wrote: > >> it must be type "type=\"car\"". See >> https://sumo.dlr.de/docs/Tools/Turns.html#multiple_vehicle_types >> >> Am Fr., 10. Dez. 2021 um 22:28 Uhr schrieb Brandon Cedric Patangan via >> sumo-user <[email protected]>: >> >>> Hello again! Had a question about routesampler, I tried using attributes >>> to run an edgedata file in order to define a route as being populated by a >>> certain number of motorcycles. I used this command: >>> >>> python "%sumo_home%\tools\routeSampler.py" -r vehroutes.xml >>> --edgedata-files passengercars.xml -o passengercars.sampled.rou.xml >>> --attributes="vType id=\"car\" vClass=\"passenger\" >>> >>> and was able to get routeSampler to write the routes. I tried to run it >>> in sumo though, and this is what I got: >>> >>> [image: image.png] >>> so I'm actually not sure what I got wrong in the command. I was able to >>> write the routefile, and upon checking it I found that it did write the >>> routes and specified vehicle id and type as well: >>> >>> [image: image.png] >>> >>> it all seemed to be well in there, and I checked the said line that was >>> supposed to have an error but didn't find anything. Hope someone can >>> clarify, thanks! >>> >>> [image: image.png] >>> _______________________________________________ >>> 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 >> >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
