GTFS is a common format for public transportation schedules.
The General Transit Feed Specification (GTFS) defines a common format for public transportation schedules and associated geographic information. GTFS "feeds" allow public transit agencies to publish their transit data and developers to write applications that consume that data in an interoperable way.
Now, I have a trace in GTFS format, including several .txt
files (tables). How can I import it into MySQL?
With the help of @Shotgun Ninja, @Satya, I make it. Here is what I do.
load.sql
is based ongithub/sbma44/py-gtfs-mysql
, here. The main code is as follows:I share it on GitHub: tisseo_toulouse_gtfs.