Bug report #17161
Updated by Jürgen Fischer about 7 years ago
Tested on Linux and Windows (raster layer attached) on 2.18.13
2017-09-19T19:29:30 2 Uncaught error while executing algorithm
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py", line 203, in execute
self.processAlgorithm(progress)
File "/usr/share/qgis/python/plugins/processing/algs/qgis/ZonalStatistics.py", line 232, in processAlgorithm
numpy.isnan(srcArray))))
ValueError: setting an array element with a sequence.
This is a regression as the tools worked fine in previous releases.
Note: if sample polygon(s) are smaller than a pixel size then the tool runs but the output is empty, see also: https://issues.qgis.org/issues/17159
On master seems ok, but still #17159 https://issues.qgis.org/issues/17159
2017-09-19T19:29:30 2 Uncaught error while executing algorithm
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py", line 203, in execute
self.processAlgorithm(progress)
File "/usr/share/qgis/python/plugins/processing/algs/qgis/ZonalStatistics.py", line 232, in processAlgorithm
numpy.isnan(srcArray))))
ValueError: setting an array element with a sequence.
This is a regression as the tools worked fine in previous releases.
Note: if sample polygon(s) are smaller than a pixel size then the tool runs but the output is empty, see also: https://issues.qgis.org/issues/17159
On master seems ok, but still #17159 https://issues.qgis.org/issues/17159