FAILURE MAP
← Case archive

FA-70672 / GIS polygon topology / Member archive

Coverage gap and overlap areas: extent breakpoints · case 02

Uncovered strips along the extent edge are missing from the gap total.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Input [rects, extent]: axis-aligned integer rectangles [x0, y0, x1, y1] forming a coverage and an extent box. Split the plane on all rectangle and extent edges; for each cell inside the extent count the rectangles whose OPEN interior contains the cell centre. Gap area sums cells with count 0, overlap area sums (once) cells with count >= 2. Parts outside the extent are ignored. Return [gap, overlap].

Why this case matters

Cadastral and zoning coverages must tile the study area exactly; QA reports gaps and overlaps by area.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
control #1[35, 4][84, 4]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