FA-69952 / Map projection transforms / Member archive
Bing-style quadkey encoding of a tile: column digit weight · case 02
East and south quadrants are confused in generated keys.
Case contract
Input [z, col, row] with xyz rows. For zoom 0 return the empty string. If col or row is outside [0, 2**z - 1] return None. Otherwise emit z digits from the most significant bit down: digit = (1 if col bit set) + (2 if row bit set).
Why this case matters
Quadkeys are used as cache keys and spatial index prefixes; a wrong digit order breaks prefix containment.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| control #2 | "24" | "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 ↗