Thank you for the suggestion Chang-Wu, we'll see whether we can support this out of the box (http://sumo.dlr.de/trac.wsgi/ticket/1879) regards, Jkoab
On 09/03/2015 10:26 PM, Chang-Wu Chen wrote: > Hi, > > I rewrote vehLanes.py by using lxml package instead of sumolib.output, so you > may need to install lxml before running the script. > > $ pip install lxml > > It takes me ~25 mins to parse out-cologne.xml. > > You can find vehLanes_lxml.py here. > https://gist.github.com/changwu-tw/551b755d3ac11b1cd90f > <https://gist.github.com/changwu-tw/551b755d3ac11b1cd90f> > > > Chang-Wu > > > >> On Sep 3, 2015, at 8:59 AM, mima Line <[email protected]> wrote: >> >> Hello >> >> here I am again to ask you for advice to how convert a huge dataset of >> cologne >> >> I am using *SUMO 0.17* >> >> I have download the TAPAS data from >> https://sourceforge.net/projects/sumo/files/traffic_data/scenarios/TAPASCologne/TAPASCologne-0.17.0.zip/download >> >> I have generate the output with netstat dump >> >> >> * sumo -c cologne.sumocfg -- netstate-dump out-cologne.xml * >> >> >> The file I get I use it again >> >> *python vehLanes.py out-cologne.xml output-final.xml* >> >> The problem I get is that the last step wich is Python script takes a >> very long time >2 hours and it doesn't finished yet >> >> is there any solution to my problem >> >> >> and this file *output-final.xml* will be in its turn an input for >> another algorithm so I hope I can minimise it as possible >> >> thanks once again >> >> Best regards >> ------------------------------------------------------------------------------ >> Monitor Your Dynamic Infrastructure at Any Scale With Datadog! >> Get real-time metrics from all of your servers, apps and tools >> in one place. >> SourceForge users - Click here to start your Free Trial of Datadog now! >> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ > Monitor Your Dynamic Infrastructure at Any Scale With Datadog! > Get real-time metrics from all of your servers, apps and tools > in one place. > SourceForge users - Click here to start your Free Trial of Datadog now! > http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
