Preprint
Article

This version is not peer-reviewed.

GeoAID: An Explainable Geospatial Disaster Intelligence Framework for Urban Flood Risk in a Data-Poor Coastal Megacity

Submitted:

17 September 2026

Posted:

20 September 2026

You are already at the latest version

Abstract
Urban flooding recurs in the same low-lying districts of coastal megacities every rainy season, and Lagos, Nigeria, is no exception. Existing flood risk maps for the city are fragmented across single-hazard studies, rely on expert-assigned weights never checked against observed flooding, and offer no explanation for why one area is classified as riskier than another. This study developed and validated a three-layer geospatial disaster intelligence framework, GeoAID, for Amuwo Odofin Local Government Area. Fourteen satellite-derived conditioning factors and a Sentinel-1 SAR-derived flood inventory were assembled via Google Earth Engine. Logistic Regression, Random Forest, and XGBoost were trained and compared; Random Forest was selected, achieving 0.798 ROC-AUC under random train-test splitting, falling to 0.642 under spatial five-fold cross-validation, a gap reported rather than concealed. SHAP identified vegetation cover (NDVI) as the dominant predictor, converging with an independent city-scale land-cover study using unrelated data and methods. The resulting map showed 229,402 residents (61.1% of the LGA's population), 16 of 35 schools, and 55 of 102 health facilities within High or Very High risk zones. All outputs were deployed in a public dashboard linking structural risk to near-real-time rainfall. The framework demonstrates that explainable machine learning on sparse, SAR-derived training labels can produce validated, auditable flood risk information in a data-scarce urban setting, without requiring ground-truth flood records.
Keywords: 
;  ;  ;  ;  ;  ;  ;  ;  ;  

1. Introduction

Urban flooding is one of the defining infrastructure problems of fast-growing coastal cities. Where population growth outpaces drainage capacity, rainfall that the ground once absorbed accumulates on the surface instead, damaging property, interrupting economic activity, and displacing residents. The problem is most severe where three conditions coincide: low-lying coastal terrain, dense and largely unplanned urban expansion, and drainage infrastructure that has not been extended in step with the built area. Lagos State, Nigeria, meets all three.
Lagos sits on a mosaic of barrier islands, tidal creeks, reclaimed swampland, and low-lying inland terrain. Nkwunonwo, Whitworth, and Baily [1] estimated that roughly 40% of the state's land surface is water body or wetland, and their review of flood risk management in the region documented inundation returning to the same low-lying districts across successive rainy seasons, a recurrence more consequential than the severity of any single event, since a hazard with a stable spatial signature can in principle be mapped before the rain arrives. The driver of the worsening trend is documented: Idowu and Zhou [2] analysed multi-temporal Landsat imagery across Lagos State and found that expansion of impervious surfaces is the main driver of increased flood frequency, as vegetation and permeable ground are replaced by concrete, asphalt, and compacted soil, sending a larger share of each storm to drainage channels more quickly than those channels were designed to carry.
Responsibility for flood response in Lagos rests with national and state emergency management agencies, both of which operate established procedures for damage assessment and relief after an event. The difficulty arises earlier, at the point of anticipation: Ajibade, McBean, and Bezner-Kerr [3] found that residents and institutions alike lacked spatially specific information about which neighbourhoods carried the greatest exposure, leaving preparation decisions without an evidential basis. Where such information is absent, institutional attention concentrates on flooding that has already occurred, and the cost of that position falls heaviest on residents who cannot afford to elevate, relocate, or rebuild.
What has changed is the technical capacity to produce the missing information at no cost. Satellite archives covering terrain, rainfall, land cover, soil, and surface water are openly available across Nigeria. Tehrany, Jones, and Shabani [4] demonstrated that ensemble tree-based machine learning models outperform conventional weighted-overlay methods in mapping flood susceptibility, in both spatial accuracy and transferability to new areas, and Gorelick et al. [5] documented Google Earth Engine as a cloud platform capable of processing such archives without local storage or high-performance hardware, removing what would otherwise be a substantial barrier to this kind of work in a resource-constrained research setting. Each component is independently established. What has not been assembled, to the authors' knowledge, is a system combining them into a decision-support tool designed around the operational and data conditions of Nigerian urban flood management specifically: no calibrated river-gauge network, no institutional flood-damage database, and no prior validated accuracy figure for the study region against which any new model could be compared.
Two prior efforts illustrate what persists despite this technical capacity. Nkwunonwo et al.'s [1] regional review found that individual flood vulnerability assessments across Lagos, while methodologically appropriate in their own context, lacked the explanatory dimension needed for an agency to act on the resulting map, and were produced independently across studies with no shared framework. For Amuwo Odofin LGA specifically (the study area used here), Ogunwumi, Ishola, and Njoku [6] produced a multi-criteria susceptibility analysis using four expert-weighted parameters, reporting 60% of the LGA's area within High or Very High risk categories. This is a useful benchmark, but the weights underlying it were set by expert judgement rather than learned from any record of where flooding actually occurred, and the resulting map was never checked against withheld flood locations. A map produced this way can be internally consistent without being empirically accurate, and there is no way to tell which from the output alone.
This literature points to four specific, still-open gaps rather than a general shortage of research attention: (i) fragmentation: flood risk products for Lagos are produced independently, at varying resolutions, with no shared framework; (ii) absent validation: susceptibility maps are not checked against withheld flood locations, so no measurable accuracy can be attached to them; (iii) absent explanation: no published flood susceptibility study for Lagos applies SHAP or a comparable method to its outputs, leaving no account of why a location is classified as it is; and (iv) separation of structural risk from present conditions: existing products describe historical likelihood without connecting it to current rainfall, collapsing the distinction between a planning reference and a usable alert.
This study addresses all four gaps within a single system, GeoAID (Geospatial AI-enabled Disaster Intelligence), built in three layers (Figure 1): a structural flood susceptibility model trained on Sentinel-1 SAR-derived flood locations and explained via SHAP; a dynamic layer linking that structural map to near-real-time satellite rainfall; and a disaster-intelligence layer converting risk classifications into asset-level population and infrastructure exposure. Beyond the Lagos application, the study's broader contribution is methodological: it demonstrates that a validated, explainable flood susceptibility pipeline can be built entirely from open satellite data, without river-gauge records, an institutional damage database, or any ground-based flood inventory, using SAR change detection as a substitute for ground-truth labels, and that the resulting model's true generalisation performance, including where it degrades, can and should be reported under spatial rather than only random validation. This positions the framework as a candidate approach for other coastal, data-scarce urban settings beyond the specific LGA studied here.

2. Materials and Methods

2.1. Study Area

Amuwo Odofin LGA, Lagos State, Nigeria, was selected for empirical implementation. The LGA covers approximately 171.19 km² [6], with a coastal position, low elevation, extensive impervious cover, and a drainage network under tidal influence from Badagry Creek, making it representative of the wider Lagos coastal flood environment while remaining small enough for a rigorous pilot study. Ogunwumi et al. [6] named Kirikiri, Satellite Town, Agboju, and Amuwo Town among the most exposed communities within the LGA.

2.2. Data Sources and Feature Engineering

All datasets were acquired and processed via Google Earth Engine [5], removing the need to download or locally store terabytes of SRTM, CHIRPS, or Sentinel imagery, and keeping the acquisition pipeline reproducible by any researcher with a free Earth Engine account, a material consideration given the standard, non-GPU laptop on which this study was conducted. Data acquisition proceeded through six sequential stages (Table 1; Figure 2), each validated for band count, coordinate reference system, class balance, and absence of missing values before the next stage began. Permanent water bodies were masked from the analysis using the JRC Global Surface Water archive [7], which also supplied the drainage-proximity conditioning factor.
Two candidate conditioning factors were evaluated and excluded before the final matrix was assembled, on physical rather than statistical grounds. Height Above Nearest Drainage (HAND), computed from SRTM relative to the nearest mapped water surface, consistently returned values referenced to the adjacent lagoon rather than to local drainage channels, a known limitation of SRTM-derived HAND in coastal terrain where a large tidal water body sits close to the measured pixels. Distance to river, derived from the HydroSHEDS drainage network, produced distances exceeding the physical extent of the LGA itself, because the network resolves too few channels within so small a study area at its native resolution. Distance to drainage, computed instead from the denser JRC Global Surface Water archive [7], served the same conceptual role without either defect and was retained in its place.

2.3. Flood Inventory Construction

The flood inventory used to train the models was derived from Sentinel-1 SAR change detection across four verified Lagos flood events between 2017 and 2022, following the general approach validated for SAR-based flood mapping by Tiwari et al. [8], whose Otsu automatic thresholding method (reported at 94.3% accuracy against independent ground reference in the 2018 Kerala floods) is adopted here to remove subjective threshold selection from the flood/non-flood boundary. Pre-event and post-event image pairs were speckle-filtered, differenced, and thresholded using a combination of Otsu's method and a fixed minimum backscatter change, since Otsu alone proved too permissive over dense urban terrain.
An initial version of the inventory classified almost the entire study area as flooded, with flood pixels sitting predominantly on the Lagos Lagoon and tidal creeks rather than on urban land, a failure mode Twele et al. [9] identify as a risk of SAR change detection in coastal terrain, where permanent water bodies produce low-backscatter signatures resembling flood signal, and dense urban structures produce double-bounce scattering that can mask flooding beneath it. The correction applied three constraints simultaneously: exclusion of pixels with JRC-recorded water occurrence above 5% [7], restriction to ESA WorldCover land classes compatible with urban or vegetated land, and calibration of the minimum backscatter-change threshold to account for double-bounce scattering from dense urban structures. This produced 10,208 flood pixels, a coverage figure judged physically plausible for a dense, poorly drained coastal LGA, and the criterion against which the correction was evaluated, rather than the smaller pixel count on its own.

2.4. Model Training and Evaluation Framework

The fourteen-feature matrix was split 70:30 into training and test partitions under a fixed random seed (6,187 training, 2,652 test samples), preserving the dataset's near-even class balance in each partition. Three classifiers were trained on the identical feature matrix and split, so that any difference in performance reflects the model rather than the data partitioning. Logistic Regression, used as an interpretable linear baseline, was configured with L2 regularisation and class weighting to compensate for marginal residual imbalance. Random Forest followed Breiman's [10] bagging and feature-subsampling formulation, configured with 200 estimators, a figure confirmed by tracking out-of-bag error across increasing tree counts and observing a plateau at approximately 150 trees. XGBoost followed Chen and Guestrin's [11] gradient-boosting formulation, with shrinkage, column subsampling, and a scale-of-positive-weight term set from the training data's own class ratio.
Two evaluation frameworks were used because the first is prone to an optimism the second corrects. A standard random train-test split allows adjacent pixels, which share near-identical feature values purely through spatial proximity, to appear in both partitions, letting a model succeed in part by recognising terrain it has effectively already seen. Spatial five-fold cross-validation addresses this by partitioning the study area into a five-by-five grid of blocks and holding out entire blocks in turn, so that no test pixel is spatially close to any training pixel. Twenty-one of twenty-five possible blocks contained samples; the resulting folds provide a more conservative estimate of performance on genuinely unseen ground.

2.5. Explainability

SHAP values were computed for the selected model using TreeExplainer [12], an algorithm designed to compute exact Shapley values for tree ensembles in polynomial rather than exponential time, making it computationally realistic to explain every prediction in the dataset rather than a small illustrative subset. Global explanations were averaged across the full test set; local explanations were computed for individually queried locations.

2.6. Exposure Assessment and Deployment

Population and infrastructure exposure were quantified by overlaying the resulting risk map with WorldPop gridded population data and OpenStreetMap infrastructure records for schools, health facilities, and roads, restricted to the true LGA boundary published by the FAO GAUL administrative dataset rather than a rectangular bounding box around it (Section 3.4 reports why this distinction proved material). All outputs, including the structural risk map, a near-real-time rainfall activation layer drawing on GPM IMERG against a CHIRPS-derived extreme-rainfall threshold (Figure 3), and the exposure summary, were deployed in a public Streamlit dashboard with a toggle between technical and plain-language explanation modes, hosted at no infrastructure cost via Streamlit Community Cloud.

3. Results

3.1. Model Performance and Selection

The fourteen-feature matrix was split 70:30 into training and test partitions under a fixed random seed, giving 6,187 training samples and 2,652 test samples, with the near-even class balance of the source dataset preserved in each partition. Table 2 reports the performance of Logistic Regression, Random Forest, and XGBoost on the held-out test set.
Random Forest led on every metric and was carried forward as the selected model. Its out-of-bag score (0.7247) sits close to its held-out test accuracy (0.7281), indicating no significant overfitting; the out-of-bag error curve flattened at approximately 150 trees, supporting 200 estimators as a reasonable final choice. Logistic Regression's weak AUC, barely above chance, indicates that the relationship between conditioning factors and observed flooding in this dataset is not linear: the evidential basis for preferring ensemble methods over a linear baseline. XGBoost's marginally weaker performance relative to Random Forest is plausibly explained by residual noise in the SAR-derived labels: bagging ensembles average across bootstrap samples and are less sensitive to mislabelled points than sequential boosting.

3.2. Spatial Cross-Validation

Table 3 reports the same three models under five-fold spatial cross-validation, in which the study area was partitioned into a five-by-five grid of blocks, with entire blocks held out in turn rather than individual pixels.
For Random Forest, AUC fell from 0.7979 under random splitting to 0.6422 under spatial partitioning, and recall fell from 0.7554 to 0.3678. This gap is reported in full because it is among the more consequential findings of this study. A random split allows training and test pixels to sit in the same neighbourhood, letting a model succeed in part by recognising terrain it has, in effect, already seen; spatial partitioning removes that shortcut. Inspection of individual blocks explains the size of the gap: flood proportions ranged from under 20% to over 60% across blocks, so a fold holding out a flood-dense block strips most positive examples from it, driving recall down sharply on that iteration. A compounding cause is that two of the fourteen conditioning factors, CHIRPS and GPM IMERG rainfall, vary little across a local government area only fifteen kilometres wide, carrying almost no spatial signal once genuinely novel ground is tested. This is a resolution limitation in two inputs relative to the study area's extent, reported here because most published Nigerian flood-susceptibility studies do not expose their models to spatial validation at all.

3.3. Explainability

SHAP values were computed for the selected Random Forest model using TreeExplainer, with an expected value of 0.5007, following directly from the balanced 50:50 training sample rather than true areal flood prevalence. Global feature importance ranked NDVI as the dominant conditioning factor by a wide margin (more than double the magnitude of the second-ranked feature), with elevation, land cover, distance to drainage, and soil permeability following at moderate levels, and the four rainfall-related features ranking lowest, consistent with the spatial cross-validation finding in Section 3.2. This ranking matched the model's own internal (impurity-based) feature importance; agreement between two independently computed measures is stronger evidence that NDVI's dominance reflects a genuine signal rather than an artefact of either method. The finding is also consistent with Idowu and Zhou [2], who identified vegetation loss to impervious development as the principal driver of rising flood frequency across Lagos State more broadly, using a city-scale multi-temporal land-cover analysis independent of this study's method, spatial extent, and data source.
The dashboard's local-explanation interface (Figure 4) makes this ranking actionable at the level of a single queried location, decomposing its flood probability into the leading SHAP contributors and translating the result into plain language for non-technical users. For the test-set location with the highest predicted probability, effectively certain, every conditioning factor pushed in the same direction, led by near-zero vegetation cover, a drainage channel only 26 metres away, and an elevation of just over 2 metres: a location with almost no permeable ground, close to a channel that can overflow, barely above the water it would carry.

3.4. Susceptibility Map and Exposure Assessment

The trained model was applied across the full prediction grid to generate a flood susceptibility map for Amuwo Odofin LGA (Figure 5). Of 30,282 total grid cells, 13,022 fell within the study boundary: 43% of the rectangular bounding box but 73.6% of the true, smaller LGA polygon. Predictions ranged from 0.004 to 1.000 with a median of 0.389; quartile breakpoints split the study area into four risk classes of approximately 3,255 pixels each. Visual inspection of the highest-risk tier showed spatial clustering around low-lying, drainage-proximate terrain rather than a scattered, non-physical pattern, supporting the map's physical plausibility.
Population and infrastructure exposure were quantified by overlaying the risk map with WorldPop population data and OpenStreetMap infrastructure data, restricted to the true LGA polygon (Figure 6). Of 375,298 residents, 229,402 (61.1%) reside in High or Very High risk zones, along with 16 of 35 schools, 55 of 102 health facilities, and 148 of 208 major roads.

4. Discussion

Three results merit discussion beyond their bare reporting in Section 3, because each carries implications reaching past this specific implementation.
The first concerns what NDVI's dominance actually establishes. Idowu and Zhou [2] identified impervious surface expansion as the principal driver of rising flood frequency across Lagos State using land cover change analysis at city scale, a finding reached through a different method and a different spatial extent than this study's. That a model trained specifically on Amuwo Odofin, using an entirely different data source and analytical approach, converges on the same variable as the strongest predictor of flood susceptibility is more persuasive than either finding alone. Two independent methods pointing to the same physical mechanism is closer to triangulation than to coincidence, and it suggests the relationship between vegetation loss and flood risk in Lagos is robust enough to survive a considerable change in how it is measured.
The second concerns the spatial cross-validation gap, presented here as a finding rather than minimised. Ogunwumi et al.'s [6] multi-criteria assessment of this same LGA reported that 60% of its area falls within High or Very High risk categories, a figure reached through expert-weighted overlay rather than a model whose accuracy can be measured against withheld data. That comparison cannot be made numerically: a weighted overlay has no equivalent of an AUC score to set beside this study's 0.798 or 0.642, and forcing one would misrepresent both methods. What can be said is that this study is, to the authors' knowledge, the first for Amuwo Odofin to report a validated accuracy figure at all, together with an honest account of how that figure degrades under a more demanding test. A model that reports only its best number is not more accurate for having done so; it has simply chosen not to test itself as hard as it could have.
The third concerns the four gaps identified in Section 1. A single fourteen-factor model, evaluated under two frameworks and reported honestly under both, closes the validation gap in a way that expert-weighted approaches structurally cannot. SHAP's convergence with the model's own internal importance measure, and its use to generate location-specific explanations for both technical and plain-language audiences, closes the explanation gap. The GPM IMERG activation layer, read alongside the static risk map rather than replacing it, closes the gap between structural susceptibility and present conditions, without overstating what that layer is: an alert rather than a forecast, at every point in this study. The fragmentation gap is the one most fully outside a single study's power to close on its own, since it concerns the absence of a shared framework across Lagos's local government areas rather than any deficiency within this model specifically.
Two limitations qualify the framework's present scope. First, the spatial cross-validation results indicate that two of the fourteen conditioning factors (CHIRPS and GPM IMERG rainfall) carry limited spatial signal at the scale of a single LGA; a coarser regional application, or the incorporation of a higher-resolution rainfall product where available, would likely narrow the random-split/spatial-split gap reported here. Second, the flood inventory used for training was derived entirely from SAR change detection rather than from ground-truth flood reports, ground stations, or crowd-sourced observations, since none exist at usable spatial density for this study area; the framework's core methodological contribution is precisely that a validated model can be built without such records, but this also means its accuracy ceiling is bounded by SAR-derived label quality rather than independently verified ground truth. Extending the framework to additional Lagos LGAs, and testing its transferability to other data-scarce coastal cities more broadly, is identified as the natural next step.

5. Conclusions

This study developed and validated GeoAID, a three-layer geospatial disaster intelligence framework for urban flood risk in Amuwo Odofin LGA, Lagos, built entirely from open satellite data and requiring no ground-truth flood gauge records. Random Forest, trained on a Sentinel-1 SAR-derived flood inventory across fourteen conditioning factors, achieved 0.798 ROC-AUC under random train-test splitting; spatial five-fold cross-validation reduced this to 0.642, a gap reported in full rather than concealed, and one that most comparable regional studies do not test for at all. SHAP identified vegetation cover (NDVI) as the dominant predictor of flood susceptibility, independently corroborating a separate, city-scale land-cover study of the same region conducted through unrelated methods and data. Overlaying the resulting risk map with open population and infrastructure data showed that 61.1% of the study area's population, along with sixteen of thirty-five schools and fifty-five of one hundred and two health facilities, fall within High or Very High risk zones. All outputs were deployed in a public, interactive dashboard linking structural susceptibility to near-real-time satellite rainfall and dual technical/plain-language explanations, at no infrastructure cost. Beyond Amuwo Odofin, the framework demonstrates that a validated, explainable flood-risk pipeline can be built for a data-scarce coastal city using only open Earth observation data, and that reporting where such a model's performance degrades is as important to that demonstration as reporting where it succeeds. Extension to additional Lagos local government areas, and testing transferability to other data-scarce coastal cities, is identified as the natural next step.

Author Contributions

O.A.O.: conceptualization, methodology, data curation, software, formal analysis, writing I.O.M.: review and editing, validation. Both authors read and approved the final manuscript.

Funding

This research received no external funding.

Data Availability Statement

The code supporting the findings of this study is openly available on GitHub at https://github.com/Dexsholex/GeoAID-Lagos-FloodRisk. The interactive dashboard is publicly accessible at https://geoaid-lagos-flood.streamlit.app/. All input datasets (SRTM, CHIRPS, ESA WorldCover, Sentinel-1/2, GPM IMERG, JRC Global Surface Water, OpenLandMap, WorldPop, OpenStreetMap) are publicly available through Google Earth Engine and their respective providers.

References

  1. Nkwunonwo, U.C.; Whitworth, M.; Baily, B. A review and critical analysis of the efforts towards urban flood risk management in the Lagos region of Nigeria. Nat. Hazards Earth Syst. Sci. 2016, 16, 349–369. [Google Scholar] [CrossRef]
  2. Idowu, D.; Zhou, W. Land Use and Land Cover Change Assessment in the Context of Flood Hazard in Lagos State, Nigeria. Water 2021, 13, 1105. [Google Scholar] [CrossRef]
  3. Ajibade, I.; McBean, G.; Bezner-Kerr, R. Urban flooding in Lagos, Nigeria: Patterns of vulnerability and resilience among women. Glob. Environ. Change 2013, 23, 1714–1725. [Google Scholar] [CrossRef]
  4. Tehrany, M.S.; Jones, S.; Shabani, F. Identifying the essential flood conditioning factors for flood-prone area mapping using machine learning techniques. Catena 2019, 175, 174–192. [Google Scholar] [CrossRef]
  5. Gorelick, N.; Hancher, M.; Dixon, M.; Ilyushchenko, S.; Thau, D.; Moore, R. Google Earth Engine: Planetary-scale geospatial analysis for everyone. Remote Sens. Environ. 2017, 202, 18–27. [Google Scholar] [CrossRef]
  6. Ogunwumi, T.S.; Ishola, J.I.; Njoku, C.G. Where would be Flooded in 2021: A Geospatial Analysis of Flood Susceptibility in Amuwo Odofin, Lagos State, Nigeria. Int. J. Earth Environ. Sci. 2021, 6, 187. [Google Scholar] [CrossRef] [PubMed]
  7. Pekel, J.-F.; Cottam, A.; Gorelick, N.; Belward, A.S. High-resolution mapping of global surface water and its long-term changes. Nature 2016, 540, 418–422. [Google Scholar] [CrossRef] [PubMed]
  8. Tiwari, V.; Kumar, V.; Matin, M.A.; Thapa, A.; Ellenburg, W.L.; Gupta, N.; Thapa, S. Flood inundation mapping-Kerala 2018; Harnessing the power of SAR, automatic threshold detection method and Google Earth Engine. PLoS ONE 2020, 15, e0237324. [Google Scholar] [CrossRef] [PubMed]
  9. Twele, A.; Cao, W.; Plank, S.; Martinis, S. Sentinel-1-based flood mapping: a fully automated processing chain. Int. J. Remote Sens. 2016, 37, 2990–3004. [Google Scholar] [CrossRef]
  10. Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
  11. Chen, T.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar] [CrossRef]
  12. Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems; Curran Associates, Inc.: Red Hook, NY, USA, 2017; Volume 30, pp. 4765–4774. [Google Scholar]
