Interactive building density heatmap of Algiers, Algeria — derived from Sentinel-2 satellite imagery and OpenStreetMap data. Explore urban density patterns across the capital.
- 🗺️ Interactive heatmap of building density across Algiers
- 📊 District-level statistics and comparisons
- 🛰️ Derived from Sentinel-2 NDBI (Normalized Difference Built-up Index)
- 🏘️ OpenStreetMap building footprint overlay
- 📈 Temporal density evolution charts
- 🌐 Deployed on Streamlit Cloud
git clone https://github.com/OMUZ9924/algiers-building-density.git
cd algiers-building-density
pip install -r requirements.txt
streamlit run app.py- Sentinel-2 NDBI — Compute built-up index from SWIR and NIR bands
- OSM Footprints — Download building polygons via Overpass API
- Grid Aggregation — Count buildings per 500m grid cell
- Visualization — Folium/Plotly heatmap with district boundaries
algiers-building-density/
├── src/
│ ├── fetch_osm.py # Download OSM building data
│ ├── compute_ndbi.py # Sentinel-2 NDBI computation
│ ├── grid.py # Spatial grid aggregation
│ └── visualize.py # Map generation
├── app.py # Streamlit dashboard
├── data/ # Cached data (gitignored)
├── requirements.txt
└── README.md
- Folium — Interactive maps
- Plotly — Charts and statistics
- GeoPandas — Spatial operations
- OSMnx — OpenStreetMap data
- Streamlit — Web dashboard
MIT