Hello, the position (0,0) refers to the center of the bottom left junction. Due to the width of the lanes themselves you can have vehicles at negative coodinates. This can be avoided by shifting the whole network like so:
netconvert -s old.net.xml -o shifted.net.xml --offset.x 10 --offset.y 10 regards, Jakob 2014-03-26 17:18 GMT+01:00 Lina Altoaimy <[email protected]>: > Hi All, > > I need help with this. I have created trace files for ns-3 using > traceExporter. > > I have noticed that for some nodes the position has a negative number > -1.65!! My question is there a way in which I can regenerate my trace file > without including these negative numbers?? The other question is that for a > grid map the left bottom corner coordinates is (0,0) so why I do have some > cars moving beyond that?? Can I control such behavior?? If so then how?? > > Thanks in advance. > > Lina > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > 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
