FAILURE MAP
← Case archive

FA-69880 / Map projection transforms / Member archive

Spherical web mercator inverse projection: easting wrap modulus · case 05

Positions from wrapped world copies return longitudes in the western hemisphere only.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Input [x, y] metres (sphere radius 6378137). Eastings outside the world extent E = 20037508.342789244 are wrapped into [-E, E) first. Return [lon, lat] in degrees rounded to 7 decimals.

Why this case matters

Converting clicked map positions or tile corners back to geographic coordinates uses this inverse; faults misplace every reverse-geocoded point.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression #1[-89.4945852, -17.6789142][90.5054148, -17.6789142]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 ↗