Skip to content

skinhat/gtfs-query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gtfs-query

System to import Googles GTFS data into a database and allowing querying via a website. Uses Steffen Martinsen php-gtfs-mysql tool to import into a database. This system can only search single legs at a time and does not join routes. For example if you need to get to point B and you need to take a bus to point C to get to point B this system will not work. I have made this project open source so that hopefully someone might want to make a more elaborate system.

At demo site is at http://skinhat.com/gtfs-query

Instructions

  1. Put source onto web server
  2. Create a database to put the GTFS data into eg travelangency-gtfs
  3. Put your GTFS data into gtfs-query/php-gtfs-mysql/gtfs (by default it is Googles test data)
  4. Go to http://localhost/gtfs-query/php-gtfs-mysql and enter the database name and its username and password and click yes to create and import the tables
  5. Got to http://localhost/gtfs-query/ to do a query. To see some results try departure 'Nye County' and arrival 'Bullfrog' at time '07:00'

About

GTFS importer and querying

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors