FAILURE MAP
← Case archive

FA-70510 / GIS polygon topology / Member archive

Rook and queen polygon adjacency: queen vertex contact · case 05

Polygons meeting only at a corner are missing from queen neighbours.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Input [polygons, mode] where each polygon is a closed ring of integer vertices on a noded coverage (shared borders use identical vertices). Rook neighbours share at least one non-degenerate edge irrespective of direction; queen neighbours share at least one vertex. Return, for each polygon index, the ascending list of neighbour indexes (never itself).

Why this case matters

Spatial weights for regional statistics, district contiguity checks and map colouring all start from adjacency.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
control #11[[], []][[1], [0]]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 ↗