[Qgis-developer] SAGA kernel fails in Processing

Paolo Cavallini cavallini at faunalia.it
Tue Mar 3 07:30:11 PST 2015


Hi all.
On Debian Sid, qgis 2.8.1, I get an error in Processing.
Possibly a parameter has changed. Any hint?
All the best.
===

grid_gridding "Kernel Density Estimation" -TARGET 0 -POINTS
"/home/paolo/civici_ptal.shp" -POPULATION "totf" -RADIUS 10 -KERNEL 0
-USER_XMIN 1503740.96444 -USER_XMAX 1521532.4224 -USER_YMIN
5027150.81778 -USER_YMAX 5042437.38243 -USER_SIZE 100 -USER_GRID
"/tmp/processing/783313e6d450455c8ca0b54d7b69b74e/USERGRID.tif.sgrd"
io_gdal 1 -GRIDS
"/tmp/processing/783313e6d450455c8ca0b54d7b69b74e/USERGRID.tif.sgrd"
-FORMAT 1 -TYPE 0 -FILE
"/tmp/processing/783313e6d450455c8ca0b54d7b69b74e/USERGRID.tif"
Unknown option 'TARGET'
____________________________

##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
____________________________

SAGA Version: 2.1.4

____________________________
library path: /usr/lib/x86_64-linux-gnu/saga/
library name: libgrid_gridding
library : Gridding
tool : Kernel Density Estimation
author : O.Conrad (c) 2010
processors : 4 [4]
____________________________


Usage: saga_cmd grid_gridding 6 -POINTS [-POPULATION ] [-RADIUS ]
[-KERNEL ] [-TARGET_DEFINITION ] [-TARGET_USER_XMIN ] [-TARGET_USER_XMAX
] [-TARGET_USER_YMIN ] [-TARGET_USER_YMAX ] [-TARGET_USER_SIZE ]
[-TARGET_USER_FITS ] [-TARGET_TEMPLATE ] [-TARGET_OUT_GRID ]
-POINTS: Points
Shapes (input)
-POPULATION: Population
Table field
-RADIUS: Radius
Floating point
Minimum: 0.000000
Default: 1.000000
-KERNEL: Kernel
Choice
Available Choices:
[0] quartic kernel
[1] gaussian kernel
Default: 0
-TARGET_DEFINITION: Target Grid System
Choice
Available Choices:
[0] user defined
[1] grid or grid system
Default: 0
-TARGET_USER_XMIN: Left
Floating point
Default: 0.000000
-TARGET_USER_XMAX: Right
Floating point
Default: 100.000000
-TARGET_USER_YMIN: Bottom
Floating point
Default: 0.000000
-TARGET_USER_YMAX: Top
Floating point
Default: 100.000000
-TARGET_USER_SIZE: Cellsize
Floating point
Minimum: 0.000000
Default: 1.000000
-TARGET_USER_FITS: Fit
Choice
Available Choices:
[0] nodes
[1] cells
Default: 0
-TARGET_TEMPLATE: Target System
Grid (optional input)
-TARGET_OUT_GRID: Target Grid
Grid (output)
Error: Grid file could not be opened.
Error: executing tool [GDAL: Export Raster]
____________________________

##### ## ##### ##
### ### ## ###
### # ## ## #### # ##
### ##### ## # #####
##### # ## ##### # ##
____________________________

SAGA Version: 2.1.4

____________________________
library path: /usr/lib/x86_64-linux-gnu/saga/
library name: libio_gdal
library : GDAL/OGR
tool : GDAL: Export Raster
author : O.Conrad (c) 2007
processors : 4 [4]
____________________________

Load grid:
/tmp/processing/783313e6d450455c8ca0b54d7b69b74e/USERGRID.tif.sgrd...
failed
GDAL: Export Raster: could not initialize data objects
Converting outputs
Caricamento layer
Algorithm Kernel density estimation finished

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html


More information about the Qgis-developer mailing list