Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Public transport importation from OSM error

Hi.
I'have imported a map from OSM and I want to insert public transport in it, importing those defined in the osm in SUMO.
I have followed the instruction from https://sumo.dlr.de/wiki/Tutorials/PT_from_OpenStreetMap#Initial_network_and_public_transit_information_extraction

but it gives me lots of error.

The error log of this command is in the attached file netconvert.error.log
netconvert --osm-files osm.xml -o net.net.xml --osm.stop-output.length 20 --ptstop-output additional.xml --ptline-output ptlines.xml
The log for the next command is in ptlines2flows.error.log
python3 ptlines2flows.py -n net.net.xml -s additional.xml -l ptlines.xml -o flows.rou.xml -p 600 --use-osm-routes
The problems are:
1) most of the bus lines are removed, even if the map is bigger enough to contain all the bus route.
2) sometimes trams and busses do strange and non realistic turnaround or disappear
3) how can I set a beginning and ending time for flows in ptlines2flows.py? I can't find any documentation page
Thank you.

Regards.
Alex

Back to the top