Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Routesampler: Depart / Arrival restrictions

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:
image.png
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


Back to the top