GTFS - General Transit Feed Specification

Added in version 3.7.

Driver short name

GTFS

Driver built-in by default

This driver is built-in by default

This driver can read a .zip archive containing text files following the GTFS specification.

The driver presents layers with their original structure, and:

  • enhances the stops layer with Point geometries

  • enhances the trips layer with LineString geometries reconstructed by joining the trips layer with stops and stop_times layers

  • expose a shapes_geom layer, if the optional shapes is present by constructing LineString geometries.

Open syntax

The connection name can be:

  • a .zip filename containing GTFS .txt files

  • a directory name prefixed with GTFS: (potentially a /vsizip/path/to/the.zip filename prefixed with GTFS:)

Alternatively, starting with GDAL 3.10, specifying the -if GTFS option to command line utilities accepting it, or GTFS as the only value of the papszAllowedDrivers of GDALOpenEx(), also forces the driver to recognize the passed filename.

Driver capabilities

Supports VirtualIO

This driver supports virtual I/O operations (/vsimem/, etc.)