Skip to main content
Question

If by chance ... GTFS to graph ?

  • April 9, 2019
  • 1 reply
  • 36 views

mickael
Forum|alt.badge.img+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

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • April 9, 2019

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

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings