Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] DFRouter Disallow Edges Issue

Use a ',' to seperate the edge ids.

Am Mo., 12. Aug. 2019 um 14:30 Uhr schrieb Evans, Barry <B.Evans@xxxxxxxxxxxx>:

Hi all,

 

I have another question about DFRouter. I am now able to generate flows within my network but I have noticed that some of the routes generated try to route cars (my default vehicle type) along cycle lanes. As they cannot move across these lanes the traffic prior to these locations gets stuck. I have tried setting the “disallowed-edges” option but I’ve noticed the following:

 

If I disallow one edge such as with the following line in my config file:

 

<disallowed-edges value="194003839#0"/>

 

DFrouter will prevent that edge being used when creating the routes which is great. However, if I try to disallow more than one edge like as shown below:

 

<disallowed-edges value="194003839#0 166522670#1"/>

 

None of the edges are disallowed and DFRouter again generates routes that try to routes along both of these cycle lanes.

 

Is there a way to prevent DFRouter from creating routes that travel along these lanes? Below is a copy of my full config file for reference.

 

Any help would be greatly appreciated.

 

Kind regards

 

Barry

 

<?xml version="1.0" encoding="iso-8859-1"?>

 

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.sf.net/xsd/sumoConfiguration.xsd">

 

                <input>

                                <net-file value="MyRoads.net.xml"/>

                                <detector-files value="NewDetectorsV2.det.xml"/>

                                <measure-files value="MyDetectorFlow.csv"/>

                </input>

 

                <output>

                                <emitters-output value="NewEmitters.xml"/>

                                <routes-for-all value="true"/>

                                <routes-output  value="Newroutes.rou.xml"/>

                </output>

 

                <processing>

                                <guess-empty-flows value="true"/>

                                <revalidate-routes value="true"/>

                                <disallowed-edges value="194003839#0 166522670#1"/>

                </processing>

 

</configuration>

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

Back to the top