A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [saga]

SAGA (System for Automated Geoscientific Analyses) is a GIS toolbox with many modules that can be used from the GUI, command line or accessed through R,python or directly using C++.

Filter by
Sorted by
Tagged with
0
votes
1answer
690 views

QGIS 3.4.4 and 3.6 SAGA Tools all not working with same error

C:\OSGeo4W\bin>exit Execution completed in 12.17 seconds Results: {'SHADE': 'C:/QGIS/output/HS.sdat'} Loading resulting layers The following layers were not correctly generated.C:/QGIS/output/HS....
1
vote
0answers
148 views

SAGA 2.3.1 makes QGIS 2.18 crash on Ubuntu 18.04 [closed]

On Ubuntu 18.04, using packages provided by universe repos QGIS 2.18.17+dfsg-1 SAGA 2.3.1+dfsg-3build7 When starting any SAGA algorithm, QGIS crashes with a "Segmentation fault" error message. We ...
1
vote
1answer
277 views

LS Factor in SAGA (slope units)

In which units do I have to calculate Slope to use as an input for the LS Factor tool in SAGA (degrees, %, radians)? I couldn't find anything in the documentation.
1
vote
1answer
57 views

Piping one SAGA Raster Calculator output into another chaining algorithms in QGIS processing script?

I am using QGIS 2.18.15. I want to streamline multiple SAGA raster calculator calculations using the output of one calculation (not loading it into the table of contents) as input raster for the ...
3
votes
1answer
162 views

SAGA Raster Calculator in QGIS Algorithm script produces 'NoneType' object has no attribute 'crs'

I would like to produce a new temporary raster after a calculation with the SAGA raster calculator using a custom python algorithm script. This is my code so far: ##MaechtigkeitunterhalbeinerHoehe=...
2
votes
1answer
882 views

Layers not correctly generated using SAGA algorithms within QGIS 3.4.4-Madeira

I am trying to use a few algorithms that may be useful for my work, that are part of the processing tools packaged with the latest LTR 64-bit version of QGIS in Windows 10 64 bit.. However, all of the ...
1
vote
1answer
32 views

SAGA Raster Calculator processing script give error “name 'Rasterout' is not defined”

I am trying to build a custom script using things I have learned from this post: Number inputs as raster calculator variables in QGIS Modeler This is my script so far: ##Maechtigkeit unterhalb einer ...
1
vote
0answers
89 views

How to write raster in saga format with python

I try to write a raster file in SAGA GIS format (sgrd). My script is work but some information is missing in the final file (i.e output.sgrd). Here is script : from osgeo import gdal, ogr, osr import ...
0
votes
0answers
60 views

Radiometric correction of Aster Level 1T

We have to mosaic 70+ ASTER Level 1T imageries. I've splitted hdf data into 14 different tif's (3 VNIR, 6 SWIR, 5 TIR). As shown in the image imageries are of different time period. Question is, is ...
0
votes
0answers
28 views

Making QGIS model that iteratively creates several constant grids at once?

I'm looking to calculate the volume of a virtual reservoir from a DEM. I would use a constant grid (SAGA) to represent the ceiling, and I want to see the change in volume for each 1 metre interval. So ...
1
vote
0answers
74 views

Calculating maximum extent of debris flow from point with mean slope value

At a very large scale I perform a spatial analysis for which I have to apply mean slope criteria. These criteria allow me to calculate the maximum extent of an event (debris flow). I know that below a ...
2
votes
1answer
193 views

Using SAGA GIS for TPI classification?

I processed one country with TPI, and I got a certain Landforms classification of terrain. (Topographic Position Index (TPI) calculation as proposed by Guisan et al. (1999)). When I processed only one ...
3
votes
1answer
391 views

SAGA hydrology toolbox Error: select a library

I am having trouble getting the SAGA hydrology toolbox running. Here when I try to fill sinks in the DEM a series of errors are flagged in the log file. This includes for 'select a library', 'DEM' and ...
0
votes
1answer
243 views

Unable to perform SAGA point snapping to line on Win and Mac