Figure 1. GeoAID three-layer system architecture. Layer 1 (Structural Susceptibility) maps flood risk from fourteen satellite-derived conditioning factors via a Random Forest classifier. Layer 2 (Dynamic Risk Activation) compares near-real-time GPM IMERG rainfall against the structural risk map to flag active forcing. Layer 3 (Disaster Intelligence) overlays the risk map with WorldPop and OpenStreetMap data to quantify population and infrastructure exposure.
Figure 1. GeoAID three-layer system architecture. Layer 1 (Structural Susceptibility) maps flood risk from fourteen satellite-derived conditioning factors via a Random Forest classifier. Layer 2 (Dynamic Risk Activation) compares near-real-time GPM IMERG rainfall against the structural risk map to flag active forcing. Layer 3 (Disaster Intelligence) overlays the risk map with WorldPop and OpenStreetMap data to quantify population and infrastructure exposure.
Preprints 233834 g001
Figure 2. Data acquisition and processing pipeline, producing a unified 14-feature matrix (8,839 samples) that feeds model training, SHAP explainability, disaster intelligence, and dashboard deployment.
Figure 2. Data acquisition and processing pipeline, producing a unified 14-feature matrix (8,839 samples) that feeds model training, SHAP explainability, disaster intelligence, and dashboard deployment.
Preprints 233834 g002
Figure 3. Dynamic Risk Activation panel of the GeoAID dashboard, comparing near-real-time GPM IMERG rainfall accumulation against the CHIRPS-derived extreme-rainfall threshold. The panel indicates when structurally high-risk zones are under active rainfall forcing rather than in a baseline state; this is a threshold-based operational overlay, not a hydrodynamic forecast.
Figure 3. Dynamic Risk Activation panel of the GeoAID dashboard, comparing near-real-time GPM IMERG rainfall accumulation against the CHIRPS-derived extreme-rainfall threshold. The panel indicates when structurally high-risk zones are under active rainfall forcing rather than in a baseline state; this is a threshold-based operational overlay, not a hydrodynamic forecast.
Preprints 233834 g003
Figure 4. Local explanation interface. Clicking any location on the structural risk map returns its predicted flood probability and the leading SHAP contributors driving that classification. The queried location shown here returned a flood probability of 0.732 (Very High risk), led by low NDVI (vegetation cover) as the dominant contributor.
Figure 4. Local explanation interface. Clicking any location on the structural risk map returns its predicted flood probability and the leading SHAP contributors driving that classification. The queried location shown here returned a flood probability of 0.732 (Very High risk), led by low NDVI (vegetation cover) as the dominant contributor.
Preprints 233834 g004
Figure 5. Structural flood susceptibility map for Amuwo Odofin LGA, classified into four risk tiers (Low, Moderate, High, Very High), overlaid with the LGA boundary, schools, health facilities, and major roads.
Figure 5. Structural flood susceptibility map for Amuwo Odofin LGA, classified into four risk tiers (Low, Moderate, High, Very High), overlaid with the LGA boundary, schools, health facilities, and major roads.
Preprints 233834 g005
Figure 6. Population and infrastructure exposure by risk tier: population distribution across the four risk classes (top), and counts of schools, health facilities, and major roads by tier (bottom).
Figure 6. Population and infrastructure exposure by risk tier: population distribution across the four risk classes (top), and counts of schools, health facilities, and major roads by tier (bottom).
Preprints 233834 g006
Table 1. Feature engineering pipeline.
Table 1. Feature engineering pipeline.
Stage Source Features Produced Native Resolution
Topographic SRTM (NASA/USGS) Elevation, slope, aspect, flow accumulation, TWI, curvature 30 m
Climate and land cover CHIRPS, ESA WorldCover, Sentinel-2 Mean annual rainfall, rainy-day frequency, extreme rainfall frequency, land use/cover, NDVI 100 m / 10 m
Soil and drainage proximity OpenLandMap, JRC Global Surface Water Soil permeability, distance to drainage 250 m / 30 m
Antecedent rainfall NASA GPM IMERG 72-hour antecedent rainfall accumulation ~11 km
Flood inventory Sentinel-1 SAR (Copernicus) Binary flood labels for model training 30 m
Feature matrix assembly All preceding outputs Unified 14-feature matrix resampled to a common 100 m grid 100 m
Table 2. Model performance on the held-out test set (n = 2,652).
Table 2. Model performance on the held-out test set (n = 2,652).
Model Accuracy Precision Recall F1-Score ROC-AUC
Logistic Regression 0.5969 0.5868 0.6776 0.6289 0.6431
Random Forest 0.7281 0.7194 0.7554 0.7370 0.7979
XGBoost 0.7006 0.6903 0.7367 0.7127 0.7674
Table 3. Spatial five-fold cross-validation results (mean ± standard deviation).
Table 3. Spatial five-fold cross-validation results (mean ± standard deviation).
Model Accuracy Recall F1-Score ROC-AUC
Logistic Regression 0.6011 ± 0.020 0.6429 ± 0.200 0.5998 ± 0.119 0.6393 ± 0.030
Random Forest 0.5663 ± 0.033 0.3678 ± 0.142 0.4454 ± 0.105 0.6422 ± 0.018
XGBoost 0.5744 ± 0.022 0.4438 ± 0.153 0.4958 ± 0.118 0.6259 ± 0.017
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.