Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Problems with the gtfs2pt.py Script

Dear SUMO Team,

currently I am importing public transport GTFS Data with SUMO 1.14.1

I call the script:  
python3 /usr/share/sumo/tools/import/gtfs/gtfs2pt.py -n osm.net.xml --gtfs google_transit.zip
--date 20220627

and I get mainly 3 files:

gtfs_pt_stops.add.xml  
gtfs_pt_vehicles.add.xml
vtypes.xml
Now I face the problem, that vehicle definitions from
gtfs_pt_vehicles.add.xml point to route_ids in gtfs_pt_stops.add.xml where the ids don't match

 <vehicle id="65_10.UJ.30-65-j22-1.1.H.0" route="10.UJ.30-65-j22-1.1.H" type="bus" depart="23150" line="65_10.UJ.30-65-j22-1.1.H"/>

 <route id="65_14.UJ.30-65-j22-1.2.H" edges="-23021395#0"><stop busStop="-23021395#0:35.04" duration="10" until="0"/></route>

Id conflict:

10.UJ.30-65-j22-1.1.H   vs.  65_10.UJ.30-65-j22-1.1.H

After manually correcting the ids the model works fine.

Best regards,

Emanuel

-- 

__________________________________________

 

Dipl. -Phys. Emanuel Reichsöllner

Wissenschaftlicher Mitarbeiter

 

Hochschule Esslingen

University Of Applied Sciences

Fakultät Informationstechnik

 

Fraunhofer Anwendungszentrum KEIM

(Kompetenzzentrum für energetische und informationstechnische Mobilitätsschnittstellen)

 

Raum F01.405

Flandernstr. 101

73732 Esslingen

 

Email:  emanuel.reichsoellner@xxxxxxxxxxxxxxx

Tel.: 0711/397-4207

Web:  http://www.hs-esslingen.de

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top