Building infrastructure for emerging markets is rarely about shiny new frameworks; it is about solving logistical nightmares with whatever data you can scrape together. Developer BirukD is currently building "Smart Transit," an AI-powered Smart Bus Transportation System (SBTS) designed for Sheger Bus in Addis Ababa, Ethiopia. The project aims to fix the chronic uncertainty passengers face when waiting for buses, but the current build is a solid foundation that honestly admits it is still missing the most critical ingredient: live telemetry.
The Data Foundation and Honest Limitations
The system is built on a robust tech stack featuring Python for data processing, FastAPI for the backend, React for the frontend, and PostgreSQL with PostGIS for spatial queries. BirukD leveraged Addis Ababa GTFS data obtained through AddisMap and DT4A, which includes 2,259 bus stops, 442 routes, and 881 trips. However, a crucial caveat defines the current state of the project: the GTFS data is static. It describes the planned network geometry, but it does not capture real-time movement. Without live GPS feeds from the buses, the system can map where the buses *should* be, but not where they actually are.
Admin Dashboard and ML Strategy
The first tangible output is an operations dashboard for transport administrators, organized by infrastructure setup, resource registration, daily dispatch flows, and live overviews. This allows operators to monitor incidents and fleet status at a glance. For the AI component, the plan is to treat arrival time prediction as a regression problem using a GradientBoostingRegressor from scikit-learn. The proposed features include time of day, stop sequence, distance to the next stop, and recent delays. The developer has sketched out the model training code but notes it is illustrative only, as it has not yet been trained on real historical travel time data from the city.
Key Takeaways
- The project uses a modern, practical stack: FastAPI, React, and PostgreSQL/PostGIS.
- Current GTFS data is static; live GPS integration is the next major hurdle.
- Arrival prediction is modeled as a regression problem using GradientBoostingRegressor.
- The admin dashboard is complete, focusing on fleet and incident management.
The Bottom Line
This is a textbook example of good engineering discipline: build the admin layer and data pipeline first, but don't pretend the AI works until you have the signal. Smart Transit is a promising open-source blueprint for transit tech in developing cities, provided the developers can actually secure those GPS streams from the bus fleet.