There is a issue. In a two way road I get both edge IDs ,what ever the x,y
coordinates are. How to find the exact road Id in this situation ?

For example I get this for a bidirectional road. I want only a single edge
<edge id="-44502616#4" from="60694268" to="1545562673"/>
<edge id="44502616#3" from="1545562673" to="60694268"/>


On Tue, Nov 25, 2014 at 7:07 PM, Marcus Müller <
[email protected]> wrote:

> 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

Reply via email to