Generate transport posters and an interactive day explorer from GTFS schedules. Try the website or request a city.
Use Python 3.11:
python3.11 -m venv .venv
.venv/bin/pip install -r requirements.txtGelasio and Lato are bundled. No system fonts or local configuration are needed.
Keep downloaded GTFS feeds in ignored gtfs/ and generated files in processed/ or posters/.
Provide a GTFS directory containing routes.txt, trips.txt, stop_times.txt and shapes.txt:
.venv/bin/python main.py --gtfs gtfs/helsinki --place-name helsinki \
--center 60.1706017,24.9414482 --poster --color-scheme pastelThe PDF is written to posters/helsinki-20.pdf. --max-dist sets the vertical half-extent in km (default 20).
Use --poster for A0, or supply both --width and --height.
- Palettes:
pastel(default),default(ivory),inferno(apricot),earthy(green),cool(lavender). --waterand--admin-bordersadd map features. For sea polygons, download the WGS84 water shapefile intooceans/.--creditadds attribution;--logosselects SVGs inassets/logos/CITY/when you are entitled to use them.--heading-fontorCITYLINER_HEADING_FONToptionally overrides Gelasio.- City presets support repeatable batch runs.
For date-aware intensity, use an exported explorer bundle:
.venv/bin/python -m citylines.poster_bundle --bundle processed/explorer/CITY/BUNDLE_ID \
--output posters/city.pdf --credit "Data provider and licence"This uses the maximum scheduled departures in one hour during the bundle's week.
The legacy main.py renderer counts trip records without calendar filtering.
.venv/bin/python -m scripts.build_explorer_demo
.venv/bin/python -m http.server 8765 --bind 127.0.0.1 --directory processed/explorer-demoOpen http://127.0.0.1:8765/. The fictional demo is generated locally; no datasets are stored in the source tree. See export and hosting, host integration and tests.
Code: GPLv3. Example images: CC BY 4.0. Fonts, source data and logos retain their own terms; see credits and marks. Production branding, datasets, analytics and deployment are maintained separately. Inspired by Michael Mueller's GTFS visualisations.