An open API service indexing awesome lists of open source software.

https://github.com/pgrouting/gtfs2pgrouting

Import GTFS data into Postgresql database for use by pgrouting
https://github.com/pgrouting/gtfs2pgrouting

Last synced: about 1 year ago
JSON representation

Import GTFS data into Postgresql database for use by pgrouting

Awesome Lists containing this project

README

          

gtfs2pgrouting
==============
This is an importer tool that uses postgresql c library to load GTFS data in the form of CSV files into Postgresql database.
[GTFS](http://code.google.com/transit/spec/transit_feed_specification.html) is the de-facto standard for transit data. The database schema is designed to follow the specifications as strictly as possible. The purpose of this tool is to enable pgrouting users with an easy way to import GTFS data into the database and use the newly developed 'Multi-modal public transport Routing' library.

Source Code
------------
It can be open within any text editor

Install
-------
1. `make` # Invoke GNU Make utility
2. `` # There is no second step.

Executing
---------
1. `./gtfs2pgrouting -h` # provides a detailed list of all the options available
A common scenario is to specify the database name and path to the gtfs data like this:
`./gtfs2pgrouting -d mydatabase /home/user/Downloads/transit_data`