Skip to content

Parses a GTFS feed into an SQL database

Notifications You must be signed in to change notification settings

marcusyoung/GtfsToSql

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GtfsToSql

Parses a GTFS feed into an SQL database

Installation

If you're using Eclipse, you need to:

  1. File, Import
  2. Select 'Existing projects into workspace'
  3. Select the directory in 'Select root directory'

Usage

java -jar GtfsToSql.jar -s jdbc:sqlite:/path/to/db.sqlite -g /path/to/extracted/gtfs/

Notes

  • Only supports Sqlite and PostgreSQL currently
  • GTFS file must be extracted already
  • All columns are mapped saved as 'text' (that is, not parsed, modified or typecast)

Table names are the same as filename in the GTFS file (without the .txt)

About

Parses a GTFS feed into an SQL database

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • Java 100.0%