Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 747 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 747 Bytes

loader:gtfsdb

purpose: check to see if the cached GTFS .zip files have been updated, and if so, load them into [gtfsdb](http://gtfsdb.com}. The ./config/app.ini file controls the list of gtfs feeds cached, and the db details.

run: bin/gtfsdb_load (optional -ini .ini | force_update)

Note: this system assumes a PostGIS environment, with geom columns available for stops and routes tables.

Note: the config is set up for a PostGIS geo database, where gtfsdb will create route and stop geometry columns http://postgis.net/docs/postgis_installation.html#create_new_db_extensions run scripts/create_db.sh to create a PostGIS db called 'ott' with db user 'ott'