<div dir="ltr"><div>Here's a table showing the overlap (and unique features) of both algs:</div><div><br></div><div>



        
        
        
        
        
        



<table cellspacing="0" border="0">
        <colgroup width="178"></colgroup>
        <colgroup width="156"></colgroup>
        <colgroup width="111"></colgroup>
        <tbody><tr>
                <td height="17" align="left"><br></td>
                <td align="left"><b>QgsZonalStatistics alg</b></td>
                <td align="left"><b>Alternate alg</b></td>
        </tr>
        <tr>
                <td height="17" align="right">Count</td>
                <td align="center">x</td>
                <td align="center">x</td>
        </tr>
        <tr>
                <td height="17" align="right">Sum</td>
                <td align="center">x</td>
                <td align="center">x</td>
        </tr>
        <tr>
                <td height="17" align="right">Mean</td>
                <td align="center">x</td>
                <td align="center">x</td>
        </tr>
        <tr>
                <td height="17" align="right">Median</td>
                <td align="center">x</td>
                <td align="center">x</td>
        </tr>
        <tr>
                <td height="17" align="right">StDev</td>
                <td align="center">x</td>
                <td align="center">x</td>
        </tr>
        <tr>
                <td height="17" align="right">Min</td>
                <td align="center">x</td>
                <td align="center">x</td>
        </tr>
        <tr>
                <td height="17" align="right">Max</td>
                <td align="center">x</td>
                <td align="center">x</td>
        </tr>
        <tr>
                <td height="17" align="right">Range</td>
                <td align="center">x</td>
                <td align="center">x</td>
        </tr>
        <tr>
                <td height="17" align="right">Minority</td>
                <td align="center">x</td>
                <td align="center"><br></td>
        </tr>
        <tr>
                <td height="17" align="right">Majority</td>
                <td align="center">x</td>
                <td align="center"><br></td>
        </tr>
        <tr>
                <td height="17" align="right">Variety / Unique</td>
                <td align="center">x</td>
                <td align="center">x</td>
        </tr>
        <tr>
                <td height="17" align="right">Variance (i.e. numpy.var)</td>
                <td align="center"><br></td>
                <td align="center">x</td>
        </tr>
        <tr>
                <td height="17" align="right">Mode (I.e.scipy.stats.mode)</td>
                <td align="center"><br></td>
                <td align="center">x</td>
        </tr>
</tbody></table>



</div><div><br></div><div>Two statistical outputs (variance and mode) aren't available in QgsZonalStatistics-based alg, while two outputs (minority and majority) are missing from the alternate alg.<br></div><div><br></div><div>I'm not an intense user of zonal stats either, and I've always used the QgsZoneStatistics one. <br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 28, 2017 at 12:07 PM, Nyall Dawson <span dir="ltr"><<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 28 June 2017 at 12:19, Mathieu Pellerin <<a href="mailto:nirvn.asia@gmail.com">nirvn.asia@gmail.com</a>> wrote:<br>
> As part of the ongoing upgrade and cleanup done by the Nyall, we should take<br>
> the opportunity to get rid of one of the overlapping "Zonal Statistics" and<br>
> "Zonal Statistics (QGIS)" algorithms. The latter relies on QGIS'<br>
> QgsZonalStatistics.<br>
><br>
> Yesterday, I've resurrected the "Zonal Statistics (QGIS)" algorithm, and in<br>
> doing so added progress feedback + cancellation support. Would anyone object<br>
> to:<br>
> a/ rename this algorithm to "Zonal Statistics"<br>
> b/ delete the former (and obsolete) "Zonal Statistics" algorithm<br>
<br>
</span>I'm not a big user of zonal stats... but I'd like to see this<br>
duplication removed.<br>
<br>
Can you sum up what the differences between the tool algorithms are?<br>
Are they any downsides to dropping the other tool, or is the Zonal<br>
Stats (QGIS) alg better in every way?<br>
<span class="HOEnZb"><font color="#888888"><br>
Nyall<br>
</font></span></blockquote></div><br></div>