FAILURE MAP
← Case archive

FA-70202 / Map projection transforms / Member archive

Orthographic globe view with back-side culling: view latitude unit · case 02

The globe tilt is wrong for any view not centred on the equator.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

Input [lon, lat, lon0, lat0] degrees; sphere R = 6371000 viewed from infinity above (lon0, lat0). cos c = sin(p0)sin(p) + cos(p0)cos(p)cos(dl); points with cos c < 0 are on the far side and return None. Otherwise x = R cos(p) sin(dl), y = R (cos(p0) sin(p) - sin(p0) cos(p) cos(dl)), rounded to 2 decimals.

Why this case matters

Globe widgets and inset locator maps draw only the visible hemisphere; wrong culling shows features through the planet.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
control #1[-6363453.3, 262375.83][-6363453.3, -305228.13]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 ↗