++ ++
GeoZL

codec / predictor / lossless

delta_w

Store how values change across each row.

delta_w compares every sample with the one on its left. Each row begins with one complete value, so rows never depend on one another. Choose it for rasters that change smoothly from west to east: the remaining differences are small and easier to compress.

ctid
0x72D701
header
uint32 · row width in samples
widths
8 · 16 · 32 · 64-bit integers
decode
rᵢ + previous reconstructed, per row (prefix sum)
Code geozl.lossless.DeltaW(width)
delta_w rewrites each value as a difference from its west neighbour; the first value of the row is a seed rows are independent, each reseeds at its left edge