Product Brief · Kampala, Uganda · 2026

TRACE

Terrain Runoff Analysis & City Engineering. An AI-powered smart drainage intelligence platform for Kampala.

01Executive Summary

Kampala, Uganda faces a severe and growing urban flooding crisis. Roads overflow during heavy rains, infrastructure is damaged, and lives are lost — all due to an outdated and poorly understood drainage system.

TRACE is a zero-cost, open-source platform combining AI-driven 3D terrain modeling, real-time IoT sensor simulation, and smart drainage analysis to help city authorities understand, predict, and improve Kampala's drainage infrastructure. The platform is designed to be built entirely for free using Google Colab and open data sources, making it viable for teams with no budget.

02Problem Statement

Drainage built for a smaller, slower city.

Uganda — and Kampala in particular — suffers from chronic poor drainage. When heavy rainfall occurs, roads flood, properties are damaged, and transportation networks collapse. The root cause is not just the volume of rainfall, but the lack of intelligent infrastructure planning that accounts for Kampala's complex and hilly terrain.

Why existing solutions fail

  • Drainage systems were built without a full understanding of water flow dynamics across Kampala's varied topography.
  • There is no real-time monitoring of water levels at critical drainage points.
  • City planners lack tools to simulate the impact of adding or removing drainage infrastructure.
  • Hilly and low-lying areas require different drainage strategies, which current systems ignore.

03Recent Major Incidents (2024–2025)

March 2025

Kampala Flash Floods

Torrential rainfall killed at least 6–7 people including two minors. Areas affected: Clock Tower, Kawempe, Natete, Kamwokya, Northern Bypass, Banda, Kyambogo, Kinawataka, Sonde. The KCCA Executive Director called it a 'once-in-50-years storm' citing 80mm of rainfall — but experts noted flooding occurs with almost every significant downpour. The Nsobe river overflowed; hundreds of travelers stranded; businesses shut down.

The Independent Uganda · GDACS · Daily Monitor, March 26–30, 2025

November 2024

Bulambuli Landslides & Eastern Uganda Floods

Heavy rains triggered landslides across six villages in Bulambuli District, 280km from Kampala. At least 20 confirmed dead; 113 reported missing. 40 homes buried under mud, 125 destroyed. The Sironko–Kapchorwa and Muyembe–Nakapiripit roads were cut off; a bridge swept away; River Simu burst its banks.

Al Jazeera · PBS NewsHour · Washington Times, Nov 28–29, 2024

September 2024

Kasese — River Nyamwamba

Two killed; 1,469 households affected across thirteen villages; more than 120 homes lost.

ReliefWeb · IFRC GO, 2024

May 2024

Nationwide Floods

18,323 people affected; 1,129 houses completely destroyed; significant cropland and infrastructure damage; thousands of families displaced.

IFRC GO · ReliefWeb, May 2024

October 2025

CBD Flooding

Business in downtown Kampala came to a standstill when heavy rain flooded shopping arcades and commercial buildings in the central business district.

Daily Monitor, October–November 2025

04Root Causes

Destruction of wetlands

Makerere University research found that approximately 50% of Kampala's wetlands have been lost to urban development. Factories, industrial parks, and housing developments have been built on swamps. Developers have encroached on drainage channels, often with political backing. A 2024 NEMA audit flagged multiple sites for non-compliance, though enforcement has been weak.

Makerere University · NEMA 2024 Audit · Watchdog Uganda

Outdated and blocked drainage

Kampala's drainage system was built decades ago and was never designed to handle the city's current population or rainfall intensity. NEMA reports around 60% of urban waste is improperly disposed of — much of it ends up blocking drains. The Nakivubo Channel, the main drainage artery running through all five city divisions, handles more than half of Kampala's stormwater. KCCA's annual budget of UGX 827 billion had zero allocation for new drainage channels at one point.

Daily Monitor · Watchdog Uganda · NEMA Report, 2025

Rapid and unplanned urbanization

Informal settlements in low-lying flood-prone areas like Bwaise, Kalerwe, Kinawataka, Kisenyi, and Katwe are particularly vulnerable. Paved road surfaces increase runoff and reduce natural water absorption. Building in road reserves and flood plains is common, with inadequate enforcement. Makerere academic Denis Arinabo notes that colonial planning legacies, weak governance, and contested urban development have created a 'dangerous flooding cocktail'.

Daily Monitor · AfriCGE · Laudato Youth Initiative

Climate change

The IPCC has linked human-induced global warming to a 20% increase in rainfall intensity in some regions of East Africa over recent decades. Uganda's National Meteorological Authority regularly forecasts above-normal rainfall seasons.

IPCC 2021 · Uganda National Meteorological Authority

05Proposed Solution

A two-component platform: software intelligence and a sensor network.

Software layer

3D Terrain Modeling

Using freely available satellite imagery and elevation data (USGS, Google Earth, Copernicus), TRACE builds a high-resolution 3D digital model of Kampala's terrain — capturing slopes, valleys, hills, and existing drainage infrastructure.

AI Water Flow Simulation

