fio-l2-capetown-landuse-dissolve

Analyst notes

Description

Tests format-I/O composition: dissolve a Cape Town land-use FlatGeobuf by `class`, collect each per-class result into a single MultiPolygon, compute the per-class total area and source-parcel count, and write a GeoParquet in the input's projected CRS. The prompt deliberately omits the EPSG code and the input format so the agent has to read both off the bundled file and pick the right projection for the area math on its own.

Approach

  1. Read the bundled land-use file and inspect its CRS, geometry types, and the `class` column.
  2. Group features by `class` and union the per-class geometries.
  3. Collect each per-class result into a single MultiPolygon, wrapping any plain Polygon so every row carries the same geometry type.
  4. Compute `parcel_count` as the input feature count per class and `area_m2` as the dissolved-geometry area in projected metres.
  5. Write the result to `landuse_dissolved.geoparquet` in the input's projected CRS with one row per class.

Pitfalls

Inputs

nameformatcrsgeometryfeatures
landuse flatgeobuf EPSG:32734 MultiPolygon 30,978

Expected outputs

nameformatcrsgeometryfeatures
landuse_dissolved.geoparquet geoparquet EPSG:32734 MultiPolygon 72

Map

Recent runs task v2

adapterstartedscorestepsdurationcoststatus
openrouter-gemma4-26b-basic 2026-06-18T07:32:32Z pending pending
openrouter-deepseek-v4-flash-basic 2026-06-18T03:08:04Z 0.94 13 2:04 0.36¢ done
openrouter-deepseek-v4-flash-detailed 2026-06-17T22:01:33Z 0.94 12 2:25 0.36¢ done
openrouter-gemma4-26b-detailed 2026-06-17T19:47:47Z 0.94 7 0:54 0.17¢ done
openrouter-deepseek-v4-flash-basic 2026-06-16T21:43:55Z 1.00 15 2:11 0.36¢ done