Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] od2trips vehicle restrictions

od2trips doesn't read a networks and thus doesn't take into account permissions.
You can use  https://sumo.dlr.de/docs/Tools/District.html#filterdistrictspy to obtain a suitable taz for each vClass.

Am Mi., 2. Apr. 2025 um 16:23 Uhr schrieb Federico De Falco via sumo-user <sumo-user@xxxxxxxxxxx>:
Hi everybody,

I am using od2trips to generate trips from a O/D and a TAZ file. My problem is that a TAZ may contain some edges that does not allow all types of vehicle. 
For example, in my case a TAZ contains some source/sink edges (the source/sinks are described in .add.xml file ... is this taken into account by od2trips?) that does not allow passenger vehicles. This is the command I am using:

od2trips --taz-files test.taz.xml -z tazCount.xml -o odOutput.xml

where the test.taz.xml looks like this:

<taz id="taz_0" color="blue" edges="-23393174#0 -454892515#2 23393174#0 454892515#2"/>

and the tazCount.xml like this:

<tazRelation from="taz_0" to="taz_2" count="41"/>

then I want to use duarouter (I am using the command duarouter -n test.net.xml --route-files odOutput.xml -o duarouter.rou.xml ) but I get some errors like Error: Vehicle '2620' is not allowed to depart on edge 'E243'. . Edge E243 in fact allows only trucks.

How can I solve this problem?

Thank you


 

 


FEDERICO 

DE FALCO 


Researcher
 

 

MISTER Smart Innovation
laboratoriomister.it 

Tecnopolo Bologna CNR 

tecnopolo.bo.cnr.it 

 

 

PHONE 

 

+39 051 639 9984

EMAIL 

defalco@xxxxxxxxxxxxxxxxxxxx 

ADDRESS 

Tecnopolo Bologna CNR 

 

Via Piero Gobetti, 101 

 

40129 - Bologna, Italy 

PRIVACY 

policy


 

LET’S CONNECT 

 

 MISTER

 

Tecnopolo


 

 








 

_______________________________________________
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