An AI model trained using physics-based water flow principles and terrain data simulates how water moves across Kampala during rainfall. It accounts for gravity, slope gradients, soil absorption, road surfaces, and existing pipe capacity.

Drainage Intelligence Engine

The AI analyzes the 3D model and water-flow simulation to identify bottlenecks, pipes that should be added in flood-prone zones, infrastructure that should be removed or rerouted, and priority zones for immediate intervention.

Visualization Dashboard

A web-based dashboard built with free tools lets city authorities view the 3D terrain model, see real-time and simulated flow patterns, explore AI recommendations, and compare before-and-after scenarios for proposed infrastructure changes.

Hardware layer (simulated for hackathon)

In the full production version, low-cost IoT water-level sensors are placed at key drainage points across Kampala. For the hackathon, this hardware layer is simulated digitally within the 3D model.

  • Sensors placed at road intersections, low-lying areas, and known flood hotspots.
  • Data transmitted via cellular and radio mesh networks for coverage in low-connectivity areas.
  • Real-time alerts sent to the dashboard when water levels approach critical thresholds.
  • Authorities can dispatch response teams to problem areas directly from the app.

06Target Users & Key Features

Target users

City Planners
Kampala Capital City Authority
Understand where to invest in drainage infrastructure
Emergency Responders
Flood response teams
Real-time alerts on flood risk zones
Civil Engineers
Infrastructure design teams
AI recommendations for pipe placement and routing
Government Officials
Policy and budget decision makers
Evidence-based investment priorities

Core features (Hackathon MVP)

3D Terrain Model
3D map of Kampala built from open satellite and elevation data
P0 — Must Have
Water Flow Simulation
AI model simulating water movement across terrain
P0 — Must Have
Drainage Recommendations
AI suggestions for pipe additions, removals, and rerouting
P0 — Must Have
Sensor Visualization
Simulated sensor placement shown on the 3D model
P1 — Should Have
Web Dashboard
Interactive UI for viewing terrain, flow, and recommendations
P1 — Should Have
Flood Risk Alerts
Threshold-based alerts for high-risk drainage zones
P2 — Nice to Have

07Technical Architecture

100% free. End to end.

Compute
Google Colab (Free)
Run all AI and data processing — no local hardware needed
Terrain Data
USGS, Copernicus, Google Earth Engine
Free satellite imagery and elevation data for Kampala
Mapping
QGIS (Free)
Process and analyze geographic data
AI / ML
TensorFlow, PyTorch, NumPy (Free)
Water flow simulation and drainage analysis models
3D Visualization
Plotly, Pydeck, or Three.js (Free)
Render 3D terrain and flow models in the browser
Dashboard
Streamlit or Gradio (Free)
Web interface for the platform — zero hosting cost
Hardware Sim
Python simulation layer
Simulate IoT sensor data within the model

08Data Flow

  1. 01Pull elevation and satellite data for Kampala from open data sources.
  2. 02Build 3D terrain model in QGIS and export to Python.
  3. 03Run AI water flow simulation on the terrain model in Google Colab.
  4. 04AI engine analyzes bottlenecks and generates drainage recommendations.
  5. 05Results are visualized on the web dashboard with before/after comparisons.
  6. 06(Simulated) sensor data feeds into the dashboard to show real-time monitoring capability.

09Hackathon Game Plan

Five days to a working demo.

Day 1
Collect terrain and elevation data for one Kampala neighborhood
USGS, Google Earth Engine, QGIS
Raw elevation dataset ready for modeling
Day 2
Build 3D terrain model and run basic water flow simulation
Google Colab, Python, NumPy
Working simulation showing water movement
Day 3
Train/configure AI model to identify drainage bottlenecks
TensorFlow / PyTorch on Colab
AI recommendations for pipe placement
Day 4
Build web dashboard with 3D visualization and sensor simulation
Streamlit, Plotly, Pydeck
Interactive demo ready to show
Day 5
Polish demo, prepare pitch, rehearse presentation
Slides + live demo
Hackathon-ready presentation

10Proof of Concept Scope

For the hackathon, the team will focus on one specific neighborhood in Kampala rather than the entire city. This is intentional — a focused, working demo is more compelling than a broad, broken one. The pitch will clearly articulate how the system scales city-wide.

Recommended starting area

Choose a neighborhood known for flooding, such as Bwaise, Nakivubo, or Katanga, where the terrain and flooding patterns are well documented. This makes the AI recommendations immediately credible and relatable to judges.

11Government & KCCA Response

KCCA Drainage Upgrade Works (2025–2026)

Constructed 16 crossing culverts along Allen Road and Sebana Road. In March 2026, flood water in the CBD drained in just 7 minutes instead of the usual 3+ hours. 7 of 18 planned drainage crossings completed by December 2025; remaining 11 targeted within 30 days. Longitudinal drainage along Ben Kiwanuka Street underway. Planned major box culvert on Namirembe Road to channel stormwater into Nakivubo. KCCA plans 47.7km of new drainage across 98 parishes in FY 2025/26, with 500 manhole covers reconstructed.

KCCA · AllAfrica, March 2026 / December 2025

KCCA Council Resolution — April 3, 2025

