Publications

to browse

Method for Memory-Bounded Construction of a Globally Complete, High-Zoom-Level Cloud-Optimized GeoTIFF from Tile-Access Logs

A memory-bounded method is disclosed for constructing a globally complete, high-zoom-level Cloud-Optimized GeoTIFF—a planet-wide raster on the order of 10¹¹ cells—from a rolling window of tile-access logs, using working memory that is essentially constant in the number of cells. The output is a standards-compliant COG with a full reduced-resolution overview pyramid, derived by robustly aggregating the per-tile time series; it is several hundred times smaller than a naïve dense encoding. The method combines a level-embedding space-filling tile key, a two-stage disk-backed ordering (per-period external sort followed by a cross-period streaming merge), a bounded root-to-leaf raster working set that follows from consuming the ordered stream in tree pre-order, single-pass inline overview generation, per-cell robust aggregation computed without materializing the time series, and three complementary output-size reductions (magnitude quantization, tile deduplication by shared file offsets, and a monotone value transform). A worked configuration builds a global zoom-18 raster in under one gigabyte of resident memory and emits a roughly 600 MB file where a dense encoding would require approximately 275 GB.

A defensive disclosure of the technique behind OSMViews: how its builder turns a rolling window of OpenStreetMap tile-access logs into a planet-wide raster in constant memory. Published to prevent patentability; the reference implementation is on GitHub under the MIT license.