https://issues.qgis.org/https://issues.qgis.org/favicon.ico2018-09-20T09:06:42ZQGIS Issue TrackingQGIS Application - Bug report #19900: Compute min/max/sum/mean (stats) while Dissolving layer not working (GDAL tool)https://issues.qgis.org/issues/19900?journal_id=930652018-09-20T09:06:42ZAndrea Giudiceandreaandreaerdna@libero.it
<ul></ul><p>PR <a class="external" href="https://github.com/qgis/QGIS/pull/7964">https://github.com/qgis/QGIS/pull/7964</a> submitted for QGIS 3.3.0-master</p>
<p>You can fix your Dissolve algorithm python script by changin line 157 in [QGIS install dir]\apps\qgis\python\plugins\processing\algs\gdal\Dissolve.py</p>
<p>from</p>
<pre>
statsField = self.parameterAsString(parameters, self.FIELD, context)
</pre>
<p>to</p>
<pre>
statsField = self.parameterAsString(parameters, self.STATISTICS_ATTRIBUTE, context)
</pre> QGIS Application - Bug report #19900: Compute min/max/sum/mean (stats) while Dissolving layer not working (GDAL tool)https://issues.qgis.org/issues/19900?journal_id=930742018-09-20T10:57:31ZAlessandro Pasotti
<ul><li><strong>Pull Request or Patch supplied</strong> changed from <i>No</i> to <i>Yes</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>In Progress</i></li></ul><p>Please update status and "PR/patch supplied" if you are working on a bug, this spares some clicks to other developers looking for tickets to work on.</p> QGIS Application - Bug report #19900: Compute min/max/sum/mean (stats) while Dissolving layer not working (GDAL tool)https://issues.qgis.org/issues/19900?journal_id=930852018-09-20T12:50:01ZAndrea Giudiceandreaandreaerdna@libero.it
<ul></ul><p>I'm not allowed to update the bug status.</p> QGIS Application - Bug report #19900: Compute min/max/sum/mean (stats) while Dissolving layer not working (GDAL tool)https://issues.qgis.org/issues/19900?journal_id=931042018-09-20T18:05:40Zfacundo pedemontefacundo.i.pedemonte@gmail.com
<ul></ul><p>Andrea Giudiceandrea wrote:</p>
<blockquote>
<p>PR <a class="external" href="https://github.com/qgis/QGIS/pull/7964">https://github.com/qgis/QGIS/pull/7964</a> submitted for QGIS 3.3.0-master</p>
<p>You can fix your Dissolve algorithm python script by changin line 157 in [QGIS install dir]\apps\qgis\python\plugins\processing\algs\gdal\Dissolve.py</p>
<p>from</p>
<p>[...]</p>
<p>to</p>
<p>[...]</p>
</blockquote>
<p>Thanks, this solved the issue.</p> QGIS Application - Bug report #19900: Compute min/max/sum/mean (stats) while Dissolving layer not working (GDAL tool)https://issues.qgis.org/issues/19900?journal_id=933732018-09-25T01:13:56ZNyall Dawson
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li></ul><p>Applied in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/a3af1f9f3a3e997614ffe8577be930a62c30fcc6" title="[processing][gdal] Add unit tests for Dissolve algorithm Also: Thanks to @agiudiceandrea: Fixe...">qgis|a3af1f9f3a3e997614ffe8577be930a62c30fcc6</a>.</p>