/gtfs2pgrouting

Import GTFS data into Postgresql database for use by pgrouting

Primary LanguageC

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 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