Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.
/ gtfs-to-sql Public archive

A SQL load script for importing General Transit Feed Specification (GTFS) files into an SQL database.

License

Notifications You must be signed in to change notification settings

jamesrwilliams/gtfs-to-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

GTFS to SQL

A SQL load script for importing General Transit Feed Specification (GTFS) files into an SQL database.

Before you start

Edit the file to ensure the database name and file locations are correct.

The script by default expects the script to be run along side a /data directory with the GTFS text files inside. This path can be changed in the various LOAD DATA LOCAL INFILE lines at the bottom of the SQL script.

Running the loader

Example usage:

cat load-gtfs.sql | mysql -p -u root

Useful Links

About

A SQL load script for importing General Transit Feed Specification (GTFS) files into an SQL database.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages