Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Lane specific weights for routing

You can get an example for using lane weight files from our test suite: https://sumo.dlr.de/extractTest.php?path=duarouter/function/routing/lane_weight_files
Note, that all this does is take the average of lane values and use this for the edge. The routing itself is always edge based.
If you want to take into account different speeds for different modes (i.e. because they use dedicated lanes), you might find sumo option --device.rerouting.bike-speeds useful.
regards,
Jakob

Am Do., 29. Feb. 2024 um 10:12 Uhr schrieb Henri Grossmann via sumo-user <sumo-user@xxxxxxxxxxx>:

Dear everyone,

I'm interested in configuring lane-specific weights for routing. I've been able to successfully set up routing with edge weights using the following format.

<meandata> <interval begin="0" end="3600" id="whatever"> <edge id="edgeID1" traveltime="23"/> <edge id="edgeID2" traveltime="1000"/> </interval> </meandata>

However, when I attempt to incorporate lane-specific weights by adding lane IDs, the setup doesn't work anymore. Could you please advise on the proper way to set this up? According to the documentation which describes the input “--weight-files <FILE>”, loading edge/lane weights for online rerouting from FILE should be possible.

<meandata> <interval begin="0" end="3600" id="whatever"> <edge id="edgeID1"> <lane id=“laneID1" traveltime="1000"/> <lane id=“laneID2" traveltime=“800"/> </edge> </interval> </meandata>

Your help is highly appreciated.

Best,

Henri

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top