crs-l3-tokyo-jgd-crossings

Analyst notes

Description

This task tests whether the agent can run a full CRS round-trip workflow over live Overpass data. The prompt asks for "the regional metric coordinate system" without naming an EPSG; the canonical answer is JGD2011 / Japan Plane Rectangular Zone IX (EPSG:6677), the conformal national grid covering Tokyo, and any other choice on the four engineering layers fails their per-layer CRS subchecks plus the coordinate-envelope check. The hidden gotcha sits one level deeper than picking the right code: planar buffers and area calculations have to happen in the projected frame, so an agent that calls set_crs(6677) without to_crs(6677) leaves geometries in lon/lat and produces 50-degree-wide buffers that cover half of Asia.

Approach

  1. Query Overpass for Tokyo's 23 special wards as admin_level=7 boundary relations inside the Tokyo Metropolis area, and for the drivable road network (motorway through living_street, no service or footway or cycleway or path) in their bounding box.
  2. Reproject both layers into JGD2011 / Japan Plane Rectangular Zone IX (EPSG:6677) before doing any geometric work, so distances and areas are in honest metres.
  3. Find each point where a road LineString crosses a ward boundary, keeping the source ward's id and name alongside each crossing.
  4. Build a 50 m planar buffer around each crossing point, then clip each buffer to the ward whose boundary produced it.
  5. Compute crossings_per_km2 per ward as crossing_count divided by ward area in km², and reproject only the density layer back to WGS84.
  6. Write all five layers into a single GPKG, with the four engineering layers in EPSG:6677 and the density layer in EPSG:4326.

Pitfalls

Inputs

nameformatcrsgeometryfeatures

Expected outputs

nameformatcrsgeometryfeatures
tokyo_crossings.gpkg gpkg EPSG:6677 Mixed 23

Recent runs task v4

adapterstartedscorestepsdurationcoststatus
openrouter-gemma4-26b-basic 2026-06-18T07:32:32Z pending pending
openrouter-deepseek-v4-flash-basic 2026-06-18T03:08:04Z 0.00 60 31:22 6.71¢ done
openrouter-deepseek-v4-flash-detailed 2026-06-17T22:01:33Z ERR 76 90:43 32.08¢ failed
openrouter-gemma4-26b-detailed 2026-06-17T19:47:47Z ERR 12 8:56 0.30¢ failed
openrouter-deepseek-v4-flash-basic 2026-06-16T21:43:55Z ERR 75 27:53 9.93¢ failed