Skip to content
Permalink
Browse files

[processing] Fix qgis zonal stats algorithm

  • Loading branch information
nyalldawson committed Oct 23, 2016
1 parent 96a649e commit 12a7bb34e8d9e9fda05bbacb11071ee7278c1124
Showing with 10 additions and 10 deletions.
  1. +10 −10 python/plugins/processing/algs/qgis/ZonalStatisticsQgis.py
@@ -57,16 +57,16 @@ def getIcon(self):

def defineCharacteristics(self):
self.STATS = {self.tr('Count'): QgsZonalStatistics.Count,
self.tr('Sum'): QgsZonalStatistics.Count,
self.tr('Mean'): QgsZonalStatistics.Count,
self.tr('Median'): QgsZonalStatistics.Count,
self.tr('Std. dev.'): QgsZonalStatistics.Count,
self.tr('Min'): QgsZonalStatistics.Count,
self.tr('Max'): QgsZonalStatistics.Count,
self.tr('Range'): QgsZonalStatistics.Count,
self.tr('Minority'): QgsZonalStatistics.Count,
self.tr('Majority'): QgsZonalStatistics.Count,
self.tr('Variety'): QgsZonalStatistics.Count,
self.tr('Sum'): QgsZonalStatistics.Sum,
self.tr('Mean'): QgsZonalStatistics.Mean,
self.tr('Median'): QgsZonalStatistics.Median,
self.tr('Std. dev.'): QgsZonalStatistics.StDev,
self.tr('Min'): QgsZonalStatistics.Min,
self.tr('Max'): QgsZonalStatistics.Max,
self.tr('Range'): QgsZonalStatistics.Range,
self.tr('Minority'): QgsZonalStatistics.Minority,
self.tr('Majority'): QgsZonalStatistics.Majority,
self.tr('Variety'): QgsZonalStatistics.Variety,
self.tr('All'): QgsZonalStatistics.All
}

0 comments on commit 12a7bb3

Please sign in to comment.
You can’t perform that action at this time.