City2Graph · Model public transport

Turn a GTFS feed into a travel-summary graph of stop-to-stop service and an origin-destination graph between stops. Mirrors the Transportation panel.

The panel stays inactive until a feed is loaded, so run Import GTFS in Import urban data first. A São Paulo feed ships under examples/GTFS/.

1. Filter the service period

Calendar Start and Calendar End restrict the analysis to a date range. Leave both on All for the whole feed.

Selecting the GTFS service period.

2. Travel summary graph

Aggregates services into a stop-to-stop graph weighted by travel time and frequency.

A travel-summary graph between transit stops.

3. Origin-destination pairs

Top N caps the number of pairs, with 0 meaning no limit. Directed decides whether the OD graph keeps direction.

The OD graph derived from GTFS.

Next steps

Map an OD matrix: external flow data.

Back to top