Drupal is a registered trademark of Dries Buytaert
Release: Leaflet 10.4.11 Minor update available for module leaflet (10.4.11). Release: Session Inspector 1.0.8 Minor update available for module session_inspector (1.0.8). Release: Migrate QA 2.0.4 Minor update available for module migrate_qa (2.0.4). Release: CKEditor Description List 3.0.0 Major update available for module ckeditor_descriptionlist (3.0.0). Release: FlowDrop 2.4.0 Minor update available for module flowdrop (2.4.0). Release: JWT Token Refresh 1.0.4 Minor update available for module jwt_token_refresh (1.0.4). Release: ConReg 1.0.0-beta1 First beta version released for module conreg (1.0.0-beta1). Release: AI Image Studio 1.0.0-beta8 New beta version released for module ai_image_studio (1.0.0-beta8). Usage Milestone: Statistics Counter Module statistics_counter crossed 1,000 active installs. Module Revived: Decoupled Router 2.0.7 Module decoupled_router updated after 11 months of inactivity (2.0.7).

This module provides GTFS and GTFS Realtime feeds from the 511 SF Bay Open Data API. It allows you to select transit operators and automatically creates and updates the necessary feed entities for each one. This module simplifies the process by managing feed bookkeeping and integrating with GTFS Utilities and GTFS Realtime modules for data storage and import.

Provisions GTFS and GTFS Realtime feeds from the 511 SF Bay Open Data API. Pick your operators from a list; the module creates the feed entities for each one and keeps them current.

This is a thin provisioning layer. All storage and import work is done by GTFS Core and GTFS Realtime. What it removes is the feed bookkeeping — the URLs, the operator codes, and the three separate feed entities each agency needs.

Features

  • Reads the operator list live from 511 and presents it as a checkbox list, so you are choosing from what the API actually offers rather than transcribing codes from a PDF.
  • Creates a static GTFS feed plus trip-update and vehicle-position realtime feeds for every operator you select.
  • Re-syncs on demand, picking up operators added or renamed upstream.
  • Keeps the API token in a Key entity rather than in exported configuration.
  • Saves settings without syncing, for when you want to line up operators before importing them.

Requirements

GTFS Core 3.x, GTFS Realtime 2.x, Key, and a 511 API token — free, from 511.org. The default rate limit is 60 requests per hour.

Installation

composer require drupal/gtfs_511

Configuration

Store your token as an authentication key at Administration › Configuration › System › Keys. Then go to Administration › GTFS › 511 settings (/admin/gtfs/511/settings), select the key, tick your operators, and choose Save and sync.

Scope

511 SF Bay covers Metropolitan Transportation Commission member agencies in the nine-county Bay Area. The pattern generalises to any regional aggregator with an operator list and per-operator feed URLs. If you build the equivalent for another region, open an issue and we will link it from here.

Maintainers

Maintained by tbcs and jpsalter, supported by FivePaths. These modules run public transit information systems in daily service. Issues and merge requests are welcome, and so are co-maintainers.

Activity

Tracked releases
2
Tracked since
Aug 2026
Latest release
4 days ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
2.0.x-dev Dev Aug 19, 2026
2.0.0 Stable Aug 19, 2026