Question

If by chance ... GTFS to graph ?

  • 9 April 2019
  • 1 reply
  • 9 views

Badge +1

Hello !

Before going deep into this, I would like know : is there a simple way to read a GTFS, then "translate" it into a graph structure, and write the graph into file ? (XML, GraphML, JSON, GraphJSON, other ?)

 

 

Thanks in advance !

1 reply

Badge +3

@mickael

 

You can probably, using fme network oriented transformers and helpers. Using Topology builders, networkcostcalculators etc.

Helpers like snappers and intersectors etc..

 

Using python through fme.

You could use for instance peartree. Which you can download at (am I allowed to say .."GitHub" ?).

peartree: A library for converting transit data into a directed graph for network analysis.

 

 

Reply