<div dir="ltr">Can we aspire to translate having the same set of resampling algorithms as the warper? <div><br></div><div>I see the warper adds min, max, mod, q1, q3, sum</div><div><br></div><div>I especially wanted sum for OVERVIEW_RESAMPLING in COG, and I can see where it's done and  ...  can maybe see my way through that ... but the 600 lines of code in GDALResampleChunk_AverageOrRMS_T kind of reins in my confidence. </div><div><br></div><div><a href="https://github.com/OSGeo/gdal/blob/26e7ff91504e0303434f440e6d19e58f2a206b45/gcore/overview.cpp#L1211C15-L1211C47">https://github.com/OSGeo/gdal/blob/26e7ff91504e0303434f440e6d19e58f2a206b45/gcore/overview.cpp#L1211C15-L1211C47</a><br></div><div><br></div><div>It came up as a need for statistical properties required for overview-publishers, and while I think we can incrementally build up the SUM-pyramid with external overivews via CLI it would be awesome to have the same stats for the two resampling regimes. </div><div><br></div><div>Thank you</div><div><br></div><div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Michael Sumner<br>Software and Database Engineer<br>Australian Antarctic Division<br>Hobart, Australia<br>e-mail: <a href="mailto:mdsumner@gmail.com" target="_blank">mdsumner@gmail.com</a></div></div></div>