Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] PTFS import generates nothing

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
 https://verkehrswende-le.de
 ........................................................




Back to the top