Please try again with gtfs2pt from the latest development version. It should work without shapes.txt now. https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version Also, If the osm network defines public transport lines, try to use the OSM route information ( https://sumo.dlr.de/docs/Tutorials/GTFS.html#routes_from_osm)
Am So., 14. Nov. 2021 um 19:11 Uhr schrieb Thomas Gentsch < [email protected]>: > Hello! > I'm fairly new to Sumo, did the following so far (successfully): > 1) osmWebWizard to generate runnable scenario > 2) Repained a few network inconsistencies > 3) Re-generated random demand data using "build.bat" > > Now I'm trying to generate real traffic data by importing GTFS following > https://sumo.dlr.de/docs/Tutorials/GTFS.html > The GTFS szip does not have shapes.txt, so I followed the tutorial ans > applied options as described for "Routes from shortest path". > This does not work, because through gtfs2osm.py it still fails accessing > shapes.txt > > So I set "--skip-fcd" too, which kind of works (some warnings, no errors), > but the generated XML files are effectively empty: > > $ python $SUMO_HOME/tools/import/gtfs/gtfs2pt.py -n osm.net.xml --gtfs > ../LVB-GTFS-Daten-05112021.zip --date 20190904 --vtype-output pt_vtypes.xml > --skip-fcd > Warning: Target lane '242646809#1_1' has multiple connections from > '-28847302'. > Warning: Ambiguity in turnarounds computation at junction '259834446'. > Warning: Found angle of 135.35 degrees at edge '-272938566', segment 3. > Warning: Found sharp turn with radius 8.81 at the start of edge > '-31283960'. > Warning: Found sharp turn with radius 7.77 at the end of edge '-31283962'. > Warning: Lane '-313885921_0' is not connected from any incoming edge at > junction '60021935'. > Warning: The rail crossing '8528855889' does not have any roads. > Warning: 5 total messages of type: Ambiguity in turnarounds computation at > junction '%'. > Warning: 4 total messages of type: Found angle of % degrees at edge '%', > segment %. > Warning: 9 total messages of type: Found sharp turn with radius % at the > end of edge '%'. > Warning: 14 total messages of type: Found sharp turn with radius % at the > start of edge '%'. > Warning: 4 total messages of type: Lane '%' is not connected from any > incoming edge at junction '%'. > Warning: 14 total messages of type: Target lane '%' has multiple > connections from '%'. > Warning: 4 total messages of type: The rail crossing '%' does not have any > roads. > Success. > Warning! No mapping library found, falling back to tracemapper. > > Also tried "--modes bus" as in the tutorial (and there are Bus lines in my > network), does not change anything. > > The XML contain some container tags but real data, e.g.: > ... > <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"> > </routes> > > Any ideas? Many thx!! > Thomas > > -- > ........................................................ > Thomas Gentsch > Verkehrswende Leipzig > 0173 6620507 > https://verkehrswende-le.de > ........................................................ > > > _______________________________________________ > 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
