Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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++.

1
vote
1answer
25 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
46 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
29 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 ...
1
vote
0answers
22 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 ...
0
votes
0answers
55 views

Running SAGA on QGIS 3.4.1 (Ubuntu 18.04)

after a long struggle to get SAGA (2.3.1) even appearing in the toolbox of QGIS 3.4.1 (on Ubuntu 18.04), I am encountering the problem that all algorithms I have tried so far give the same error: ...
1
vote
1answer
49 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
49 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 ...
0
votes
0answers
16 views

SAGA terrain analysis module

I am using "Upslope and downslope curvature" module in SAGA but in the documentation I can't find what exactly is the meaning of "Local upslope curvature". Someone can help me please? Guido
0
votes
0answers
22 views

SAGA Supervised classification for grids outputs different result from SAGA standalone

I've met a problem with SAGA tools in QGIS (3.14). So, SAGA Supervised Classification for grids gives very poor results, while the same algorithm with the same inputs in SAGA standalone (2.3.2) works ...
1
vote
0answers
16 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 ...
0
votes
0answers
27 views

Calculate the area of the drainage basin upstream of a point [duplicate]

I have the point location of vegetation surveys conducted on a river network. I would like to calculate the area of the contributing drainage basin upstream of each point using a DEM. This image ...
2
votes
1answer
21 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 (...
1
vote
2answers
65 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 ...
0
votes
0answers
13 views

SAGA GIS Project seems very pixeled

I create a SAGA GIS project and it seems very pixeled even when the xyz data ist 8000 MG. Why could it be?
1
vote
0answers
20 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
42 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
0answers
33 views

Easy AHP plugin and

I'm trying to use Easy AHP plugin for QGIS to perform some AHP analisys from raster data. However, in step 3 I get a error message saying "Make sure that Processing Toolbox's SAGA provider is ...
0
votes
1answer
40 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
50 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
22 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
94 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
0answers
23 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
91 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 ...
0
votes
0answers
25 views

Obtaining reflectance value after supervised classification in QGIS/SAGA

I want to extract the reflectance values of my classes/training inputs but after supervised classification i.e post classification. Is there any tool or process to do it in QGIS/SAGA
2
votes
2answers
65 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
93 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
232 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
189 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
45 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
42 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
53 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
38 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
116 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
199 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....
0
votes
0answers
26 views

How to calculate connections between subbasins

I have a complete stack of grids and shapefiles from DEM (corrected) to subbasins created with SAGA tool Watershed Basins(Extended). In the attributes there is a lot of features such as area, outlet ...
2
votes
1answer
118 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
96 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
95 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 ...
2
votes
1answer
36 views

How can I adopt updated qgis\python\plugins\processing\algs\saga\description txt files?

I have one question: How can I adopt updated qgis\python\plugins\processing\algs\saga\description txt files? The rest of this text is "enough detail to identify an adequate answer". I will try to ...
3
votes
1answer
32 views

calculate 'predicted class' raster in QGIS

I have six raster layers that represent the probability of each pixel belonging to a specific vegetation type. I would like to use these to generate a new raster where the value of each pixel is the ...
0
votes
1answer
37 views

Interpolation of holes resulting from DTM groundfiltering of SfM pointcloud

I am wondering if there is an efficient interpolation method to close the holes in a dtm resulting from groundfiltering. At the moment I am directly interpolating the point cloud to a raster using ...
0
votes
0answers
91 views

SAGA tools not working

Every time I try to run a SAGA tool from the toolbox I get the error message below. Another forum post said to ignore the ERROR 1 message and it must be something else. I have QGIS 2.18.3 with SAGA ...
1
vote
1answer
67 views

SAGA-GIS 2.3.1 Segmentation Fault on launch

I recently installed QGIS, GRASS, and SAGA-GIS-LTR onto a Manjaro (Arch Linux-based) system in order to make use of their newer libraries. While most of the software is working fine I did need to ...
1
vote
0answers
139 views

QGIS 3: saga algorithm in console

I'm trying to use the saga algorithm 'quadtree structure to polygon' (with points to get polygons), in the python console. But I think I'm not able to set the parameters correctly. When I call the ...
2
votes
0answers
90 views

Saga Catchment Area not giving expected (useful) output

I am identifying a catchment network from a DEM in QGIS3 (v3.0.3) (on a mac v10.13.4), however the step to identify the Catchment Area is not working. I have an input DEM, with layer CRS set to ...
2
votes
1answer
126 views

Ordered Weighted Averaging problem

I want to do an Ordered Weighted Averaging (OWA) analysis using SAGA in QGIS (not by using pyqgis) as a suitability assessment for recreation/restoration of specific habitats. There's a number of ...
1
vote
0answers
71 views

QGIS SAGA Gaussian Filter brings error when run

Every time I run the SAGA Gaussian Filter tool, I get an error. I am trying to filter a raster file indicating a risk index (GeoTIFF, 32-bit float) in order to smooth it. The log message I get is ...
0
votes
0answers
87 views

Saga difference vector tool

My QGis Difference tool doesn't work really well, it gives me lots of little squigly lines. i read in the link below there is such a thing as a vector diffence tool from SAGA, but i can't find it. ...
1
vote
0answers
79 views

Creating sub-watershed within a basin

I am a beginner to QGIS. My problem is I tried to create sub-catchment within a basin by using provided point datasets (river gauge location). In total, I have 12 measuring points (i.e 12 pairs of x ...
1
vote
0answers
33 views

QGIS 2.18 SAGA Change Data Storage

I tried to use Change Data Storage to change the bit depth of some rasters, but it doesn't work or gives me vague errors I first tried to batch convert some rasters to unsigned 1 byte interger, I ...