We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 5645a18 commit 8ec82a3Copy full SHA for 8ec82a3
python/plugins/processing/algs/qgis/ZonalStatistics.py
@@ -137,8 +137,8 @@ def processAlgorithm(self, progress):
137
columnPrefix + 'unique', 21, 6)
138
(idxRange, fields) = vector.findOrCreateField(layer, fields,
139
columnPrefix + 'range', 21, 6)
140
- (idxCV, fields) = vector.findOrCreateField(layer, fields, columnPrefix
141
- + 'cv', 21, 6)
+ (idxVar, fields) = vector.findOrCreateField(layer, fields, columnPrefix
+ + 'var', 21, 6)
142
143
# idxMedian, fields = ftools_utils.findOrCreateField(layer, fields,
144
# columnPrefix + "median", 21, 6)
@@ -222,7 +222,7 @@ def processAlgorithm(self, progress):
222
attrs.insert(idxStd, float(masked.std()))
223
attrs.insert(idxUnique, numpy.unique(masked.compressed()).size)
224
attrs.insert(idxRange, float(masked.max()) - float(masked.min()))
225
- attrs.insert(idxCV, float(masked.var()))
+ attrs.insert(idxVar, float(masked.var()))
226
# attrs.insert(idxMedian, float(masked.median()))
227
228
outFeat.setAttributes(attrs)
0 commit comments