Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Editing existing PT routes in Netedit

1. run  netedit -s osm.net.xml.gz -a osm_stops.add.xml -r osm_pt.rou.xml
2. enter demand mode (F3)
3. Either navigate between routes using the "Locate->Route" menu or find them directly in the view.
routes are hidden when you are zoomed out too far. either zoom in or increase their size using gui settings (F9->vehiles->exaggerate by)

The Netedit UI is currently not well-suited for editing an existing route with stops (https://github.com/eclipse-sumo/sumo/issues/17019).
With the current version, your best approach is to define a new route with the desired stops and the assign the new route a vehicle or flow.

In create-route mode it is sufficient to click on the desired stop edges (or additional via-edges to constrain the route) and netedit will add the intermediate edges automatically
Then you can add stops over busStops to the existing route by selecting the desired route as parent element and clicking on the stops (in the correct sequence!).

regards,
Jakob


Am Do., 21. Aug. 2025 um 13:29 Uhr schrieb Max Smilovitskiy via sumo-user <sumo-user@xxxxxxxxxxx>:
Hi!

I am currently trying to model a bus network in one of Eastern European towns. To achieve that, I am using --ptstop-output and --ptline-output options for netconvert, in order to extract existing public transportation lines from an osm map. 
These work very well, however the problem is that some of the ptlines are incorrectly defined in osm. I have been trying to find a way to manually edit them in Netedit (so that I don't have to draw them by hand from the ground up), but I honestly could not find a way to do that in the Netedit GUI neither by trying options myself, nor by looking them up on the web or in the Docs. My questions are hence the following:
1. Is there a way to manually edit an existing PT route in Netedit? If yes, can you please hint at which sequence should I be following to achieve that?
2. A supplementary question: is there a way to see a full list of pt routes in Netedit GUI and navigate between them?

My SUMO build is 1.24.0, Build features: Linux 5.15.153.1 (WSL2)

Thank you!

Kind regards,
Max  
_______________________________________________
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