How mrcyme/uhi-fiware-poc works
This is a FIWARE-based Brussels Urban Heat Island monitoring platform. Its main workflow downloads RGB/NIR orthophotos, builds optimized rasters and NDVI/NDWI indices, registers layers in Orion-LD, then uses Orion-triggered services to generate a heat-risk map and publish layers to GeoServer for the Cesium viewer. The graph also shows the frontend’s layer controls and core raster-processing helpers. Service-to-service event flows and several unsampled services are based on the README; source excerpts confirm ingestion calls and frontend composition, but do not expose prediction or sync internals.
Main entry points: ingestion/main.py Ingestion API · prediction/main.py Heat Prediction · CesiumViewer.vue Cesium Globe · cog.py COG Utilities
Components 16
Raster Ingestion
- Ingestion API
services/ingestion/main.py - Index Calculators
services/ingestion/processors/ndvi.py - COG Utilities
services/ingestion/processors/cog.py - NDWI Calculator
services/ingestion/processors/ndwi.py
Context Backbone
- Orion Client
services/ingestion/fiware/client.py - Orion-LD Broker
- MongoDB
Prediction & Publishing
- Heat Prediction
services/prediction/main.py - GeoServer Sync
services/geoserver-sync/main.py - GeoServer WMS
Web Viewer
- Viewer App
services/frontend/src/App.vue - Layer Controls
services/frontend/src/components/LayerControls.vue - Cesium Globe
services/frontend/src/components/CesiumViewer.vue
Other components
- RGB/NIR Imagery
- Viewer User
- OpenStreetMap
Connections 19
- RGB/NIR Imagery → Ingestion API: provides imagery
README.md - Ingestion API → Index Calculators: calls NDVI
services/ingestion/main.py - Ingestion API → NDWI Calculator: calls NDWI
services/ingestion/main.py - Ingestion API → COG Utilities: builds overviews
services/ingestion/main.py - Index Calculators → COG Utilities: uses COG helpers
services/ingestion/processors/ndvi.py - NDWI Calculator → COG Utilities: uses COG helpers
services/ingestion/processors/ndwi.py - Ingestion API → Orion Client: registers layers
services/ingestion/main.py - Orion Client → Orion-LD Broker: creates entities
services/ingestion/fiware/client.py - MongoDB → Orion-LD Broker: stores broker data
README.md - Orion-LD Broker → Heat Prediction: notifies changes
README.md - Heat Prediction → Orion-LD Broker: queries inputs
README.md - Heat Prediction → Orion-LD Broker: registers heat map
README.md - Orion-LD Broker → GeoServer Sync: notifies publish
README.md - GeoServer Sync → GeoServer WMS: publishes layers
README.md - Viewer User → Layer Controls: selects layers
README.md - Layer Controls → Viewer App: emits layer changes
services/frontend/src/App.vue - Viewer App → Cesium Globe: passes layer state
services/frontend/src/App.vue - Cesium Globe → GeoServer WMS: requests WMS maps
services/frontend/src/components/CesiumViewer.vue - Cesium Globe → OpenStreetMap: loads basemap tiles
services/frontend/src/components/CesiumViewer.vue