|
From: Jens F. <fa...@me...> - 2009-06-04 08:26:02
|
Hello Dirk, I used "0" for the DomainID and it works just fine. I am now able to connect the string id to the numerical id. Thanks for your Input. Best Regards, Jens On 3 Jun 2009, at 15:28, dir...@pe... wrote: > Hello Jens, > Sorry, I got your last question wrong. > So the reasoning is not correct, the answer however still is. > Of course you do not have a DomainID in this call since that's > basically what you are asking for. > You can just enter "0". It should be ignored anyway. > > Best Regards, > > Dirk Leistner > Traffic Engineering - Research Department > > Peek Traffic bv > Basicweg 16 > Postbus 2542 > 3800 GB Amersfoort > > http://www.peektraffic.eu > <graycol.gif>Jens Fahnenbruck <fa...@me...> > > > Jens Fahnenbruck <fa...@me...> > 03-06-2009 14:48 > > <ecblank.gif> > To > <ecblank.gif> > dir...@pe... > <ecblank.gif> > cc > <ecblank.gif> > sum...@li... > <ecblank.gif> > Subject > <ecblank.gif> > Re: [sumo-user] Get numerical ID of a road/edge > <ecblank.gif> <ecblank.gif> > > Hello Dirk, > > thanks for your answer, what about the DomainID I need for the > scenario command? Can I just enter "0"? > > Best Regards > > Jens > > > On 3 Jun 2009, at 14:45, dir...@pe... wrote: > Hello Jens, > > Via the Scenario command you can also ask for the numerical ID using > the Domain road map (id 0x00) and the Variable external ID (id 0x12). > Since you already know how to use the Scenario command you should be > able to retrieve that information or do you need any further help? > I haven't explicitly tried it with road map but for traffic lights > and vehicles this works fine. > > Best Regards > > Dirk Leistner > Traffic Engineering - Research Department > > Peek Traffic bv > Basicweg 16 > Postbus 2542 > 3800 GB Amersfoort > > http://www.peektraffic.eu > <graycol.gif>Jens Fahnenbruck <fa...@me...> > > Jens Fahnenbruck <fa...@me...> > 03-06-2009 13:19 > > <ecblank.gif> > To > <ecblank.gif> > sum...@li... > <ecblank.gif> > cc > <ecblank.gif> > <ecblank.gif> > Subject > <ecblank.gif> > [sumo-user] Get numerical ID of a road/edge > <ecblank.gif> <ecblank.gif> > > Hello, > > I am experimenting with sumo and I try to get usefull information out > of sumo via a traci-client. > > I have already succeded in getting the routes for all cars in the > network via the scenario command. The routes are space seperated lists > of strings with the names of the edges on the route. > Now I want to get further information about the edges of the route. I > want to do this with the scenario command too, but to do this i need a > numerical ID of the road, not the string representative. But I haven't > figured out how to do this. > > Can anybody out there help me? > > Kind regards > > Jens Fahnenbruck > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the > latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > _______________________________________________ > sumo-user mailing list > sum...@li... > https://lists.sourceforge.net/lists/listinfo/sumo-user > <21825792.gif> > |