18
votes
GRASS and SAGA do not appear in QGIS processing toolbox?
Recently GRASS and SAGA integration system changed within QGIS. You must enable the SAGA and GRASS provider plugins to keep using the grass and saga tools.
17
votes
Is there any way to include "universal" style/symbology in GeoPackage?
QGIS support its own format QML and SLD. When you use GeoPackage (or PostGIS) you can save the style on the GeoPackage and distribute both the data and the style. On the layer properties, the Style ...
11
votes
Legend of Flow Direction calculated with processing toolbox QGIS (SAGA)
SAGA's flow directions are coded from North = 0 :
7 0 1
6 2
5 4 3
Each GIS has its codification : for GRASS it's
3 2 1
4 8
5 6 7
and for ARcgis : http://desktop.arcgis.com/fr/arcmap/10.3/...
10
votes
No SAGA available in QGIS Processing
I had faced a similar issue but resolved it with saga install. You need to install proper version of SAGA. I installed saga via apt install. SAGA version in Ubuntu 18.04.3 repository work very well ...
9
votes
Which SAGA versions does QGIS 2.18.10 support?
Due to how complex it was to manage multiple versions (and how fast and erraticly the SAGA API changes), it was decided to support a single version. SAGA 2.3 is supposed to be something like an LTR, ...
8
votes
Enabling SAGA in QGIS?
On my installation of QGIS 3.10.4 on Ubuntu 20.04 I had to install SAGA manually via
sudo apt install saga
After restarting QGIS, SAGA was then listed in the processing toolbox.
8
votes
Accepted
Replacing 0 values of a raster with values from another raster in QGIS?
Solution using SAGA Raster Calculator
I performed a quick test and you should probably use this expression:
ifelse(a=0,b,a)
instead of the one you provided (also, choose 8 byte floating point number ...
7
votes
Accepted
Getting Output names of Processing algorithms via PyQGIS
It may also depend on the algorithm. For example, the Ordinary Kriging from SAGA returns two outputs (VARIANCE and PREDICTION), but other SAGA algorithm outputs are called OUTPUT. So, you cannot just ...
7
votes
Accepted
Compute flow accumulation only from flow direction?
The following is a step-by-step process for how to take an ArcGIS D8 flow direction raster and use it to perform a D8 flow accumulation operation in Whitebox Geospatial Analysis Tools. I will preface ...
7
votes
Prevent SAGA in QGIS 3.0 from creating certain outputs?
Should be possible to do if you feel like hacking your qgis install.
look for this file in your qgis install: https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/saga/description/...
7
votes
Ubuntu 20.04 with QGIS 3.14 (pi) SAGA is missing
In order to solve the problem I had to:
Verify if SAGA is actually installed in the system with:
saga_cmd
It said SAGA was not installed.
Install SAGA with:
sudo apt-get install saga
Check it's ...
6
votes
gdal doesn't support *XYZ-file
GDAL's XYZ driver is not particularly robust (e.g. "Ungridded dataset: At line 3, change of Y direction" with a perfectly gridded dataset), so here are a few alternative methods that should ...
6
votes
Accepted
SAGA GIS raster calculator - QGIS scripting gt expression
processing.runalg('saga:rastercalculator', raster,[],'A>0',False,7,OutRaster)
Explanation
'saga:rastercalculator' Calls the algorithm.
raster Your input raster
[] Additional input rasters as ...
6
votes
How to configure QGIS (SAGA, GRASS algorithms) in Ubuntu
You have not to configure anything like you do in windows. After you have installed Qgis:
for GRASS you have to install the software in this way (link to official page):
sudo add-apt-repository ppa:...
6
votes
Set path to SAGA from QGIS on OSX
Your main problem is that the SAGA version you have installed (5.0.0) as shown in your screen shot, is not supported. As of (I think) QGIS 2.18, only the SAGA Long Term Release (currently 2.3.2) is ...
6
votes
Accepted
No SAGA available in QGIS Processing
In QGIS 3.4, the SAGA provider is already a core plugin. Therefore, you can also change the SagaAlgorithmProvider.py file directly, by:
sudo nano /usr/share/qgis/python/plugins/processing/algs/saga/...
6
votes
Accepted
Raster normalization
I think the SAGA Description file for Raster normalization tool is not properly configured. (Each Description file defines the UI settings of SAGA tool in QGIS processing environment).
Based on QGIS 3....
5
votes
Why does saving a big Shapefile take so long?
Old question.... but I had same issue in QGIS 3 with almost one million points in a shape file. Saving as Geopackage instead solved the problem - saving took like 30 seconds.
5
votes
SAGA raster calculator, ifelse command syntax problem?
lt(a,10) returns 1.0 if a < 10 is true (else 0.0).
You can use either ifelse() or lt(), but not together.
ifelse(a < 10, a, 0)
and
lt(a, 10) * a
will both work.
Note: a and g1 both means ...
5
votes
Problem getting SAGA activated in Ubuntu QGIS 2.18.2
Note: On 16.04, the default Ubuntu repositories for Xenial only include QGIS 2.8 Wein. The Q version we want is QGIS 2.18 Las Palmas (the current release as of the date of this post), which includes ...
5
votes
Accepted
Variogram model - SAGA on QGIS Processing
Finally, I found this template in SAGA GUI (2.0.1), in the interactive mode of Ordinary Kriging (global).
So a Spherical model can be like:
And I got this;
[Note] If anybody kindly volunteer to ...
5
votes
Estimation of volume from DTM
Using QGIS 2.18.3, it seems to work fine.
I set the "County Only Above Base Level", with base level equals to 0 and I get this log:
Algorithm Raster volume starting...
grid_calculus "Grid Volume" -...
5
votes
Accepted
Get values of terrain elevation of roads in QGIS?
(I would suggest not to follow the approach in the linked blog post.)
You should be able to use more straightforward tool, Profiles from lines in QGIS Processing Toolbox | SAGA | Terrain Analysis - ...
5
votes
How to delineate watersheds in QGIS?
Assuming your QGIS 2.14.17 is equipped with SAGA 2.3.1 or 2.3.2, let me answer only the first question "where to find Catchment area (Parallel) in the QGIS Processing Toolbox?"
Try and find SAGA | ...
5
votes
How to create hillshade models every hour for a zone with GDAL
As a guide on how to start:
This is a paper describing the Sun Position Algorithm, and this is a python module implementing the SPA for pretty much everything that you could do with it, including the ...
5
votes
Accepted
Soil Texture in SAGA, GRASS and R
I recommend you to install correctly soiltexture and work in R. You should install it as:
install.packages('soiltexture',dependencies = T)
# or
install.packages('sp'); install.packages('soiltexture',...
5
votes
Accepted
Finding source code of "fill sinks (wang and liu)"
Fill Sinks (Wang and Liu) is a QGIS processing algorithm that calls an external (3rd party) tool SAGA.
The code to call SAGA is in SagaAlgorithm.py.
The source for the SAGA command is either:
...
5
votes
Finding source code of "fill sinks (wang and liu)"
The Wang and Liu algorithm is also implemented in Whitebox GIS. You can find it listed under Hydrological Tools\DEM Pre-processing\Fill Depressions.
The source code can be very easily accessed using ...
5
votes
Accepted
Choosing parameters for SAGA Wetness Index?
After lots of calculations and experiments I think I can (at least partly) answer my own question:
Suction: according to the source code (Conrad 2014), a suction of 10 is "average", a smaller value, ...
5
votes
Accepted
Layers not correctly generated using SAGA algorithms within QGIS 3.4.4-Madeira
There are some problems with the Profiles from lines algorithm in QGIS.
Let's see first how it should work.
In SAGA GIS, at the command line:
If you want to save Each Line as a New Profile, ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
saga × 631qgis × 390
raster × 97
qgis-processing × 80
grass-gis × 76
dem × 41
pyqgis × 35
raster-calculator × 28
gdal × 27
r × 27
hydrology × 27
arcgis-desktop × 26
qgis-2 × 25
python × 22
ubuntu × 22
qgis-3 × 21
interpolation × 21
qgis-plugins × 20
error × 16
installation × 14
watershed × 13
geoprocessing × 12
kriging × 12
topography × 12
geotiff-tiff × 11