Hi Jakob,

That works, thank you again for your quick reply. I thought I tested that 
format but upon re-checking I found that it was a mistake on my part as the 
lane the car was attempting was -166522670#1 and not 166522670#1. Using the 
comma separated approach with the corrected edges means the vehicles are no 
longer attempting to route along cycle paths.

I apologise for the oversight on my side and again thank you for your help.

Kind regards,

Barry

From: [email protected] <[email protected]> On Behalf 
Of Jakob Erdmann
Sent: 12 August 2019 13:34
To: Sumo project User discussions <[email protected]>
Subject: 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 
<[email protected]<mailto:[email protected]>>:
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<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance&data=02%7C01%7CB.Evans%40exeter.ac.uk%7Cbc85fe50ea39465df2f908d71f2161a8%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637012100654310911&sdata=hbhEElRccZmBgy1TK1O1zXeATwep752rFL3Ls8Oh5uk%3D&reserved=0>"
 
xsi:noNamespaceSchemaLocation="http://sumo.sf.net/xsd/sumoConfiguration.xsd<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsumo.sf.net%2Fxsd%2FsumoConfiguration.xsd&data=02%7C01%7CB.Evans%40exeter.ac.uk%7Cbc85fe50ea39465df2f908d71f2161a8%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637012100654320904&sdata=J95ghHZ8ISXQNzxF4wQpA5Ek0OWwbGp5BcWcW6cRkkA%3D&reserved=0>">

                <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
[email protected]<mailto:[email protected]>
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=02%7C01%7CB.Evans%40exeter.ac.uk%7Cbc85fe50ea39465df2f908d71f2161a8%7C912a5d77fb984eeeaf321334d8f04a53%7C0%7C0%7C637012100654320904&sdata=y4mb5S6pPfeVDgfL8wjiJmrqIaqK2SW%2F4JcUtuRZox4%3D&reserved=0>
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to