QGIS 2.4.0
SAGA GIS 2.0.8
DESCRIPTION:
Error when processing with SAGA. I used the "Shapes to Grid" function. The error given: "Oooops! The following output layers could not be open".
This error seems to be very common, but I can't find any solution that works. I have read various posts, but there is no answer to fix this error that seems to work. I am currently using the latest version of both QGIS and SAGA GIS.
ERROR:
Oooops! The following output layers could not be open
Grid: C:\Users\Burger\AppData\Local\Temp\processing\d6e5c059ffc247328315ea134947d3da\USERGRID.tif
The above files could not be opened, which probably indicates that they were not correctly produced by the executed algorithm
Checking the log information might help you see why those layers were not created as expected
This algorithm requires SAGA to be run. A test to check if SAGA is correctly installed and configured in your system has been performed, with the following result:
SAGA seems to be correctly installed and configured
LOG:
Algorithm Shapes to grid starting...
grid_gridding "Shapes to Grid" -INPUT "C:/Pieter & Wiesie Burger/BackUP Werk/Overberg Agri/Geografies/Data/Roodebloem/Stroper GPS/2012 Stroop/RB7 - BAR 2012 - 12110600 - filter points.shp" -FIELD "ERTRAG" -MULTIPLE 0 -LINE_TYPE 0 -GRID_TYPE 3 -USER_XMIN 24.53824 -USER_XMAX 14.54312 -USER_YMIN -29.24768 -USER_YMAX -39.24041 -USER_SIZE 10 -USER_GRID "C:\Users\Burger\AppData\Local\Temp\processing\d6e5c059ffc247328315ea134947d3da\USERGRID.tif.sgrd"
io_gdal 1 -GRIDS "C:\Users\Burger\AppData\Local\Temp\processing\d6e5c059ffc247328315ea134947d3da\USERGRID.tif.sgrd" -FORMAT 1 -TYPE 0 -FILE "C:\Users\Burger\AppData\Local\Temp\processing\d6e5c059ffc247328315ea134947d3da\USERGRID.tif"
C:\PROGRA~1\QGISCH~1\bin>set SAGA=C:/PROGRA~1/QGISCH~1/apps\saga
C:\PROGRA~1\QGISCH~1\bin>set SAGA_MLB=C:/PROGRA~1/QGISCH~1/apps\saga\modules
C:\PROGRA~1\QGISCH~1\bin>PATH=PATH;C:/PROGRA~1/QGISCH~1/apps\saga;C:/PROGRA~1/QGISCH~1/apps\saga\modules
C:\PROGRA~1\QGISCH~1\bin>saga_cmd grid_gridding "Shapes to Grid" -INPUT "C:/Pieter & Wiesie Burger/BackUP Werk/Overberg Agri/Geografies/Data/Roodebloem/Stroper GPS/2012 Stroop/RB7 - BAR 2012 - 12110600 - filter points.shp" -FIELD "ERTRAG" -MULTIPLE 0 -LINE_TYPE 0 -GRID_TYPE 3 -USER_XMIN 24.53824 -USER_XMAX 14.54312 -USER_YMIN -29.24768 -USER_YMAX -39.24041 -USER_SIZE 10 -USER_GRID "C:\Users\Burger\AppData\Local\Temp\processing\d6e5c059ffc247328315ea134947d3da\USERGRID.tif.sgrd"
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________
library path: C:/PROGRA~1/QGISCH~1/apps\saga\modules
library name: grid_gridding
module name : Shapes to Grid
author : O.Conrad (c) 2003
_____________________________________________
go...
Load shapes: C:/Pieter & Wiesie Burger/BackUP Werk/Overberg Agri/Geografies/Data/Roodebloem/Stroper GPS/2012 Stroop/RB7 - BAR 2012 - 12110600 - filter points.shp...
ready
okay
Parameters
Shapes: RB7 - BAR 2012 - 12110600 - filter points
Attribute: ERTRAG
Method for Multiple Values: first
Method for Lines: thin
Preferred Target Grid Type: Floating Point (4 byte)
Target Grid: user defined
**error:** executing module [Shapes to Grid]
C:\PROGRA~1\QGISCH~1\bin>saga_cmd io_gdal 1 -GRIDS "C:\Users\Burger\AppData\Local\Temp\processing\d6e5c059ffc247328315ea134947d3da\USERGRID.tif.sgrd" -FORMAT 1 -TYPE 0 -FILE "C:\Users\Burger\AppData\Local\Temp\processing\d6e5c059ffc247328315ea134947d3da\USERGRID.tif"
_____________________________________________
##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
_____________________________________________
library path: C:/PROGRA~1/QGISCH~1/apps\saga\modules
library name: io_gdal
module name : GDAL: Export Raster
author : O.Conrad (c) 2007
_____________________________________________
go...
Load grid: C:\Users\Burger\AppData\Local\Temp\processing\d6e5c059ffc247328315ea134947d3da\USERGRID.tif.sgrd...
**failed**
**error**: Grid file could not be opened.
**error**: input file [C:\Users\Burger\AppData\Local\Temp\processing\d6e5c059ffc247328315ea134947d3da\USERGRID.tif.sgrd]
**error**: empty input list [GRIDS]
Usage: 1 -GRIDS [-FILE ] [-FORMAT ] [-TYPE ]
-GRIDS: Grid(s)
Grid list (input)
-FILE: File
File path
-FORMAT: Format
Choice
Available Choices:
[0] Virtual Raster
[1] GeoTIFF
[2] National Imagery Transmission Format
[3] Erdas Imagine Images (.img)
[4] ELAS
[5] In Memory Raster
[6] MS Windows Device Independent Bitmap
[7] PCIDSK Database File
[8] ILWIS Raster Map
[9] SGI Image File Format 1.0
[10] Leveller heightfield
[11] Terragen heightfield
[12] ERMapper .ers Labelled
[13] Raster Matrix Format
[14] Idrisi Raster A.1
[15] Intergraph Raster
[16] Golden Software Binary Grid (.grd)
[17] Portable Pixmap Format (netpbm)
[18] ENVI .hdr Labelled
[19] ESRI .hdr Labelled
[20] PCI .aux Labelled
[21] Vexcel MFF Raster
[22] Vexcel MFF2 (HKV) Raster
[23] VTP .bt (Binary Terrain) 1.3 Format
[24] Image Data and Analysis
[25] NOAA Vertical Datum .GTX
[26] NTv2 Datum Grid Shift
[27] ARC Digitized Raster Graphics
[28] SAGA GIS Binary Grid (.sdat)
-TYPE: Data Type
Choice
Available Choices:
[0] match input data
[1] 8 bit unsigned integer
[2] 16 bit unsigned integer
[3] 16 bit signed integer
[4] 32 bit unsigned integer
[5] 32 bit signed integer
[6] 32 bit floating point
[7] 64 bit floating point
**error**: executing module [GDAL: Export Raster]
C:\PROGRA~1\QGISCH~1\bin>exit
Converting outputs
Loading resulting layers
Algorithm Shapes to grid finished