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.
2 parents 1fcc982 + c75fd57 commit 6f075caCopy full SHA for 6f075ca
python/plugins/processing/algs/qgis/ui/RasterCalculatorWidgets.py
@@ -120,7 +120,7 @@ def okPressed(self):
120
121
class ExpressionWidget(BASE, WIDGET):
122
123
- _expressions = {"NDVI": "([NIR] - [Red]) % ([NIR] + [Red])"}
+ _expressions = {"NDVI": "([NIR] - [Red]) / ([NIR] + [Red])"}
124
125
def __init__(self, options):
126
super(ExpressionWidget, self).__init__(None)
0 commit comments