Skip to content

Commit

Permalink
[processing] Fix qgis zonal stats algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 23, 2016
1 parent 96a649e commit 12a7bb3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions python/plugins/processing/algs/qgis/ZonalStatisticsQgis.py
Expand Up @@ -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
}

Expand Down

0 comments on commit 12a7bb3

Please sign in to comment.