Benchmark / Use cases / Drainage networks / Results
Drainage networks
Does compression move the streams that flow routing draws on a DEM?
How it is measured
stream_f1 is the F1 score of the compressed stream network against the original one. Precision is the share of compressed stream cells within one cell of an original stream. Recall is the share of original stream cells within one cell of a compressed stream. stream_f1 is 1 when the two networks agree.
Compression
The DEM goes through GeoZL PIVCO, GeoZL PFOR or JPEG XL at root-mean-square error limits from 0.1 to 6.4 m, doubling each step. The GeoZL recipes geozl-med-pivco and geozl-planar-pfor use the same lossy quantiser. They decode to the same heights, but their compressed sizes differ. JPEG XL searches for the largest distance within the limit and falls back to lossless if none fits. On some flat DEMs, its largest distance already meets the larger limits, so those limits give the same point.
Compression ratio and stream_f1
Each point is a bound on the root-mean-square error, written next to it in metres, at the compression ratio over all the samples of the panel and the median stream_f1. Where JPEG XL finds no distance within the bound it stores the array losslessly, so those bounds share one point, marked lossless.









