Which chunks does this view need?
A view in any projection, planned before anything is fetched: the screen is cut into tiles, each
takes the resolution level its own scale needs, and the chunks under them are listed. Drag to pan (the globe
turns), scroll to zoom. The table sets the plan beside the usual rule, one box at one level.
Source
View
Screen tile
32 pixels
64 pixels
128 pixels
Quality
the screen's scale
one level finer
one level coarser
Budget
none
48 chunks
24 chunks
12 chunks
6 chunks
Height
800 km
2,500 km
10,000 km
35,786 km (geostationary)
Tilt
Heading
Open
screen tiles by level
planned chunks
single-box chunks
fetch and draw
Rule Chunks Size Levels
Per screen tile (the plan)
One box, one level
Loading wasm...
The planner is rwarp::view, compiled to WebAssembly: no I/O and no rendering, so any viewer
can call it. A Zarr source is planned from its metadata (zarr.json: multiscales, the
spatial: and proj: attributes). The plan is then fetched, a COG's tiles in merged range
requests and a Zarr's chunks one request each (decoded by zarrs), and each screen tile warped by
wxy-warp from the level its plan gave it.
CRS through proj4rs. Sources must be served with CORS.
wxylib/web ; all examples .