Featured image of post GTFSネットワークデータ変換

GTFSネットワークデータ変換

Convert GTFS transit data to network data

Learn More Use Tool

What is this tool?

Converts GTFS data, a common format for transit information, into network data.

Features

Uses stop information (stops.txt) and stop time information (stop_times.txt) to generate network data in CSV format.

1. stops.txt (used as node information)

VariableDescriptionRequiredUsage
stop_idStop IDYesUsed as node ID (source/target).
stop_nameStop nameYesNode name attribute. Also assigned as origin/destination names for links.
stop_latLatitudeYesNode coordinates.
stop_lonLongitudeYesNode coordinates.
VariableDescriptionRequiredUsage
trip_idTrip IDYesUsed for grouping to identify movements (A to B) within the same trip.
stop_idStop IDYesIdentifies the source and target of each link.
stop_sequenceStop sequenceYesDetermines travel order within a trip (used for sorting).
arrival_timeArrival timeYesCalculates link travel time (next stop arrival - current stop departure).
departure_timeDeparture timeYesCalculates link travel time.

Output data attributes (aggregated/calculated values)

CSV HeaderDescriptionCalculation Method
frequencyNumber of tripsCount of trip_ids traversing the same segment (source to target).
avg_duration_secAverage travel time (seconds)Average travel time for the same segment.

How to use

    1. Upload GTFS files…Load the target files via drag-and-drop or file selection.
    1. Specify the current format…Select whether it is 1 file or 2 files.
    1. Press the convert button…
    1. After conversion, the file is automatically downloaded.

Data formats

  • Input formats
    • GTFS: Stop information (stops.txt)
    • GTFS: Stop time information (stop_times.txt)
  • Output formats
    • CSV (single-file format): Nodes and links combined in a single file
    • CSV (two-file format): Nodes and links in separate files
Last updated on 2026-03-06