How croyla/jctsl-gtfs works
This repository is a command-line JCTSL bus-data-to-GTFS generator. Its workflow collects route, stop, and schedule data from Omnificent APIs (or loads existing raw data), processes route and stop information, generates trips and GTFS files, and creates a ZIP feed. The excerpts show collection and output orchestration, but omit much of the processing and CLI implementation; those internal links are therefore not asserted.
Main entry points: generate_gtfs.py GTFS generator · raw Raw route data · gtfs_output GTFS text files · jctsl_gtfs.zip GTFS ZIP feed
Components 10
Data collection
- GTFS generator
generate_gtfs.py - Omnificent APIs
- Raw route data
raw
GTFS processing
- Route and stop processing
generate_gtfs.py - Route direction merging
generate_gtfs.py - Trip generation
generate_gtfs.py
Feed outputs
- GTFS text files
gtfs_output - GTFS ZIP feed
jctsl_gtfs.zip - Route mapping JSON
route_mappings.json
Other components
- CLI operator
Connections 10
- CLI operator → GTFS generator: runs
generate_gtfs.py - GTFS generator → Omnificent APIs: fetches data
generate_gtfs.py - GTFS generator → Raw route data: saves responses
generate_gtfs.py - GTFS generator → Route and stop processing: processes data
generate_gtfs.py - Route and stop processing → Route direction merging: provides routes
generate_gtfs.py - Route direction merging → Trip generation: provides sequences
generate_gtfs.py - GTFS generator → Trip generation: generates trips
generate_gtfs.py - GTFS generator → GTFS text files: writes files
generate_gtfs.py - GTFS generator → GTFS ZIP feed: creates archive
generate_gtfs.py - GTFS generator → Route mapping JSON: writes mapping
generate_gtfs.py