Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] R: od2trips vehicle restrictions
  • From: Federico De Falco <defalco@xxxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 14 Apr 2025 11:07:52 +0000
  • Accept-language: it-IT, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=laboratoriomister.it; dmarc=pass action=none header.from=laboratoriomister.it; dkim=pass header.d=laboratoriomister.it; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/TzwEc0FxenLYtbWxMNLi3H+6CDRSGTbynZH1MKIN24=; b=OXXIE/4rVZNtwAAPo/D4OrYnJo9OHXTLFu7Gq7yjcTxNy/F4uWHL4PNKLsZ7b5rOTWBtpugi/dHXh3jjpLzmM/2yI4hG5rMreIr4jxi5btvC5v3DVOuVMeHbLba3+qsrDeaoqeGjh9GjMAzlV1BEy5sAZjmK7GR2VPWjQMCcSoSNMy24YQ+RGDYZC05ypudGw+v+y7HIGHsgHZ1iKfyUzyJ89bHW2QkHeaRD85vrYEzlWaK9+ydCOi2IQvcY98vRG4Nsd4J8iRyOP5F4EVR+8lmzoFxHHbRpACKx4O9dGJDzUEVtF/oAQiOM7nN+s+cEOt/kmv4jBLVgq3Lnmj9Q2Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=hYbCwFV+79a+7zK1xcUHhEON2r/glOiqUSbjH1MP91vCxbRrrpGb0ievURXWNacjjSRoLlqYERSwjmFvliWkD4iy9lRoDVuhqIAYgHxhccvirbQw1GCPV7I0tjGs2Y3wRMuLz1PmkSm7LY/NQPvbC7YeVoUFx75Vv6gJ0vma6xF6vdTTFBDlpT7wmwzrIr0PkQuZewCW6L82OxnsLlbPX3UofSepgLAbANJgEAYL9DNiHl6LzaGY3q/eEj8ML/zjln5rEY5a2cehvujXt6NKs9YGDse5P/xOomMIns6eMpo584vBNHVvTqwzxyn55dOnNbMvrLuzFPyx4xx0RJvFNg==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user/>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Msip_labels:
  • Thread-index: AQHbo9m0CBBbb8qamEGdrAQNojKH37OQfo4AgBKTcXw=
  • Thread-topic: [sumo-user] od2trips vehicle restrictions

Hi,

your solution worked, thank you!
Now I am facing another problem related to this one. I draw TAZs in netedit's TAZ mode, and I chose some edges that are sources and other taht are sinks, that are saved into a .add.xml file. Anyway, when I use od2trips and pass the filtered taz file as a parameter it contains all the edges, without any information about sources/sinks, and thus tries to generate trips that start from wrong edges.
Is there a way to generate trips from OD taking into account both sources/sinks and the vehicles allowed on each edge?

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


 

 








 


Da: sumo-user <sumo-user-bounces@xxxxxxxxxxx> per conto di Jakob Erdmann via sumo-user <sumo-user@xxxxxxxxxxx>
Inviato: mercoledì 2 aprile 2025 17:23
A: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Cc: Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Oggetto: 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