I have been trying to snap points from a shapefile to a line feature from another shapefile. However, each time I do this, I get the following error(s) (depending upon the OS used): (For OSX El ...
2
votes
1answer
53 views

How to connect polygons to make a circle?

I created polygons from a raster on which I ran an edge detection filter. I turned the edges into a polygon layer (multipart splitted into single parts). The intention was to have circular polygons at ...
1
vote
1answer
63 views

How to add multiple layers to SAGA map view at the same time?

I need to visually interpret more than 50 grids, so I want to add them all to a SAGA map at the same time. If I right-click on a single layer, I can "Add to Map", but with multiple, this option is not ...
0
votes
0answers
179 views

Problems with SAGA on QGIS

I'm trying to perform an interpolation on SAGA in QGIS but every time I ran the tool (or any other SAGA tool for that matter) I got the following message: "The following layers were not correctly ...
1
vote
0answers
243 views

Error when running SAGA interpolation

I am running the nearest neighbour algorithm in QGIS 3.4.3. I have tried various parameters but the problem persists. I have also tried other algorithms (simple Kriging) and had the same problem. ...
2
votes
1answer
151 views

RSAGA error using rsaga.pisr2

I just downloaded SAGA and the RSAGA package for R. I would like to use the rsaga.pisr2 function to compute solar radiation for my region of interest. I am currently getting errors related to proj4 (...
1
vote
1answer
66 views

Adding two rasters in modeller

I'm trying to build a process model which uses a series of raster operations - Rasterize, Proximity, Raster Calculator. However, I couldn't seem to add two consecutive raster calculator processes. ...
0
votes
1answer
425 views

point thinning/point selection based on distance threshold in QGIS/GRASS

I need to thin a point vector later based on the distances amongst points. So I have a threshold and wish to omit all records but one that is below a distance D representing a distance between points. ...
1
vote
0answers
73 views

Promoting to multipart using PyQGIS?

I am creating a code that aggregates neighbouring polygons if they have similar value on the field 'DN' and if they are closer than 50 m.Then I want to iterate this 3 times. I could already get the ...
3
votes
1answer
381 views

Choosing parameters for SAGA Wetness Index?

I've been working with SAGA GIS to calculate the Topographic Wetness Index of an alpine catchment. I am using the tool Terrain analysis > Hydrology > SAGA Wetness Index because, compared to ...
2
votes
1answer
278 views

Clustering spatially connected polygons so all clusters have approximately the same size

I want to group together polygons from a shapefile a way that all the clusters formed contained approximately the same number of polygons. The problem is that the source polygons have vastly ...
1
vote
1answer
179 views

QGIS 3.2 SAGA Raster Values to Points: ERROR: Missing Parameter Value

When I try to run the saga:rastervaluestopoints tool in the QGIS 3.2 Python console it returns the following error (see below). I can't figure out what's going wrong. The tool works when running it ...
1
vote
0answers
62 views

SAGA_CMD.exe Bad image

In QGIS 3.0, 3.2 and now 3.4 I get the following error message saga_cmd.exe bad image C:\windows\system32\vcomp140.DLL is not designed to run on Windows or contains an error. I didn't have the ...
2
votes
1answer
40 views

How to merge pixel values to the nearest maximum value based on area in a classified raster?

We have a raster image with 9 discrete values. Generated the image using SAGA's Terrain Analysis -> Morphometry -> TPI classification technique. Now, like to merge pixels which occupy certain area (...
2
votes
2answers
216 views

Seeking for a solution to convert GeoTIFF to 3d WKT

I am trying to convert some DEM in .tif image to polygon geometries representing 3 dimensional triangles that is Well-known text (WKT) - 3D (x, y, z) I was able to use SAGA to convert my GeoTIFF ...
1
vote
0answers
39 views

Python function like SAGA Grid Gridding?

For a python script, I'm searching for a function that does the same as SAGA Grid gridding, an exponential interpolation on GeoPandas GeoDataFrame. Does anyone know one?
1
vote
1answer
189 views

Load a SAGA RGB composite in QGIS

I have created a RGB composite in SAGA GIS using the RGB composite tool. A one band raster is created, which can be visualised in SAGA using the option RGB coded values. When I try to import this ...
0
votes
1answer
115 views

Not correct numeric value error using Multilevel B-Spline interpolation with SAGA and QGIS?

This is the generated log: Processing algorithm… Algorithm 'Multilevel b-spline interpolation (from raster)' starting… Input parameters: { 'DATATYPE' : 0, 'EPSILON' : 0.0001, 'GRID' : '/Users/...
1
vote
0answers
224 views

Avoiding artefacts by pixel filtering in a raster

I have a DEM with a spatial resolution of 2 meters with a lot of areas with no data. I want to fill those gaps in order to use the whole DEM. I used the 'close gaps' tool in QGIS (it's a SAGA tool) ...
1
vote
0answers
72 views

Native QGIS Dissolve tool not compatible with SAGA Split Lines at Points tool

I am trying to use the SAGA "Split lines at points" tool within QGIS. I first had a polyline layer with line segments/features of arbitrary length. I then did the following: Dissolve using the native ...
0
votes
1answer
700 views

Watersheds in SAGA Fill Sinks Wang & Liu tool

I'm delineating some coastal subbasins using open source software. I have asked a similar question before (Delineating coastal subbasins using SAGA GIS or GRASS in QGIS?). I found that using SAGA Fill ...
1
vote
1answer
171 views

Large Scale Watershed Delineation

Using QGIS,I attempted Africa's watershed delineation taking the following steps: Downloaded DEM from earthexplorer USGS (GTOPO30) Created a mosaic of the downloaded DEM Reprojected the mosaic ...
1
vote
0answers
34 views

Using graphical modeler script via command line

I have made a script through the graphical modeler and I exported it. This is the code that it exported: [Python code] https://imgur.com/a/ivgWXUh How do I run this code outside of QGIS? Which ...
1
vote
1answer
328 views

QGIS SAGA “Natural Neighbourhood” gridding error

I'm having issues with saving my grid out to file. Every time I try, I get the error " The output layer could was not generated" C:\Users\Name\Documents\QGIS\Rav.tif 'Check error log for more ...
2
votes
2answers
196 views

v.surf.bspline and Interpolation(cublic spline) persistent errors in QGIS 3.2 & 3.3

I'm new to QGIS and as such I'm pretty hesitant to post anything, but I cannot for the life of me figure out why two raster creation techniques are not working. For the v.surf.bspline GRASS algorithm:...
2
votes
2answers
172 views

How do I run SAGA algorithms in PyCharm? [closed]

Is there anyway I can input a raster and number and then use the SAGA algorithm "Fill Sinks (Wang and Liu)" on the raster through an IDE such as PyCharm? How would I go about calling the algorithm? ...
2
votes
1answer
543 views

QGIS 3.2: Processing toolbox tools from SAGA never run

I am having major issues in getting tools to run from the toolbox in version 3.2. In essence all but very simple algorithms like 'Split RGB' return errors and do not run. I cannot get any openCV or ...
0
votes
1answer
512 views

Calculating Specific Catchment Area in QGIS?

I have tried to calculate the Specific Catchment Area in QGis from Specific Catchment Area and Flow Width Tool available through Saga. However, I got just SCA product with valour 0. I got a reasonable ...
1
vote
0answers
54 views

Running QGIS Processing Modeler Script

Is there anyway to run an exported script from the processing modeler in PyCharm? How do I go about installing the necessary packages to run a function?
0
votes
0answers
86 views

Generate stream network for every pixel of flow direction as a polyline shapefile based on the raster cell value

I have a flow direction raster (coded with ESRI flow directional encoding scheme) and I want to generate stream network for every grid cell of flow direction raster as a polyline feature based on the ...
0
votes
1answer
89 views

Merging two processes in QGIS3 to one?

Is there any way to merge several processes in QGIS3 into one process? Or is there a way to look at the source code of different processes under QGIS3 and combine them under one function? I am ...
1
vote
1answer
146 views

What layers are produced by SAGA Potential Incoming Solar Radiation?

I estimated the Potential Incoming Solar Radiation in SAGA. The tool creates a file "direct insolation" and "diffuse insolation". When I export these files as .tif, a layerstack of 3 raster layers is ...
4
votes
3answers
224 views

Finding source code of “fill sinks (wang and liu)”

I would like to use the source code of "fill sinks (wang and liu)". I checked through QGIS3 folders, but could not find much related to it. Anyone know where the code could be?
1
vote
2answers
940 views

Convert sgrd (SAGA GIS format) to raster or ascii or with R

I need to convert a sgrd file to tif or ascii using R. I converted a big sgrd file (1.4 GB, 376521831 pixels) to ascii using the package RSAGAbut it takes too long (approx. 45 minutes): rsaga.sgrd.to....
2
votes
1answer
225 views

Ordered weighted averaging error: can only concatenate list (not “str”) to list

I am trying to perform an ordered weighted average on two rasters in QGIS 3.0.3 (as a trial run for doing it on more than two rasters). But I keep receiving the following error code: Traceback (most ...
1
vote
1answer
393 views

Coordinate system change in SAGA

I know it is an overasked question but I do not find anybody able to explain properly how to do that in SAGA 6.3. The problem is that my shapefile, i.e. the borders of my country, do not overlap ...
2
votes
0answers
247 views

Empirical variogram plot in QGIS

I am trying to do kriging on mortality rates using QGIS (I have version 3.0 but I downloaded the 2.18.20 to be able to follow the web documentation and most of the answers here). From what I have ...