dd-l3-lagos-overture-buildings

Analyst notes

Description

This is an L3 data-discovery task that probes whether the agent can drive a real Overture S3 fetch from a polygon scope it discovers itself. The prompt deliberately omits the bounding box, the projected CRS used for area, the theme name for the LGA boundaries, and the spatial-join verb. A competent agent should reach for Overture's divisions theme to find the Lagos State polygon, derive a bbox from it for partition pushdown, reproject to a metric CRS to compute honest m² areas, filter to footprints over 1000 m², spatial-join the filtered buildings to the 20 Lagos LGAs, and emit a GeoParquet plus a plain Parquet summary with null-aware height stats.

Approach

  1. Fetch the Lagos State boundary polygon from Overture's divisions theme (the region-level admin entry for Nigeria, Lagos) and use its bounds as the bbox for partition-pushed building queries.
  2. Query Overture's buildings theme via DuckDB against S3 with that bbox, then clip or filter to features whose representative point falls inside the state polygon.
  3. Reproject the building geometries to a metric CRS suitable for Lagos and compute the footprint area in m².
  4. Keep only buildings whose footprint exceeds 1000 m².
  5. Pull the 20 Lagos LGA polygons from Overture divisions (county-level for Lagos) and spatial-join each building to its LGA.
  6. Write the per-building file in EPSG:4326 GeoParquet, then aggregate per LGA into a plain Parquet summary with count, total area, count-with-height, and median height (null where no heights are present).

Pitfalls

Inputs

nameformatcrsgeometryfeatures

Expected outputs

nameformatcrsgeometryfeatures
lagos_buildings.geoparquet geoparquet EPSG:4326 Polygon 7,250
lagos_building_summary.parquet parquet

Map

Recent runs task v1

adapterstartedscorestepsdurationcoststatus
openrouter-gemma4-26b-basic 2026-06-18T07:32:32Z pending pending
openrouter-deepseek-v4-flash-basic 2026-06-18T03:08:04Z 1.00 38 22:45 3.22¢ done
openrouter-deepseek-v4-flash-detailed 2026-06-17T22:01:33Z 1.00 33 16:13 3.06¢ done
openrouter-gemma4-26b-detailed 2026-06-17T19:47:47Z 0.45 37 29:11 4.67¢ done
openrouter-deepseek-v4-flash-basic 2026-06-16T21:43:55Z 1.00 28 20:49 2.30¢ done