-
-
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
Problem with SAGA 2.3.1 io_gdal not loaded #24317
Comments
Author Name: Giovanni Manghi (@gioman) This is critical to be solved before 2.18 ships as new LTR.
|
Author Name: Jürgen Fischer (@jef-n) Does that also happen with OSGeo4W's saga-ltr? |
Author Name: Pedro Venâncio (Pedro Venâncio) A different problem with OSGeo4W's saga-ltr, Jurgen: Unexpected parameter '0'
|
Author Name: Pedro Venâncio (Pedro Venâncio) Sorry, tested 2.18.5 before close all QGIS projets. So with QGIS 2.18.5 and SAGA 2.3.2 (osgeo4w saga-ltr) everything seems to work ok. With QGIS 3:
I think the problem is on https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/saga/SagaAlgorithm.py#L328
should be
|
Author Name: Pedro Venâncio (Pedro Venâncio) Besides the error in https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/saga/SagaAlgorithm.py#L328 I've found something strange, that can be tested running SAGA - Raster Calculator, with SAGA-LTR (from OSGeo4W) and Sample file: https://cld.pt/dl/download/6ac21f8c-0244-45a5-823e-6047bb99b208/bacias_lee_2014_2018_17_Binary.tif The purpose of this exercise is to pass the original raster to integer. When I do this in SAGA 2.3.2, pixels with a value of 1 go to nodata. Using SAGA 2.3.2 GUI, I get the correct result (value 1). Same with SAGA 2.1.2. The problem is related to the import (io_gdal). After some tests,
passes the pixels with value 1 to nodata, both on QGIS and on osgeo4w shell.
|
Author Name: Victor Olaya (@volaya) Looks like there was an issue in the syntax supported. It wasnt correctl using 2.3.x syntax in QGIS 3. I just fied it, so QGIS 3 should work fine with the saga-ltr shipped in osgeo4w |
Author Name: Pedro Venâncio (Pedro Venâncio)
Original Redmine Issue: 16408
Affected QGIS version: 2.18.4
Redmine category:processing/saga
Assignee: Alexander Bruy
For some reason, SAGA 2.3.1 io_gdal module is not loaded (both on QGIS 2.18.5 and QGIS 3), and Processing SAGA algs does not work. Some examples:
With OSGeo4W Shell I get:
Running saga_cmd directly from the folder I get:
The text was updated successfully, but these errors were encountered: