FAILURE MAP
← Case archive

FA-69864 / Map projection transforms / Member archive

Spherical web mercator forward projection: northing sign convention · case 04

The map is mirrored north-south.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Input [lon, lat] in degrees. Longitude is first wrapped into the half-open range [-180, 180); latitude is clamped to +/-85.05112878. Return [x, y] metres on a sphere of radius 6378137 with y growing northward, each rounded to 3 decimals.

Why this case matters

Web map tiles, vector tile encoders and map viewers all start from this forward transform; small mistakes shift features by kilometres or mirror them across the equator.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression #4[-19480910.889, -557305.257][-19480910.889, 557305.257]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 ↗