Code to convert tulsa transit data to google transit format.
Python Other
Latest commit f22b9bc Jul 15, 2014 @jwhitlock jwhitlock Skip PEP8 of migration
Failed to load latest commit information.
mtta Skip PEP8 of migration Jul 15, 2014
output Move DBF processing to, formalize input and output folders Jul 30, 2011
ttg copymttatogtfs: error log was raising an error Jul 9, 2014
ttgsite Update for new PEP8 flavor in flake8 Jun 30, 2014
.coveragerc QA pass w/ test coverage, PEP8, etc Oct 9, 2012
README Remove dbf and shapefile libraries Jul 1, 2014
README-TRIPPLANNER.rst Update instructions for Apr 7, 2013
fixups.json Switch to fixups.json, try to find best shape fit Jun 26, 2012
key.txt add key for maps api Apr 7, 2012 Convert to Django 1.4.1 Oct 7, 2012 Fix qa_check (nowhere near 100%) Dec 30, 2013
requirements-dev.txt pip install latest transitfeed Jul 9, 2014
requirements.txt Upgrade to multigtfs 0.4.1 Jul 14, 2014


This project is for converting is the code a transit 'signup' from the
Metropolitan Tulsa Transit Authority (MTTA) into a General Transit Feed
Specification (GTFS), that can be used with other transit software such as
OpenTripPlanner.  Our goal is to get this data onto Google Maps and any other
publicly available transit database.

To run the project:

1. Install python, pip, virtualenv, and virtualenvwrapper
2. Run `mkvirtualenv ttg` to create the new virtualenv
3. Run `pip install -r requirements.txt` to download the third-party libraries
4. Install the GeoDjango requirements.  PostgreSQL and PostGIS recommended.
5. Get a copy of the Tulsa Transit Authority's signup data.  It should be a zip file.
6. Change to the `ttgsite` folder, copy `` to ``, change as needed.
7. Back in the main folder, run `./ syncdb; ./ migrate` to create a new database.
8. Run `./ importmttasignup` to import into SignUp #1
9. Run `./ copymttatogtfs 1` to copy SignUp #1 to Feed #1 
10. Run `./ exportgtfs --name 1` to export Feed #1 to
11. Run `` to validate the feed
12. Run `` to view the schedule
13. Run `/ runserver` to start up Django.  The Django admin may be the only interesting part.

Required files for this project
You'll need a signup file from the Tulsa Transit Authority to populate your
database.  Contact John Whitlock or Luke Crouch to get a copy.

Other useful information:


John Whitlock

On freenode: #tulsawebdevs