Skip to main content

GTFS Database

Project description

Supported Databases

  • PostgreSQL (PostGIS for Geo tables) - preferred

  • Oracle - tested

  • MySQL - tested

  • SQLite - tested

Installation

All

Linux

Clone the gtfsdb repository, then run easy_install . at the top level. Or, set up a virtualenv and run python setup.py develop.

Windows

Usage

The GTFS file being used is assumed to be valid.

Example load of GTFS sample into SQLite:

gtfsdb-load http://code.google.com/transit/spec/sample-feed.zip

Example load of GTFS sample into PostgreSQL with PostGIS enabled:

gtfsdb-load –database_url postgresql://postgres@localhost –is_geospatial

http://code.google.com/transit/spec/sample-feed.zip

Note: using the is_geospatial arg will take much longer to load

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gtfsdb-0.1.5.zip (143.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page