From 4eca20f28dccabd1238e10a8c556e0bd69a35788 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Fri, 30 Jun 2017 19:28:39 +1000 Subject: [PATCH] Fix zonal stats algorithm execution --- python/plugins/processing/algs/qgis/ZonalStatistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/plugins/processing/algs/qgis/ZonalStatistics.py b/python/plugins/processing/algs/qgis/ZonalStatistics.py index 29bec06da2e..d75b4951863 100644 --- a/python/plugins/processing/algs/qgis/ZonalStatistics.py +++ b/python/plugins/processing/algs/qgis/ZonalStatistics.py @@ -125,7 +125,7 @@ class ZonalStatistics(QgisAlgorithm): self.rasterLayer, self.columnPrefix, self.bandNumber, - self.selectedStats) + QgsZonalStatistics.Statistics(self.selectedStats)) zs.calculateStatistics(feedback) return True