# Regional Transit Corridor Risk Automation & Telemetry Pipeline
### Developed by Teresia Kinuthia | Geospatial Data Specialist
## 🌍 The Problem This Solves
When heavy seasonal rains and flash floods hit East Africa, major transport corridors stall. For critical trading hubs like Kisumu and Maseno, Kenya, a single flooded road blocks supply chains moving cargo toward the border, costing logistics companies and local economies millions of shillings. Traditional infrastructure risk mapping is slow, expensive, and handled by distant agencies who lack local ground context.
## ⚡ What This Tool Does (The Core Result)
This project is a lightweight, live-deployed **Infrastructure Risk Intelligence Engine** built in a 24-hour sprint by leveraging AI as an execution force multiplier.
The system automates the translation of physical geographic vulnerabilities into localized financial metrics. Instead of looking at abstract map lines, users can click any specific coordinate along critical transit routes to instantly see the calculated economic danger.
### 🔍 Key Real-World Insight Documented:
* **The Nyalenda Hotspot:** When navigating the live application, clicking the high-risk red segments of the **Nairobi Road (A1)** near Nyalenda reveals an estimated **$5,000 USD daily economic bleed** in operational and logistics liabilities during a flood event.
## 🛠️ How It Works (The Blueprint)
The underlying system operates as an automated, three-part data pipeline:
1. **Ingestion:** The pipeline utilizes Python (`OSMnx`) to connect directly to the OpenStreetMap API, instantly downloading and structuring coordinates for over 18,000 individual local road segments.
2. **Transformation Matrix:** Using `GeoPandas` and `Shapely`, the data is cleaned and layered over historical regional flood plains and elevation data to score vulnerability.
3. **Telemetry Deployment:** The Python backend automatically generates a standalone, interactive web map using `Folium` (Leaflet.js). This is …