Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Wrong calculation of edge length

Hello,
you have created a network without internal lanes. In this case the the edges are declared artificially longer to ensure correct travel times. (see http://sumo.dlr.de/wiki/Simulation/Intersections#Internal_links) If you remove the option --no-internal-links the network will be built as you have described above.
Also, you can use netedit to declare any edge length you like.

regards,
Jakob

2018-05-02 20:51 GMT+02:00 Hugh Yu via sumo-user <sumo-user@xxxxxxxxxxxxxxxxxxxxx>:
Hi, I'm trying SUMO version v0_32_0+1291-b5fae6b125. I have found that the
length and the shape coordinates of a lane are not consistent. As shown in
the attached net file, the length should be 100-11.1=88.9 instead of 100.
Maybe it's because of the intersection. But can we set the exact edge
length?
 <edge id="-gneE27" from="gneJ11" to="gneJ29" priority="1">
        <lane id="-gneE27_0" index="0" speed="15.00" length="100.00"
shape="-192.00,11.10 -192.00,100.00"/>
        <lane id="-gneE27_1" index="1" speed="15.00" length="100.00"
shape="-195.20,11.10 -195.20,100.00"/>
        <lane id="-gneE27_2" index="2" speed="15.00" length="100.00"
shape="-198.40,11.10 -198.40,100.00"/>
 </edge>

Thanks,
Chunhui
--
俞春辉
Chunhui Yu

Ph.d Candidate
Dept. of Comprehensive Traffic Information and Control Engineering
School of Transportation Engineering
Tongji University, Shanghai, P.R.China

Tel: (001) 734-999-7418

Website: http://www.yxggroup.com/ViewMember.aspx?ID=92

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top