Field Collected in the community
Recorded by Blue Lagos enumerators during the visit: population estimates, sanitation, emergency movement, flooding, erosion and the community’s own priority request. Read live from the community register.
How every figure on this platform is produced, in plain terms first and full technical detail underneath.
The method behind each part of the platform: how the survey was collected, how population is counted, how distances are measured, and how priorities and shared service areas are worked out.
Open a section for the plain explanation. Inside each one, “Technical details” gives the exact calculation, source and limitation.
Every figure carries one of four labels. Knowing which one tells you how much weight it can bear.
Recorded by Blue Lagos enumerators during the visit: population estimates, sanitation, emergency movement, flooding, erosion and the community’s own priority request. Read live from the community register.
Health facilities, landing points and waterways recorded in OpenStreetMap (ODbL), extracted, clipped to Lagos and reviewed offline. Coverage is uneven, and it is never presented as an official Lagos State register.
Distances to the nearest mapped feature, counts within a radius, the concentration grid and scenario catchments. All straight-line, never travel time.
Administrative boundaries are integrated. Modelled population and satellite products are not: the adapters exist, but nothing has passed processing and review, so no modelled value is published or estimated.
Open a section for the plain explanation; the technical detail sits inside it.
Blue Lagos enumerators visited riverine and coastal settlements across Lagos State and recorded, for each one, how many people live there, how they travel, what services they have, what they are exposed to, and what they most need. Answers are kept exactly as given.
Where a question was not answered, the record stays blank. Nothing is filled in with a zero, an average or an estimate, and each community’s completeness is shown beside its figures so a thin record is never mistaken for a good one.
Records are read from the hosted analytical view at request time and paginated to completion. Each row passes identity validation and a schema parse before it is admitted; a row without valid identity fields blocks the whole dataset rather than being dropped silently.
Dataset-level checks look for duplicate ids, duplicate name + LGA pairs and shared coordinate pairs, and the fetched row count is reconciled against the server count before any total is published. Completeness is the share of non-null core fields per record. Nulls are preserved end to end.
Each community gave its own estimate of how many people live there. The platform adds those together. Communities that could not give a figure are left out of the total and reported separately, rather than counted as zero — so the total is a floor, not a guess.
Null-preserving aggregation: SUM over non-null values only, returned alongside the known and unknown record counts so every total can state its own coverage. The same function is used for households, women, youth and voter counts.
No gridded population surface (WorldPop or equivalent) is integrated. Mixing a modelled surface with field estimates would produce a total that looks more precise than the evidence supports, so it is not done.
Communities are grouped by local government so the evidence lines up with how Lagos State actually plans and budgets. The platform checks which boundary each community’s coordinates fall inside and compares that with the local government recorded during the survey. Where they differ, both are shown — the survey answer is never overwritten.
GRID3 2022 boundaries via geoBoundaries gbOpen (CC BY 4.0): one ADM1 state polygon and 20 ADM2 local government polygons, validated for geometry type and duplicate identifiers on load. Attribution is a point-in-polygon test against the ADM2 layer.
These are generalised planning boundaries, not cadastral. Coastal and lagoon settlements can legitimately fall outside a simplified land polygon; those cases are reported on the Data Quality page rather than corrected by moving the point.
For each community with coordinates, the platform finds the closest mapped health facility, landing point and waterway, and measures the direct distance to it — as the crow flies.
This is not a journey time. It does not follow roads or channels and it takes no account of tides, vessels or road condition. A long distance can also mean a facility that simply has not been mapped yet, which is why the Data Quality page compares these figures with what communities themselves reported.
Great-circle (Haversine) nearest-neighbour distances computed with Turf against the processed OpenStreetMap layers, precomputed by the spatial derivation pipeline (npm run spatial:derive) and loaded from disk at request time rather than recalculated per page.
Distance bands (<2, 2–5, 5–10, >10 km) are presentational groupings, not policy thresholds. No routed network distance, isochrone or travel-time surface is published, because the mapped waterways carry no navigability attribution and no validated navigable network exists.
Ten hardship conditions are checked for every community: deep poverty, no way to move a medical emergency out, a sanitation gap, no reliable power, no connectivity, no emergency plan, erosion displacing households, flooding rated 4 or 5 out of 5, heavy produce loss, and sitting more than 5 km from the nearest neighbouring community. Each one present adds a point, out of ten.
A community with five or more is described as having the highest combined need. That is a planning band, and it is deliberately separate from the urgent-attention rule, which flags a community on the strength of any single severe condition.
The Priorities page also offers a weighted view where you can change how much each factor counts and watch the ranking change. Communities are only ranked there when at least four of the six factors were actually recorded.
Baseline need score (legacy methodology v1, preserved exactly): one point each for MPI ≥ 4, healthcare_stranding_status = HIGHLY_STRANDED, raw_sanitation_deficit, energy poverty, digital exclusion, disaster preparedness void, erosion_displacement_threat = CRITICAL_DISPLACEMENT, flood_health_hazard_score ≥ 4, severe post-harvest loss risk, and nearest_neighbor_km > 5. Equal weights; missing observations contribute nothing.
Urgent attention is a separate boolean rule: cholera_outbreak_risk = CRITICAL OR highly stranded OR MPI ≥ 4 OR critical erosion displacement.
Weighted ranking: six dimensions min-max normalised to 0–1, multiplied by user weights, summed, then divided by the total weight of the dimensions actually observed for that record. Records with fewer than four observed dimensions return null rather than a partial score.
Concentration grid: community points aggregated to an Uber H3 hexagonal grid at resolution 7 (~5 km² per cell), with cell values being community counts and summed known population.
You choose a point and a distance. Every surveyed community whose coordinates fall inside that distance is counted, along with its population estimate. The point is checked to make sure it sits on land inside Lagos State — or, for a jetty, on the shoreline.
Point-in-circle test using great-circle distance from the chosen coordinate, with a null-preserving population sum over the communities inside the radius. The rendered ring is a spherical destination-point polygon (radius 6371.0088 km, 80 segments), computed locally rather than by importing the full Turf bundle into the browser.
Circles are never labelled isochrones. Nothing is persisted: the scenario is a query, not a record.
Health facilities, jetties and waterways shown on the map were recorded by OpenStreetMap contributors. That makes them genuine evidence, but uneven evidence: a feature missing from the map is not proof it does not exist. Everywhere these appear, they are labelled as coming from the open map rather than from Lagos State.
Extracted via Overpass, deduplicated on osm_type/osm_id, clipped by point-in-polygon against the GRID3 state boundary, and processed offline into committed GeoJSON so the application never calls Overpass at request time. Every feature retains its OSM id and original source tags.
Unnamed features are kept and labelled as unnamed — no name is ever invented. Licensed ODbL; attribution is carried on every map. Navigability is recorded as unknown for every waterway, which is why no routing is offered.
Some things people reasonably expect from a platform like this are missing on purpose: satellite flood mapping, modelled population grids, land cover, shoreline change rates and travel times by road or water. In each case the source has not been processed and reviewed, so publishing a number would mean presenting a guess as evidence.
Earth-observation adapters are present but not authenticated, and no product has passed acquisition-period, cloud-mask and resolution review. No composite flood vulnerability score is generated because its elevation, historical water and modelled population inputs are all absent.
Routing and isochrone outputs are withheld pending a validated navigable-water network. Marine access is limited to OSM ferry terminals and piers; there is no official Lagos State jetty register behind it.
The formal definition, formula and caveat for each published metric.
Live community view
A canonical hard-stop rule requiring executive attention.
Live community view; legacy methodology v1
A high count of documented adverse conditions, distinct from a Critical Alert.
Live community view; legacy methodology v1
Count of ten documented adverse conditions.
Precomputed spatial fields in Supabase
Nearest mapped community is more than 5 km away.
Blue Lagos field survey
Community estimate recorded in the baseline dataset.
Live community view
Observed multidimensional poverty index at level 4 or 5.
Live community view
Community classified as highly stranded for emergency health access.
Live community view
Observed raw sanitation deficit.
Live community view
Community energy status is energy poor.
Live community view
Community digital status is excluded.
Live community view
A preparedness void is documented.
Live community view
Critical displacement threat is documented.
Live community view
Observed flood-health hazard score is 4 or 5.
Live community view
Post-harvest loss risk is severe.
Changes are versioned, not silently swapped in.
| Version | Method | Status | Notes |
|---|---|---|---|
| v1 legacy | Baseline need score | Preserved | Ten binary conditions, one point each; isolation is strictly >5 km. |
| v1 legacy | Additive priority score | Preserved | Retained for continuity with the original baseline report. |
| v2 | Weighted ranking | Exploratory | Rebalanced across observed dimensions; unranked below four observed dimensions. Not Lagos State policy. |
| v2 | Straight-line spatial context | Active | Precomputed nearest-feature distances and H3 aggregation; superseded only when a validated network exists. |