Importing GTFS
If accessibility measures for public transport shall be computed, UrMoAC requires the representation of the public transport offer within the region in form of GTFS data. GTFS data comes as text files. For using it with UrMoAC, it has to be imported into the database. The script importGTFS.py does this.
importGTFS.py is called like the other UrMoAC import scripts:
python importGTFS.py <INPUT_PATH> <HOST>,<DB>,<SCHEMA>.<PREFIX>,<USER>,<PASSWD>
Where:
- <INPUT_PATH>: the path to the folder the GTFS files are located within;
- <HOST>: the name of your database server;
- <DB>: the name of your database;
- <SCHEMA>: the database schema to store the database tables at;
- <PREFIX>: a prefix for the database tables;
- <USER>: the name of the user who has access (can generate tables and write into them) the database;
- <PASSWD>: the password of the user.