Episode: Deeper pyramid levels (z6+ on demand)
EPISODE-GOAL
Extend the equirectangular tile pyramid beyond z5: generate z6+ tiles on demand with --tile, add them to the index, and have the globe page fetch them when zoomed in.
EPISODE-PHASE
phase 2
EPISODE-ACCEPTANCE
- Can
scripts/etopo-tiles-build.sh --tile Z ROW COLproduce a z6 tile thatcheckvalidates against the manifest? - Is the new tile added to
tiles/index.jsonwithout regenerating z1..z5? - Does the globe page request a z6 tile for a zoomed-in window, and does the tile render in the detail patch without exception?
- Is the whole change reviewable in one sitting?
EPISODE-RISKS
- Does on-demand generation keep the full z1..z6 pyramid from being built eagerly (it would be far too large)?
- Do the fetch paths (URL scheme) match what the browser requests?
EPISODE-TASKS
- Add z6+ on-demand generation to
scripts/etopo-tiles-build.sh. - Extend the index format to record per-tile availability, not a fixed pyramid.
- Update the globe page’s zoomed fetch to use deeper levels.
- Extend
tests/05-etopo-tiles-build.shto cover on-demand z6 generation. - Verify in headless Chrome: zoom to a window that requests z6.
EPISODE-OUTPUT
Report the changed scripts, the tile/URL scheme, and the headless-Chrome verification result.
EPISODE-FILES
scripts/etopo-tiles-build.sh— existingdataflow.out/tiles/index.json— existing (generated)site.in/globe.js— existingtests/05-etopo-tiles-build.sh— existing
EPISODE-BRANCH
llm/episode-02