Open source
All of OpenTransit Lab is licensed under the Apache License 2.0. You can read, run, change and share it.
What is in the repository
services/planning: the Planner (Python): data pipelines, access analysis, gap index, demand model, zone suggestion, scenario compare, calibration.packages/dispatch: the dispatch and pooling engine, with a property-based test that no service constraint is ever violated.packages/funding: the cost model, funding-stack engine and double-entry ledger, with a test that forbids per-ride commissions.packages/gtfs: GTFS, GTFS-Flex, GTFS Realtime and NTD-style exports.apps/*: the public site, agency console, rider and driver apps, API and worker.city-packs/: one folder per city. Add a city withpnpm opentransit city:new <slug>.
Open data out
- GTFS with GTFS-Flex (
locations.geojson,booking_rules.txt) for zone-based service. - GTFS Realtime vehicle positions and trip updates.
- National Transit Database (NTD)-style monthly summary for demand-response service (a preparation aid, not an official filing).
- Anonymized trip files: trip ends coarsened to H3 resolution 8 and times to 15 minutes. The agency owns this data.
- Planner outputs as GeoJSON and CSV with a methods note.
API
The REST API is described by an OpenAPI specification at api.opentransitlab.org/docs, so other agencies and vendors can integrate.