Home / Projects / Filling Station Compliance

Urban planning GIS · Regulatory compliance · Lagos State

Lagos Filling Station Siting Compliance

A spatial compliance audit of 71 filling stations in Ikeja, Kosofe and Eti-Osa LGAs against two siting rules (400 m station spacing on the same side of the road, and a 15 m road setback), delivered as an ArcGIS Dashboard and a Leaflet.js web map with a live checker for proposed sites.

71
Filling stations assessed across 3 LGAs
13%
Fully compliant with both rules (9 stations)
61
Stations within 15 m of a road centreline
0.2 m
Max difference between the web checker and ArcGIS Near results

Professional demonstrator. I built the analysis and dashboard at Sambus Geospatial Nigeria Limited as a demonstration for Lagos State urban-planning stakeholders, then rebuilt it for the open web with Leaflet. Results are a screening exercise, not a regulatory determination.

Overview

A filling station stores tens of thousands of litres of petrol, diesel and often cooking gas under one forecourt. When stations are packed close together, a fire or explosion at one can spread to the next, turning a single incident into a disaster for the street around it. Port Harcourt has seen this happen. On Eleme Road, Elelenwo, a fire razed two filling stations standing side by side. Three people died, 15 others suffered burns of varying degrees, and 14 cars and two nearby houses were destroyed.

That is why siting rules exist. Nigeria's petroleum regulator (formerly the DPR, now the NMDPRA) sets minimum distances that a new station must keep from other stations, roads and sensitive land uses. This project tests existing stations in Lagos against two of those rules:

  • Station spacing: at least 400 m from the nearest station on the same side of the road, so fires cannot jump between neighbouring forecourts and stations do not crowd a single corridor.
  • Road setback: at least 15 m from the nearest road, so queues, tanker discharges and any fire stay off the carriageway.

The result is a rule-based screen published two ways: an ArcGIS Dashboard for planners, and an open web map anyone can use to check a proposed site.

Problem statement

Lagos is Nigeria's most populous city, and its roads carry millions of vehicles every day. That demand drives a constant stream of new filling stations, which compete for the same high-traffic frontages. The result is clustering: several stations within a few hundred metres on the same stretch of road, and forecourts pushed right up to the kerb.

Siting checks are usually done case by case, on paper, with no shared picture of how close existing stations already are. That makes it hard to see proliferation along a corridor, apply the rules consistently, or show an applicant exactly why a site fails. A spatial, rule-based screen addresses all three.

Study area and rationale

Three Local Government Areas were chosen because each represents a different driver of fuel demand:

LGAWhy it was selectedStations
IkejaThe state capital and administrative centre, home to Alausa and the state secretariat. Heavy daily commuter and civil-service traffic.17
KosofeBorders Ikeja and is one of the most densely settled parts of Lagos, because many people live close to the capital. Dense residential demand along Ikorodu Road and its feeders.15
Eti-OsaThe commercial, technology and corporate hub: Victoria Island, Ikoyi and the Lekki corridor, where most large companies are headquartered. Rapid growth along the Lekki–Epe Expressway.39

Together they cover an administrative core, a dense residential belt and a fast-growing business corridor, so the results show how compliance varies with the type of urban growth.

Objectives

  1. Map every filling station in Ikeja, Kosofe and Eti-Osa and attach it to its ward and LGA.
  2. Measure each station's distance to the nearest station on the same side of the road, and to the nearest road.
  3. Classify each station as fully compliant, single violation or double violation, and record the violation type.
  4. Quantify proliferation: the number of stations within 400 m of each station.
  5. Publish the results as an ArcGIS Dashboard and as an open web map with a checker for proposed sites.

Data & sources

DatasetSourceUse
Filling stations (71 points)Station POI dataset with ward and LGA names, cleaned in ArcGIS ProFeatures assessed
Road network (about 19,500 segments)OpenStreetMap, clipped to the three LGAsRoad setback and road-side grouping
LGA and ward boundariesLagos State administrative boundariesStudy area and attribution
Siting thresholdsDPR / NMDPRA filling-station siting guidelines400 m spacing, 15 m setback
Live roads for the web checkerOpenStreetMap via the Overpass APIProposed-site test
BasemapsEsri Light Gray Canvas, World Street Map, World ImageryContext

Distances were measured in a projected coordinate system in ArcGIS Pro, and the layers were exported to WGS 84 GeoJSON for the web.

Interactive map

Click any station for its distances and rule results. Use Drop a proposed site to test a new location: the checker measures the nearest station on the same side of the frontage road and the nearest road, using live OpenStreetMap roads.

ArcGIS Dashboard

The same analysis as an operational dashboard for reviewers: filters by LGA, status, violation type and station, with proliferation and compliance-by-LGA charts.

If the dashboard panels are empty, open it directly on ArcGIS Online.

Methodology

Station POIs→Left / right road-side split→Near: station ↔ station→ Near: station ↔ road→Rule flags→Overall status→Dashboard + GeoJSON→Leaflet
  1. Road-side grouping: stations in each LGA were split into left and right of the main road, so spacing is only measured between stations a motorist would pass on the same side.
  2. Spacing test: Near within each side group gives the distance to the nearest station; ≥ 400 m is compliant.
  3. Setback test: Near against the OSM road network gives the distance to the nearest road centreline; ≥ 15 m is compliant.
  4. Classification: both rules met = fully compliant; one broken = single violation; both broken = double violation. A 400 m buffer count gives the proliferation score.
  5. Publishing: the three LGA layers were merged, published to ArcGIS Online and built into a dashboard. The layers were then exported to GeoJSON (WGS 84) for the web map.
  6. Web checker: the browser re-implements both tests in plain JavaScript. For a proposed site it fetches roads within 700 m from OpenStreetMap, finds the nearest major road to decide which side of it the site is on, and measures spacing to stations on that side only. Run against all 71 stations with the project road data, it reproduces the ArcGIS road distances to within 0.2 m and every compliance class.

Results

LGAStationsFully compliantSingle violationDouble violationFail setbackFail spacing
Eti-Osa397284315
Ikeja170152172
Kosofe152112132
Total719548619
  • Only 9 of 71 stations (13%) meet both rules; no station in Ikeja does.
  • Road setback is the dominant failure (61 stations); spacing fails at 9.
  • The 8 double violations sit where stations cluster on the same side of busy corridors, which is where proliferation control matters most.

Limitations

  • Point position drives the setback result. Many station points sit 0–10 m from the road centreline, likely because POIs are placed at the entrance rather than the forecourt. Digitising forecourt positions from imagery is the main next step, and would likely lower the setback failure rate.
  • Centreline, not road edge: setback is measured to the OSM centreline, without carriageway width or right-of-way.
  • Road-side split is an approximation. The ArcGIS analysis grouped stations by side of the main road; the web checker uses the nearest major road locally, which is less reliable at junctions and roundabouts.
  • Live OSM roads in the checker may differ slightly from the road extract used in ArcGIS.
  • Two rules only. Real approvals also consider distance to schools, hospitals and other sensitive uses, plot size, and environmental requirements.

Technologies

ArcGIS Pro (Near, Buffer, Spatial Join) · ArcGIS Online · ArcGIS Dashboards · ArcPy (GeoJSON export) · Leaflet · JavaScript · OpenStreetMap / Overpass API · Esri basemaps · Vercel