[Qgis-user] QGIS and SAGA 7.3.0

Rien Boydens rien.boydens at gmail.com
Sun Oct 18 13:25:18 PDT 2020


Hi Nick

This seems to be a bug in SAGA NextGen. I'm already looking to file a 
pull request, but you could also quickly fix it for yourself by going to 
.local/share/QGIS/QGIS3/profiles/default/python/plugins/processing_saga_nextgen/description/SimpleFilter.txt 
and changing "MODE" to "KERNEL_TYPE" and "RADIUS" to "KERNEL_RADIUS". 
You might also do it in SimpleFilerwithinshape.txt if you want that one 
to work as well.

Wish you good luck
Rien

On 18/10/2020 20:57, Nick Hopton wrote:
> Hi berndv,
>
> I thought we might be getting somewhere with your last suggestion, I made
> the changes you mentioned and the SAGA NextGen tools duly appeared. I then
> tried to run the SAGA Simple filter on a one-metre DTM, but this failed with
> the message 'Unknown option 'MODE''. This is a step forward of course, I'd
> not managed QGIS/NexGen to recognise SAGA at all before this. Here's part of
> the output from the log:
>
> =================================================
>
> 2020-10-18T19:22:34     INFO    SAGA execution commands
>               io_gdal 0 -TRANSFORM 1 -RESAMPLING 3 -GRIDS
> "/tmp/processing_LzwXIT/b240a8bf0bac43518ec759524cb8b9d0/DTMSU5565P107172019012320190325.sgrd"
> -FILES
> "/home/nick/Desktop/bucklebury_common/P_10717/DTM_SU5565_P_10717_20190123_20190325.tif"
>               grid_filter "Simple Filter" -INPUT
> "/tmp/processing_LzwXIT/b240a8bf0bac43518ec759524cb8b9d0/DTMSU5565P107172019012320190325.sgrd"
> -MODE 0 -METHOD 0 -RADIUS 25 -RESULT
> "/tmp/processing_LzwXIT/a2d7f23262044c1faa1105e743070c85/RESULT.sdat"
> 2020-10-18T19:22:36     INFO    SAGA execution console output
>               ____________________________
>               
>               ##### ## ##### ##
>               ### ### ## ###
>               ### # ## ## #### # ##
>               ### ##### ## # #####
>               ##### # ## ##### # ##
>               ____________________________
>               
>               SAGA Version: 7.3.0
>               
>               ____________________________
>               library path: /usr/lib/x86_64-linux-gnu/saga/
>               library name: libio_gdal
>               library : io_gdal
>               tool : Import Raster
>               identifier : 0
>               author : O.Conrad (c) 2007 (A.Ringeler)
>               processors : 12 [12]
>               ____________________________
>               
>               
>               
>               Parameters
>               
>               Grids: No objects
>               Files:
> "/home/nick/Desktop/bucklebury_common/P_10717/DTM_SU5565_P_10717_20190123_20190325.tif"
>               Multiple Bands Output: automatic
>               Select from Multiple Bands:
>               Transformation: true
>               Resampling: B-Spline Interpolation
>               
>               
>               loading:
> /home/nick/Desktop/bucklebury_common/P_10717/DTM_SU5565_P_10717_20190123_20190325.tif
>               
>               
>               
>               Driver: GTiff
>               
>               Bands: 1
>               
>               Rows: 5000
>               
>               Columns: 5000
>               
>               
>               loading: DTM_SU5565_P_10717_20190123_20190325
>               
>               
>               ____________________________
>               
>               ##### ## ##### ##
>               ### ### ## ###
>               ### # ## ## #### # ##
>               ### ##### ## # #####
>               ##### # ## ##### # ##
>               ____________________________
>               
>               SAGA Version: 7.3.0
>               
>               Unknown option 'MODE'
>               ____________________________
>               library path: /usr/lib/x86_64-linux-gnu/saga/
>               library name: libgrid_filter
>               library : grid_filter
>               tool : Simple Filter
>               identifier : 0
>               author : O.Conrad (c) 2003
>               processors : 12 [12]
>               ____________________________
>
> =============================================
>
> I'm not entirely sure where I go from here!
>
> All the best,
> Nick.
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


More information about the Qgis-user mailing list