Hi Vidura, Use
traci.junction.getIDList() to get a list of all junctions (and the corresponding IDs in the network). As I'm quite new to this as well and I am not sure whether there are some exceptions of what I've seen so far this is not a direct answer to your question but may help anyways. Regards, Marcus > Am 25.11.2014 um 13:35 schrieb Vidura Amarakoon <[email protected]>: > > What will happen at a junction What will be the road ID I will get ? > > On Mon, Nov 24, 2014 at 1:12 PM, Jakob Erdmann <[email protected]> > wrote: > >> see the updated wiki page: >> http://sumo.dlr.de/wiki/Tools/Sumolib#usage_examples >> >> 2014-11-23 4:54 GMT+01:00 Vidura Amarakoon <[email protected]>: >> >>> I got it working using net. convertLonLat2XY() >>> But it returns a set of edges withing a circle. What I want to find is >>> only a single edge given the lon/lat coordinates. >>> Is this possible ? >>> >>> On Fri, Nov 21, 2014 at 7:58 PM, Jakob Erdmann < >>> [email protected]> wrote: >>> >>>> see the examples at http://sumo.dlr.de/wiki/Tools/Sumolib >>>> >>>> 2014-11-21 5:56 GMT+01:00 Vidura Amarakoon <[email protected]>: >>>> >>>>> Hi, >>>>> >>>>> Can I find the road IDs in sumo map by GPS coordinates. I'm using sumo >>>>> with >>>>> ns3. In ns3 I can only get GPS coordinates. Any idea ? >>>>> >>>>> Thanks >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >>>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >>>>> with Interactivity, Sharing, Native Excel Exports, App Integration & >>>>> more >>>>> Get technology previously reserved for billion-dollar corporations, FREE >>>>> >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >>>>> _______________________________________________ >>>>> sumo-user mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
