Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Add bus stops

Good evening!

The city where I'm running the simulation doesn't have GTFS data.

Is it possible, using randomtrips.py, to create a route where buses stop at intermediate bus stops? In the help function, I saw that there are the functions: --from-stops and --to-stops for start and end.

If not using randomtrips.py, what would be the most appropriate method to create routes using bus stops that could later be used in routesampler.py?

Sds,

Pedro Oliveira

Não contém vírus.www.avast.com

Em ter., 2 de dez. de 2025 às 03:31, Jakob Erdmann <namdre.sumo@xxxxxxxxx> escreveu:
The only way for routeSampler to create traffic with stops, is to load input routes with stops and set option --keep-stops.
Note, that for many cities, importing GTFS data is a better option than building bus traffic with routeSampler.

Am Di., 2. Dez. 2025 um 03:16 Uhr schrieb Pedro Oliveira <pedro.engenhariae@xxxxxxxxx>:
Good evening!

One alternative that was implemented was to simplify the bus routes in NetEdit and generate the flow in vehicles/hour, then edit the XML file to include the bus stop information.

I would like to take this opportunity to ask another question. In a situation where the bus flow is calibrated using routesampler.py, what is the procedure to ensure that when the flow is generated, the buses stop at the bus stops?

Sds,

Pedro Oliveira 

Em seg, 1 de dez de 2025 04:32, Jakob Erdmann <namdre.sumo@xxxxxxxxx> escreveu:
There is no ready-made tool for this conversion and it depends on how you came up with the original stops in the first place.
The easiest thing would be automated search/replace if the busStops have a naming scheme that is based on the lanes/edges on which they are placed.

Am Fr., 28. Nov. 2025 um 03:05 Uhr schrieb Pedro Oliveira via sumo-user <sumo-user@xxxxxxxxxxx>:
Good evening!

We have a network of buses circulating within it. Initially, we simulated it without bus stops, and now we've added them. I'd like to know if there's a practical method to rewrite the bus routes so that all buses stop at the bus stops along their routes.

Sds,

Pedro Oliveira

Não contém vírus.www.avast.com
_______________________________________________
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