-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QGIS console: 'saga:rastercalc' giving bogus values compared to other algorithms #20701
Comments
Author Name: Giovanni Manghi (@gioman) If is SAGA that makes the wrong calculations then qgis/processing cannot do anything about it. Can you test run the same operation using the SAGA command line/gui? Thanks.
|
Author Name: paolo prosperi (paolo prosperi) I am indeed having the same strange results from SAGA GUI (Grid Calculus command) as I did earlier from saga:rastercalculator in QGIS console. I don't know how to do the same with SAGA command line, sorry.
|
Author Name: Giovanni Manghi (@gioman) paolo prosperi wrote:
SAGA gui or cli does not make difference, but if this is a SAGA issue than we cannot do anything in QGIS/Processing.
|
Author Name: paolo prosperi (paolo prosperi) Following Giovanni's response, I filed a bug in the SAGA system and, very surprisingly, this is the outcome from Olaf Conrad (http://sourceforge.net/p/saga-gis/bugs/204/): "This is not a bug but a feature. If using grids with different grid systems, values are interpolated automatically with a spline function to meet the target grid system. Good to know for anyone working with saga:rastercalculator tool in QGIS. |
Author Name: paolo prosperi (paolo prosperi)
Original Redmine Issue: 12573
Affected QGIS version: 2.8.1
Redmine category:processing/saga
A note the issue reported under #20615, but mine seems different.
From QGIS python console, saga:rastercalculator gives bogus values compared to QGIS GUI raster calculator(same input rasters and formulas, obviously).
Just a double check, I changed algorithm:
and got the very same results as in the QGIS GUI raster calculator.
I'm on Windows (tried both 7 and 8.1) with QGIS 2.8.1 Wien (from OSGEO4W).
I'm attaching the input rasters.
The text was updated successfully, but these errors were encountered: