[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Routesampler: Depart / Arrival restrictions
|
If you set --arrival-attribute or --depart-attribute, only routes that end/start on the corresponding edge will count towards the number of required routes sampled for this location. Thus, the options are only suitable if you actually have some kind of origin/destination dataset (rather than "simple" traffic counts).
Good evening,
I'm modeling a network with traffic counts at intersections and I've discovered that it's possible to add count data to sections (edgedata-files) in a single script. My command looks like this:
"%SUMO_HOME%/tools/routeSampler.py" -a "type=\"carro\" departLane=\"best\" departSpeed=\"max\" departPos=\"random\"" --edgedata-files SecaoCCV.xml --turn-files InterCCV.xml --turn-attribute count_car --prefix c -o cars.rou.xml -r rotas.rou.xml --turn-max-gap 6
The edgedata file looks like this:

Looking at the SUMO tutorial I saw that there are the following options:
--arrival-attribute, --depart-attribute
What would be the difference between adopting an edgedata file with the "entered" option and with these last two options?
If these last two attributes are more suitable, what would the script look like?
Sds,
Pedro Oliveira
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user