Search code examples
graphdata-conversiondirected-graphgtfs

GTFS to graph conversion?


I aim to "translate" GTFS files (non realtime) into directed graphs. Is there any API / tool that can do that easily ? I would like to create a graph per route in my GTFS, and then store it into a file.

So far I made a few tests using Python and pygtfs, or R and gtfsr, but none seems to be able to make that conversion.


Solution

  • You can try peartree. Their websites says: "peartree is a library for converting GTFS feed schedules into a representative directed network graph."