nigeria-grid3-boundaries
v0.1.1Nigerian admin boundaries (state/LGA/ward): centroid, bbox, reverse-geocode.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_boundary Get Nigerian admin boundary
Look up a Nigerian administrative boundary (state, LGA or ward) by name. Returns the centroid, bounding box and attribution — not the full polygon. Example: { level: 'state', name: 'Lagos' }. Data: GRID3, CC BY 4.0.
| Parameter | Type | Description |
|---|---|---|
level * | string | Administrative level: state, lga or ward |
name * | string | Boundary name, e.g. 'Lagos' or 'Eti-Osa' |
point_in_admin Reverse-geocode a point to admin areas
Resolve a WGS84 point to the Nigerian state, LGA and (where mapped) ward containing it — the reverse-geocode primitive other lookups compose on. Example: { lat: 6.43, lng: 3.42 }. Data: GRID3, CC BY 4.0.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude (WGS84), Nigeria is ~4-14°N |
lng * | number | Longitude (WGS84), Nigeria is ~2-15°E |