Lagos gridlock from space
Most Lagos gridlock is made on land: too many vehicles for the roads, weak traffic management, roadside trading, potholes and breakdowns. One part of it is tied to the water, though: ships queuing for a berth at Apapa and the trucks that follow them, floods that close the main roads, and weed that shuts the lagoon ferries. Free satellite data can watch that part every few days. This study tracks the ships, the truck queues on the port roads, the city's air and the lagoon weed across eleven years, and lays out how to turn them into forecasts the city can act on.
The part of the problem satellites can see
Studies of Lagos congestion point first to land-side causes: lane indiscipline, more traffic than the roads can carry, poor traffic management, slow removal of broken-down vehicles, roadside trading and potholes.17 Roads carry more than 80% of all movements in the city.17 This study does not claim to explain all of that. It looks at the share of the problem that is tied to water, where satellites have a clear view.
Lagos handles most of Nigeria's seaborne trade through the Apapa and Tin Can Island ports, and every container leaves by road. At the height of the crisis in 2018 and 2019, trucks could spend up to ten days covering less than five kilometres to reach the port gate.1 The electronic call-up system (Ètò), introduced in February 2021, sequences trucks from holding parks and has processed more than 3.2 million truck movements.2 By mid-2026, though, the trade press was reporting the gridlock back on the port corridors.3
Rain closes roads too. On 30 June 2026, flooding left Ikorodu Road, Yaba, Ikeja and Oyingbo under water and commuters stranded for hours.4 And the lagoon, which could carry more commuters, keeps getting choked: in one survey of Lagos waterway users, about a third named water hyacinth as a problem.5
Each of these can be seen from space. Ships wait at sea before trucks queue on land, and both show up in radar. Weed spreads across open water before it reaches the jetties. Floodwater shows up in radar before traffic reports catch up.
Counting the ships that wait off Lagos
Sentinel-1 radar sees through cloud, day and night, and a steel hull shows up as a bright point against dark water. Every Sentinel-1 pass over Lagos since 2015 was processed to find ships in an 930 km² zone of open sea south of the harbour moles, where vessels wait for a berth.
Fewer ships now wait off Lagos than five years ago. In 2019 and 2020 a typical pass found about 90 ships waiting. Every year since has been lower, down to 38 in 2025. The 2026 passes so far give a median of 42.
The radar picked up a policy change on its own. The map shows a second, separate cluster to the west. It sits on the Secure Anchorage Area, a paid zone guarded by a private firm with Navy support, whose centre the Ports Authority gave as 06°17'30"N, 003°12'00"E.11 That cluster held a median of 21 ships per pass in 2019 and 23 in 2020. The federal government cancelled the contract in January 2021,12 and the cluster has been almost empty on every pass since. A detector that finds this without being told where to look is tracking real ships.
The decline has more than one possible cause. It starts in 2021, the year the secure anchorage closed and the truck call-up system began, and it continues through the opening of the new deep-sea port at Lekki in April 2023.13 This record alone cannot separate those causes. What it does show is that gridlock returned to the port roads in 2026 without a return of the queues at sea. That points to land-side causes for the 2026 gridlock, such as the tanker queues and call-up lapses described in the trade press,3 and it is exactly the kind of question the hindcast in Section 09 is built to answer.
Why this matters for the roads
A ship at anchor today is a berth call in a few days, and a berth call means hundreds of truck movements on the port corridor. If the lag between the anchorage count and truck queues holds up against data, the call-up system could release trucks ahead of a surge instead of reacting to it. Section 09 sets out how to test that.
Truck queues on the port roads, seen by radar
Trucks parked nose to tail are large blocks of steel, and steel throws radar back to the satellite. When the port roads fill with queued trucks, they should look brighter to Sentinel-1 than ordinary city roads do. Every pass since 2015 was used to compare the port access roads (the Apapa-Oworonshoki Expressway, Apapa Road and Wharf Road) with busy roads that carry little port freight (Ikorodu Road, the Third Mainland Bridge and Agege Motor Road). Taking the difference cancels out the effects of rain, season and satellite geometry.
The radar record follows the gridlock story closely. In 2016 and 2017 the port roads returned 0.8 to 0.9 dB more than the control roads. That rose to 1.8 dB in 2018 and 2.2 dB in 2019, the years when trucks could spend days covering a few kilometres.1 After the call-up system started in 2021 it eased to between 1.2 and 1.4 dB for three years, then dropped to 0.9 dB in 2024 and 0.8 dB in 2025. A 1 dB step is about a quarter more energy coming back from the road.
2026 shows the queues coming back. The monthly median climbed from 0.7 dB in January 2026 to 1.8 dB in July, the same months the trade press reported gridlock returning to the port corridors.3 The maps show where: from 2016 to 2019 the brightening ran from Oshodi down to Mile 2 and Apapa, from 2019 to 2025 the southern approaches to the ports went dark, and in 2026 the Mile 2 to Oshodi stretch lit up again.
What could fool it. Ascending and descending passes, which view the roads from opposite sides, show the same pattern, so viewing geometry is not driving it. Road works also change the radar signal, and parts of this corridor were rebuilt during these years. A few very high resolution images with countable trucks on matching dates would separate the two, and the truck-queue reports in Section 09 would do the same on the ground.
Can the queues be forecast? A blind test
A record is only useful to a city if it can look ahead. Two models were trained on the radar truck-queue signal and then tested on data they never saw. The first is a machine-learning model (gradient boosting) that works road segment by road segment, using where each 500 m stretch sits, what surrounds it in Sentinel-2 images, the ships waiting offshore, rainfall, season and the call-up policy. The second is a physics-informed neural network (PINN) for the port corridor as a whole, constrained by a simple queue balance: the truck queue moves toward a level set by ships, rain and policy, and clears at a rate the model has to learn.
Both were tested two ways. In time, they were trained on 2015 to 2023 and asked to predict every pass from 2024 to November 2026. In space, whole groups of roads were held out and predicted from the rest. Each model was scored against a simple rule it had to beat.
Sustainable cities and communities
- 11.2 Sustainable transport. Knowing where and when freight queues form lets trucks be scheduled instead of parked on the road.
- 11.6 Air quality. Queued diesel trucks are a local pollution source, and the NO₂ record in Section 06 measures the city-wide side of it.
- 11.5 Disaster resilience. The flood module (Section 08) plugs into the same forecasting framework.
- 11.3 Planning. A model that works on roads it has never seen can screen new freight corridors before they clog.
Where queues form is predictable. On roads it never saw, the model's average signal per segment correlates 0.35 with what the radar observed, while the best simple rule (the average for that type of road) has no skill. The information comes from distance to the port gates, whether a road is a port route, and the Sentinel-2 picture of its surroundings: vegetation, built-up land and water. A model like this can screen a new freight corridor before trucks arrive.
When they form is much harder. In the 2024 to 2026 test the segment model scores R² 0.71 against 0.63 for "same as last year". Nearly all of that comes from knowing each road's own history. Ships, rain and season added almost nothing at this scale.
The physics-informed model gets the physics right and the timing partly right. It learned that a queue takes about 4.6 months to clear and that waiting ships push it up with a lag of about 2 months. Forecasting 2024 to 2026 blind, its error was 0.40 dB against 0.53 dB for the naive forecast, and it matched the 2026 level (1.20 dB forecast, 1.17 dB observed). It overestimated 2024 and 2025, because the drop in those years did not come from fewer ships.
What this means. The big swings on the port roads, the 2018 surge, the 2024 drop and the 2026 return, were driven by events on land: road collapses and repairs, how strictly the call-up system was enforced, and checkpoints. Satellites can map the risk and track the outcome. A working day-ahead forecast needs call-up booking data from the Ètò system and the residents' truck-queue reports in Section 09 as inputs. That points to a clear next step: a data partnership with the call-up operator.
Four uses, tested against the record
Earlier drafts of this page listed four things the system could do for Lagos. Each one was then tested against the eleven-year record. The labels below say what the evidence supports today.
Warn of truck surges from ships offshore
Ship counts lead the truck signal by about 8 weeks, but the link is weak (correlation 0.15). As a warning rule it caught 38% of monthly surges against 25% by chance, with as many false alarms as hits.
Tell the waterways authority when and where weed gathers
The risk window is clear: more than 2 km² of weed in 56% of October images and 62% of November images, none from March to May. Six recurring hotspots are mapped. Season size cannot yet be predicted.
Rank flood-prone road segments
About 10% of road segments go clearly darker after heavy rain. The darkest is the Maryland to Ojota bridge, the one reported flooded on 30 June 2026. A wider check against flood reports did not hold up yet.
Check independently whether a policy changed anything
After 2021, 21 fewer ships waited and the port-road signal fell 0.7 dB. After mid-2023, a further 19 fewer ships. A blind search placed a break in 2021 on its own.
1. Do ships offshore warn of truck surges?
A weak signal about 8 weeks ahead. With slow trends removed, the strongest link is ships leading trucks by 8 weeks, at a correlation of 0.15. That is only just above what chance produces (±0.12). A Granger test agrees it is borderline (p = 0.045 at 8 weeks, p = 0.08 at 4 weeks). It matches the two-month lag the physics-informed model learned.
Not enough to act on. As a monthly warning rule (warn when ships are in their top quarter two months earlier), it caught 13 of 34 truck surges, against about a quarter by chance, and raised 21 false alarms. Days of warning will need the call-up system's own bookings.
2. When and where does weed gather?
When: a reliable calendar. In October, 56% of clear images show more than 2 km² of weed, and in November 62%. December stays high at 47%, and March to May never reach that level. Clearing crews can be in place by early October every year.
How big: not yet predictable. Lagos rainfall from June to October does not predict the season's peak (r = -0.05). A big early start hints at a big season (r = 0.54 over 9 seasons), but with so few seasons that is not yet reliable. River flow from the Ogun and Osun basins, which carries the weed in, is the next variable to add.
3. Which roads flood?
One clear match. Across 75 radar passes after heavy rain, the road that goes darkest is the Maryland to Ojota link bridge on Ikorodu Road. On 30 June 2026, the day the press reported flood water had taken over that bridge,4 the radar caught it 3.6 dB darker than normal, among the darkest 5% of 910 road segments that day.
But not yet a reliable ranking. Taken as a whole, the four roads named in flood reports do not rank as more flood-prone than the rest, and terrain height does not explain the index. Heavy rain also empties roads of traffic, and fewer vehicles look darker on radar too, so the index mixes water with traffic. Residents' flood reports with depth (Section 09) are what would turn this into a ranking a budget can rely on.
4. Did policies change anything?
2021: the clearest change in the record. After the secure anchorage closed and the call-up system started, 21 fewer ships waited offshore (95% range 13 to 29) and the port-road truck signal fell 0.73 dB, with trend and season held constant. Searching blind, the ship record breaks in 2021-03, one month after the policy date. The two 2021 changes came weeks apart, so their effects cannot be separated.
Mid-2023: a second step down. After the Lekki port opened and the fuel subsidy ended, ships waiting fell by a further 19 and the port-road signal by 0.66 dB. The city's NO₂ share fell 5.2 µmol/m², which is suggestive but not statistically firm (p = 0.08).
Lockdown: air, not roads. The 2020 lockdown cut the city's NO₂ share by 8.6 µmol/m² (p < 0.001), left the port-road signal unchanged, and saw ships pile up offshore (+7). That fits a port that kept receiving cargo while the city stayed home.
Traffic in the air: nitrogen dioxide over Lagos
Diesel trucks, generators and congested traffic all release nitrogen dioxide (NO₂), and Sentinel-5P measures it over Lagos every day in the early afternoon. Pixels are a few kilometres across, so this is a city-wide view rather than a road-by-road one, but it is the longest daily record of combustion over Lagos there is. Each daily overpass since May 2018 was read and averaged by month and year.
The city's own share of NO₂ has fallen. Metro Lagos carries far more NO₂ than the countryside to the north. That excess averaged 36 µmol/m² in 2019 and 35 in 2021, then 24 in 2024 and 25 in 2025, a drop of about 30%. The fall comes after the fuel subsidy ended in May 2023, which pushed national petrol use down by 28% within weeks.15 Fewer queued diesel trucks at the ports are likely part of it too, but this signal covers the whole city and cannot single out the port roads.
The 2020 lockdown shows up clearly. Lagos was locked down from 30 March to 4 May 2020.14 In April 2020 the city's excess fell to 17 µmol/m², against an April average of 26 in the other years. That is the satellite seeing the city's traffic switch off.
Season matters more than any year. NO₂ is two to three times higher from November to February than in July and August. Harmattan air and seasonal burning add to it in the dry season, while rain and heavy cloud keep it low in the wet season (cloud also leaves fewer clear readings), so only same-season comparisons are fair. A small new hotspot also appears in 2025 near the Lekki Free Zone, where the Dangote refinery began production in January 2024.16
The weed that shuts the lagoon ferries
Water hyacinth floats in mats that block ferry routes, foul propellers and push commuters back onto the roads. Sentinel-2 separates it from open water by its strong near-infrared signal. Every clear view of Lagos Lagoon since 2015 was mapped across 334 km² of permanent water.
The weed season is predictable. Lagos has two rainy peaks, in June and again in September and October. Floating weed builds after the second one: median cover is 2.5 km² in October and 2.2 km² in November, against 0.11 km² in March and 0.06 km² in April. That fits what is known about the plant: it spreads with fresh water from the rivers and does not tolerate the salt water that the dry season pushes into the lagoon.
Some years are much worse than others. The largest cover in the record was 18.6 km² on 15 December 2024, in a season when the peak was several times that of 2022 to 2023. A season-ahead outlook based on rainfall and river flow is a realistic next step.
Mats can vanish within weeks. Cover fell from 14.9 km² on 10 December 2024 to 0.25 km² on 24 January 2025. Five-day Sentinel-2 revisits are enough to follow mats as they drift. Cloud is the limit: few clear views exist from June to September, so radar would need to fill that gap.
Flood alerts for the road network
The third module links rainfall forecasts to the road segments that flood again and again. Network studies show why this matters beyond the flooded streets themselves. A road-network flood model tested on Hurricane Harvey reproduced 90.6% of the road closures it caused,6 and follow-up work found that even modest flooding can push a congested network past a tipping point, because rerouted traffic jams roads far from the water.7
The plan for Lagos has three steps. First, map the road segments that have flooded repeatedly, using the Sentinel-1 archive alongside recorded flood dates. Second, join those segments to the road network so each one carries a flood score and a detour cost. Third, score each segment again whenever satellite rainfall estimates (GPM IMERG) show a heavy storm building, and send the list out before the water arrives.
Urban flooding is harder to see from radar than open-water flooding, because buildings scatter the signal. Reports from residents (Section 09) are the ground truth that makes this module work.
Testing it against the streets, with Lagos residents
A satellite count is only useful if it predicts something people feel. The test for the port module is a hindcast. Line up eleven years of anchorage counts with truck queue lengths and gridlock dates, then ask whether ship surges lead truck queues by a stable number of days, and whether a forecast built on that beats the naive guess that tomorrow will look like today. The launch of the call-up system in February 2021 gives a natural experiment: if the link weakened after launch and returned as enforcement slipped, that says something about the method and the policy alike.
Lagos has little open traffic data, so the ground truth has to come from the people who see the problem every day. Two cities show this can work at government scale. In Jakarta, residents' flood reports feed a live map that the national disaster agency adopted, and NASA has used them to calibrate satellite flood maps.8 In Nairobi, students riding minibuses with phones mapped the informal bus network, and the city adopted the result as its official transit map.9
Where the queue ends
A WhatsApp location pin and a photo at the tail of the queue on the Apapa and Tin Can corridors. These are the daily labels the ship forecast is tested against.
Which routes are blocked
A photo when weed blocks a route or a jetty. This checks the satellite weed maps and tells fixed fish enclosures apart from drifting mats.
How deep the water is
Flooded road reports with a simple depth scale: ankle, knee or car door. This is the ground truth the flood module needs.
WhatsApp works better than a new app, because people in Lagos already use it. Small airtime rewards, partners with existing members (transport unions, ferry operators, universities) and cross-checks between reports and satellite data keep quality up. Locations are kept only at road-segment level. Reports will cluster where phones and busy roads are, so a quiet area is not treated as a problem-free one.
What this can and cannot do
It can
- Check independently whether a policy changed anything. Tested: the 2021 and mid-2023 changes show clear drops in ships waiting and in the port-road truck signal (Section 05).
- Tell the waterways authority when weed season runs and where mats recur. Tested: October to December is the risk window and six recurring hotspots are mapped. Predicting the size of a season is not yet possible.
- Map where freight queues form, including on roads the model has never seen (Section 04).
- Flag road segments that go dark on radar after heavy rain. An early index that picked out the bridge reported flooded on 30 June 2026, but it still needs ground checks.
It cannot
- Add road capacity or fix drainage. It points spending at the right places.
- Work without an agency that acts on the forecast. Data does not fix extortion checkpoints or weak enforcement.
- See inside the city's street traffic directly. That needs residents' reports and traffic data.
- Give days of warning of truck surges from ships alone. The hindcast found only a weak eight-week signal; call-up booking data is needed.
How the numbers were made
- Ship detection
- Sentinel-1 radiometrically terrain-corrected VV backscatter at 10 m, every pass from April 2015 to November 2026 (600 scenes processed, 573 usable passes after requiring full coverage of the zone and keeping one pass per date). Open sea was defined from the long-term median backscatter. A ship is a connected bright target on the sea, brighter than -8 dB, at least 10 dB above its local background and at least 2,500 m² in size, which excludes canoes and small boats. Targets that sat in the same 330 m cell on at least half of a year's passes were treated as fixed objects (wrecks, laid-up hulls, buoys) and excluded. There were 10 to 18 of these a year in 2016 to 2019 and one or two a year from 2021.
- Zones
- The count covers open sea between 3.15°E and 3.55°E and between 6.20°N and 6.39°N. That includes the main anchorage and the former Secure Anchorage Area, which is counted separately as a 5 km radius around its published centre. Ships in the harbour channel are mapped but not counted.
- Visual check
- Radar detections were compared by eye with Sentinel-2 images of the same water on nearby dates, and they match in number and spread of ships. An automated optical count was tried and dropped, because harmattan haze, sun glint and river plumes made it unreliable. The right reference for formal accuracy figures is AIS ship-position data.
- Port-road radar index
- The same Sentinel-1 passes, read over the port access roads (Apapa-Oworonshoki Expressway, Apapa Road, Wharf Road) and over control roads with little port freight (Ikorodu Road, Third Mainland Bridge, Agege Motor Road), using OpenStreetMap road lines buffered by 15 m. For each pass the index is the median VV backscatter on the port roads minus the median on the control roads (587 passes with full coverage of both). The change maps compare yearly mean backscatter along the port roads, net of the change on the control roads.
- Moving trucks in optical images (tried)
- Sentinel-2 records its colour bands a fraction of a second apart, so moving trucks leave a small colour streak that can be counted on rural highways. On Lagos expressways at 10 m the streaks were lost among brightly coloured roofs next to the road, and stopped trucks in a queue leave no streak, so this method was not used.
- Forecast models
- Target: radar backscatter on each of 910 road segments of about 500 m (OpenStreetMap motorway, trunk and primary roads in the port window), per pass, minus the median of all non-port road pixels on that pass. Single-pass values beyond ±10 dB were dropped. Gradient boosting (scikit-learn) used distance to the nearest port gate, port-road flag, Sentinel-2 surroundings within 300 m (NDVI, NDBI, bright ground and water, ranked within each dry-season scene to remove haze effects), ships at the anchorage on the day and 7 to 60 days earlier, rainfall over 3 and 30 days, month, orbit direction and call-up period. The time test trained on passes before 2024 and tested on every pass from January 2024 to November 2026; its simple rule is each segment's 2023 average. The space test left out one of six spatial blocks of roads at a time, with no history of the held-out roads; its simple rule is the training average for that type of road. The PINN (PyTorch) fitted a neural network to the monthly corridor index for 2015 to 2023 while penalising the residual of dq/dt = k(a·ships + b·rain + e·callup + c − q), with k kept above 0.2 per month and a kept positive. The ship lag (0 to 2 months) was chosen on the final training year. The learned equation was then integrated forward through 2024 to 2026 using observed drivers only.
- Four uses, tested
- Lead test: port-road index and ship counts from the same passes, binned to two weeks and to months, with a 12-month running mean removed; lagged correlation, Granger test (statsmodels) and a warning rule that flags the top quarter of ship counts. Weed outlook: share of clear images with more than 2 km² of weed by month; season peak (November to February) against June to October rainfall and against September to October cover. Hotspots: patches where weed appears in at least 5% of clear images, at least 0.08 km², at 1: 6.531°N 3.694°E; 2: 6.610°N 3.721°E; 3: 6.586°N 3.481°E; 4: 6.551°N 3.736°E; 5: 6.593°N 3.763°E; 6: 6.613°N 3.762°E. Flood index: each segment's radar signal against its own median, averaged over passes with 25 mm or more of rain on the pass day and the day before, minus the average over passes with under 1 mm (NASA POWER daily rainfall), with terrain height from the Copernicus 30 m DEM. Policy check: monthly regression of each record on a linear trend, month of year, a pulse for April to May 2020 and steps from February 2021 and June 2023, with Newey-West errors; blind changepoints from binary segmentation (ruptures) on the de-seasonalised records.
- Nitrogen dioxide
- Sentinel-5P TROPOMI Level 2 tropospheric NO₂ columns, one overpass a day from May 2018 to November 2026 (102 months). Only the scanlines that cross Lagos were read from each file. Pixels with a quality value above 0.75 were averaged on a 0.05° grid by month. "Metro Lagos" is 3.25°E to 3.55°E and 6.42°N to 6.70°N; the rural reference is 3.0°E to 3.3°E and 6.85°N to 7.15°N.
- Floating weed
- Sentinel-2 L2A at 20 m, 250 views of Lagos Lagoon with at least half the water free of cloud (scene classification layer), 2015 to 2026. Permanent water is JRC Global Surface Water occurrence of 80% or more, kept 60 m away from the shore (334 km²). Floating vegetation is NDVI above 0.3 on that water. Areas are measured on cloud-free water only, so partly cloudy views understate cover. Fixed fish enclosures can register as weed and still need a field check.
- Rainfall
- NASA POWER daily corrected precipitation (MERRA-2) at 6.52°N, 3.55°E, summed by month for 2015 to October 2026.
- Code and reproducibility
- Python pipeline in separate modules for radar ships, optical weed, figures and page assembly, reading cloud-optimised imagery directly from Microsoft Planetary Computer. Every number on this page is computed from those runs.
Sources
- The Guardian (Nigeria), "Appraising e-call up system and Lagos port traffic gridlock". guardian.ng
- Truck Transit Parks, "E-call-up system clears 3.2m trucks". ttp.com.ng
- Shipping Position, "Resurgence of traffic gridlock along Lagos ports corridors is unacceptable", 15 June 2026. shippingposition.com.ng
- AllAfrica, "Lagos submerged as floods sack homes, paralyse traffic", 1 July 2026. allafrica.com
- "In-land water based transport in Lagos State: challenges and remedies", University of Ibadan repository. repository.ui.edu.ng
- "Local floods induce large-scale abrupt failures of road networks", Nature Communications 10:2114 (2019). doi.org/10.1038/s41467-019-10063-w
- Dong, Gao, Mostafavi and Gao (2022), "Modest flooding can trigger catastrophic road network collapse due to compound failure", Communications Earth and Environment 3:38. doi.org/10.1038/s43247-022-00366-0
- PetaBencana.id, collaboration with NASA and national agencies during the January 2020 Jakarta floods. blog.petabencana.id
- Digital Matatus project, Nairobi. digitalmatatus.com
- Data: Copernicus Sentinel-1 RTC and Sentinel-2 L2A via Microsoft Planetary Computer; JRC Global Surface Water; NASA POWER (MERRA-2) rainfall. planetarycomputer.microsoft.com
- ThisDay, "Citing security, NPA cancels $133.28m SAA fees", 20 October 2019 (gives the Secure Anchorage Area centre point). thisdaylive.com
- Dryad Global, "Buhari cancels OMSL's controversial Secure Anchorage Area contract", 22 January 2021. channel16.dryadglobal.com
- BusinessDay, Lekki Deep Seaport receives its first commercial vessel, 6 April 2023. businessday.ng
- Al Jazeera, "Nigeria: Buhari to unwind COVID-19 lockdown in key states", 27 April 2020. aljazeera.com
- Al Jazeera, "Nigeria's petrol use falls after end of subsidy, regulator says", 6 July 2023. aljazeera.com
- AllAfrica, "Key events that shaped Nigeria's oil sector in 2024", 3 January 2025. allafrica.com
- K. Olagunju, "Evaluating traffic congestion in developing countries: a case study of Nigeria", Federal Road Safety Corps, paper at the CILT Africa Forum, 2015. frsc.gov.ng