Hello Jakob,

thanks for your answer!
Unfortunately this didn't solve the problem in our case,
as the length was still dependent on the width of the edge.

But the documentation you linked revealed the 'length' parameter for edges.
Setting the length for each edge then did solve our problem.

Regards,
Alexander Weidinger

On 03/15/2016 10:18 AM, Jakob Erdmann wrote:
> Hello,
> The behavior you are seeing is based upon the spreadType of the edge
> (http://sumo.dlr.de/wiki/Networks/Building_Networks_from_own_XML-descriptions#Edge_Descriptions)
> By default, edge geometry is the middle of the two-directional road with
> lanes spreading to the right.
> Vehicles drive in the center of the lane. Hence, with wider lanes you
> get a different turning radius. If you set the edge attribute
> laneSpread="center" than a single lane will be centered on the edge
> geometry and the route length will be independent of the lane width.
> 
> regards,
> Jakob
> 
> 2016-03-14 15:17 GMT+01:00 Alexander Weidinger
> <[email protected] <mailto:[email protected]>>:
> 
>     Hi there,
> 
>     why does the length of a route depend on the width of the lanes.
>     I created a route, with a width of 0.01m and the it has the correct
>     length in total. But if I change the width to 6m the length differs
>     enormously for the total route. It seems, that segments are
>     automatically shortened in curves, which causes this issue.
>     Any ideas on how to resolve this?
> 
>     Regards,
>     Alexander Weidinger
> 
> 
>     
> ------------------------------------------------------------------------------
>     Transform Data into Opportunity.
>     Accelerate data analysis in your applications with
>     Intel Data Analytics Acceleration Library.
>     Click to learn more.
>     http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
>     _______________________________________________
>     sumo-user mailing list
>     [email protected] <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/sumo-user
> 
> 

-- 
Mit freundlichen Grüßen
Alexander Weidinger

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to