This project is a real-time, geospatial disaster-aware routing system that detects natural disasters (earthquakes via USGS) and dynamically reroutes supply chains on an interactive map.
- Live Earthquake Data from USGS GeoJSON API
- Folium-based Interactive Map with node + route visualization
- Auto-built Supply Chain Graph from CSV input
- Disaster Zone Detection (geopy + proximity radius)
- Shortest & Safest Route Calculation using Dijkstra’s Algorithm
- CSV-Driven Scalability (plug-and-play new nodes)
- Offline HTML Map Output to visualize affected paths
Real-Time-Disaster-Routing/
├── disaster_supply_chain.py # Main Python logic
├── supply_nodes.csv # Warehouse/delivery nodes
├── disaster_supply_chain_map.html # Generated output map
├── requirements.txt # Pip dependencies
└── README.md # You're reading this!
- Clone the repo or download the folder
- Install dependencies:
pip install -r requirements.txt- Run the script:
python disaster_supply_chain.py- Open the map:
open disaster_supply_chain_map.html- Reads
supply_nodes.csvand maps each node with lat/lon - Builds a graph by connecting nodes that are within 600km
- Pulls earthquake data from the past 24 hours via USGS API
- Flags any supply chain node within 200km of a disaster
- Computes the shortest or safest path from source to destination
- Saves and displays everything in an interactive Folium map
- Add wildfire/flood detection via NASA/NOAA
- Deploy as Streamlit dashboard
- Add Kafka or database ingestion
- Visualize severity zones based on disaster magnitude
Raghuram Gopal Ganta
Data Engineering | Florida Atlantic University | Class of 2025
