++ ++
GeoZL

codec / split · 1→2 / lossless

deinterleave

Give alternating values their own lane.

Use deinterleave when one stream really contains two interwoven sequences. Even positions go to one lane and odd positions to the other, without changing or interpreting the values. Complex rasters are the common case: real and imaginary components can then follow separate predictor paths. Decoding simply weaves the two lanes back together.

ctid
0x72D704
header
none · rebuilt from the two lane counts
lanes
even ⌈N/2⌉ · odd ⌊N/2⌋
decode
element 2k from lane 0, 2k+1 from lane 1
Code geozl.lossless.Deinterleave()
deinterleave splits one interleaved stream into an even lane and an odd lane by position