Skip to main content

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

Hi Emanuel,
this sounds like a bug to me. Can you share your files?

Best regards,
Michael

Am 09.09.22 um 16:22 schrieb Reichsöllner, Emanuel:
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*

(*K*ompetenzzentrum für *e*nergetische und *i*nformationstechnische *M*obilitätsschnittstellen)

Raum F01.405

Flandernstr. 101

73732 Esslingen

Email: emanuel.reichsoellner@xxxxxxxxxxxxxxx <mailto:emanuel.reichsoellner@xxxxxxxxxxxxxxx>

Tel.: 0711/397-4207

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


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user



Back to the top