A landmark resolution approved a new model: partnering with competent local investors to upgrade and cover Kampala's open drainage channels under strict KCCA supervision. Vision: a Kampala with closed, modern underground drainage systems, free from solid waste blockages. Inspired by the success of the Nakivubo Jugula channel project by Ham Enterprises — the area remained dry during the March 2025 floods. Funding to come from public-private partnerships as government and donor funding declines.

Watchdog Uganda · PML Daily · UG Bulletin, April 2025

Kampala Sanitation and Flood Resilience Master Strategy 2025–2030

A five-year master strategy built around four pillars: drainage system upgrade (Nakivubo, Lubigi, Kinawataka), waste management reform, green infrastructure (eco-friendly pavements, wetland reforestation, green corridors), and community engagement. Budget: UGX 1.3 trillion over five years, sourced from government, World Bank urban resilience grants, and green infrastructure investments.

Kampala Express, April 2025

Greater Kampala Metropolitan Urban Development Programme (GKMA-UDP)

A UGX 2.2 trillion programme launched in September 2024, co-funded by the World Bank. 15 roads covering 19.85km under active construction (Phase 1 of 81.7km total). Drainage channels constructed alongside road works. China Railway Seventh Group contracted for Wakiso road works at UGX 35 billion. Cross culverts installed at 11 of 13 targeted locations as of April 2026.

Daily Monitor · KCCA, 2024–2025

Greater Kampala Integrated Flood Resilience (GKIFR) Partnership

A nature-based solutions initiative by KCCA with the Ministry of Water and Environment, Uganda Manufacturers Association, and international funders (EU, German BMZ, UK DFID). Pilot rainwater harvesting at 7 sites including schools and markets — Kitebi Secondary School received an 80,000-litre tank. Focus on integrating green infrastructure into urban planning.

KCCA, 2023–2024

12The Critical Gap

Reactive today. Predictive tomorrow.

Despite ongoing physical infrastructure works, Uganda has no smart, data-driven system for monitoring, predicting, or intelligently optimizing its drainage network. Current responses are almost entirely reactive — authorities respond after flooding occurs, not before.

What exists now
What is missing
Manual culvert cleaning and drain upgrades
Real-time water level monitoring across the city
Reactive flood response (pumps, rescue teams)
Predictive flood alerts before disaster strikes
Physical drainage channel construction
AI analysis of terrain to optimize where pipes go
Political debate over drainage responsibility
Data-driven evidence for infrastructure decisions
Rainwater harvesting pilots at 7 sites
City-wide smart drainage intelligence platform

"Every year it's the same story. Wetlands are filled, water has nowhere to go, and roads become rivers. Without serious reforms, we'll keep seeing this."— Paul Senoga, environmental policy analyst

"If the government doesn't step up with some drastic, decisive interventions, Ugandans will continue experiencing senseless loss of lives, business and property as a result of extreme weather episodes."— Joel Ssenyonyi, Opposition Leader

13Scalability & Impact

How it scales

  • The 3D modeling approach works for any geographic area — expanding from one neighborhood to all of Kampala is a matter of adding more data, not redesigning the system.
  • The AI model improves as more sensor data is added over time.
  • The platform can be adapted for other Ugandan cities and eventually across East Africa.

Long-term vision

  • Deploy physical IoT sensors at 500+ drainage points across Kampala.
  • Integrate with Uganda's National Meteorological Authority for predictive flood alerts.
  • Partner with Kampala Capital City Authority for city-wide drainage planning.
  • Open-source the platform for adoption across Sub-Saharan Africa.

Why this matters

Poor drainage in Kampala costs the economy millions of dollars annually in road damage, property loss, and lost productivity. TRACE gives city planners an evidence-based tool to make smarter infrastructure decisions — turning a reactive system into a proactive one.

14Constraints & Assumptions

Zero budget
All tools are free and open-source; Google Colab eliminates hardware requirements
4GB RAM laptop
All heavy computation runs on Google Colab in the cloud, not the local machine
No physical sensors
Hardware layer is simulated digitally for the hackathon demo
Limited connectivity in some areas
Mesh radio networks included in the full hardware architecture plan
One week timeline
Scope limited to one neighborhood; city-wide scale is part of the pitch vision

15Success Metrics

For the hackathon

  • Working 3D terrain model of at least one Kampala neighborhood.
  • Demonstrable AI water flow simulation.
  • At least 3 concrete drainage recommendations generated by the AI.
  • Clear and compelling pitch that communicates city-wide impact.

For full deployment

  • Reduction in average flood response time by 40%.
  • 500+ sensors deployed across Kampala within 2 years.
  • AI drainage recommendations adopted by Kampala Capital City Authority.
  • Platform replicated in at least 2 other Ugandan cities within 3 years.

Closing

Built for Uganda. Designed for Africa.

The MVP is deliberately scoped to be achievable in one week with zero budget. Focus on making the demo clear and impactful — judges respond to a compelling problem, a credible solution, and visible potential. All team members should have Google accounts to access Google Colab. Divide tasks as follows: one person handles data collection and terrain modeling, one handles the AI simulation, and one handles the dashboard and presentation. Daily check-ins are essential given the tight timeline.