1. When you say 'SUMO would crash', do you mean it would quit with an error
message or simply stop working? In the latter case this indicates a bug and
I'd be happy to receive input files for reproducing the crash).

2. the tool ptlines2flows.py (
https://sumo.dlr.de/docs/Tutorials/PT_from_OpenStreetMap.html) which
generates the public transport routes and (synthetic) schedules is somewhat
robust and should be able to function without the osm-routes. All you need
to do is ensure that the busStop objects are correctly placed on your
modified map.  Netedit can help you to find the problematic stops:

- load your modified and stops public transport stop of the unmodified
public transport scenario in netedit (this keeps all the valid stops)
- note the error messages about stops that cannot be loaded
- manually fix the placement of these stops if they are in the area of
interest (if there are lots of stops outside the area of interest it may be
worth to filter those out in an automated manner but that's more
complicated)




Am Di., 17. Jan. 2023 um 17:26 Uhr schrieb Yunhe Zhao <
[email protected]>:

> Hi SUMO Team,
>
> Our team was using SUMO to generate a real-life simulation for a city, so
> we imported data using the osmWizard first without public transit
> info(which could be a mistake). But now we come to the stage where we need
> information about public transport.
>
> The problem is that as we already trimmed down the unwanted part of the
> map, and after iterations of network editing(including joining junctions
> and connection calibrating, etc.), some of the edges and junction ids are
> not the same as we had at the beginning. Now I tried to generate the needed
> files according to the documentation using osm data. And as I added these
> files to the network, e.g. the ptline XML file where the bus stops and line
> information are stored, SUMO would just crash.
>
> My conjecture of the reason is discrepancies of edge id or geo-locations.
> So our question is: would it be possible to import automatically the public
> transit information without having to fix the routes manually?
>
> Thank you and best regards,
> Yunhe
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to