FA-69889 / Map projection transforms / Member archive
Spherical web mercator inverse projection: latitude radian conversion · case 04
Latitudes are returned in radians.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| control #5 | [-73.9999998, 0.7105926] | [-73.9999998, 40.7139556] | 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 ↗