FAILURE MAP
← Case archive

FA-69924 / Map projection transforms / Member archive

Geographic bounds of a map tile: north edge row · case 04

Tiles have zero height: north equals south.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input [z, col, row, scheme] where scheme is "xyz" (row 0 at north) or "tms" (row 0 at south). Return [west, south, east, north] in degrees rounded to 6 decimals, using lon = col/n*360-180 and lat = degrees(atan(sinh(pi*(1-2*r/n)))) for an xyz row edge r, n = 2**z. A tms row t is the xyz row n-1-t.

Why this case matters

Tile footprints drive cache invalidation, label placement and raster reprojection; wrong edges misalign tiles.

One recorded failure

Sample boundary fixture

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

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