Skip to main content
16 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.
wanderzen's user avatar
  • 2,140
11 votes
Accepted

How to clip raster in GRASS GIS?

For cropping a raster map according to a vector map, you can use r.mask which also supports vector maps. Update 2018: Meanwhile there are v.clip and a new Addon r.clip available.
markusN's user avatar
  • 13k
10 votes
Accepted

GRASS GIS Plugin not loading in QGIS 3

Ok, this is slightly embarrassing but I'll post the answer here anyway in case someone is as blind as I was. Apparently, there are two QGIS executable files: C:\OSGeo4W64\bin\qgis-bin.exe and C:\...
Ratnanil's user avatar
  • 1,003
8 votes
Accepted

Getting GRASS plugin working in QGIS for Windows?

I have this problem with the 64bit version. Grass 7.0.5 is a recent release, like less than a week. QGIS and the GRASS 7 plugin haven't been updated to catch up - e.g. if you look at the batch file ...
obrl_soil's user avatar
  • 3,772
7 votes
Accepted

Finding GRASS module after upgrading QGIS (Mac)?

I have figured this out and thought it best to post the answer for future users. Firstly, I right clicked on my QGIS application and selected 'Show Package' to show the subfolders within the ...
lisagravy's user avatar
  • 529
6 votes
Accepted

PyQGIS GRASS r.reclass from Processing without result

There are some syntax errors. If you run this code from the Python Console: import processing processing.alghelp("grass7:r.reclass") you will get: ALGORITHM: r.reclass - Creates a new map layer ...
mgri's user avatar
  • 16.3k
6 votes

How does "Minimum Size of Exterior Watershed Basin" work in r.watershed command in qgis 2.18.12?

Your result has sense since there is no threshold for interior drianage basins. Here I am quoting the man page of GRASS 7.4 link: Basin threshold The minimum size of drainage basins, defined by the ...
Marco's user avatar
  • 3,240
5 votes

How to clip raster in GRASS GIS?

I know it's late, but for others who have the same question. Please try this: # limit your computational region to polygon_vector r.mask vect=polygon_vector # clip big_raster to polygon_vector (MASK ...
Huidae Cho's user avatar
4 votes
Accepted

QGIS Graphic Modeler not including all GRASS algorithms - How to include v.out.ogr?

You could create a new description file in your C:/Program Files/QGIS 2.18/apps/qgis/python/plugins/processing/algs/grass7/description directory (or wherever you installed it) and add the parameters ...
Joseph's user avatar
  • 76k
4 votes
Accepted

r.water.outlet is returning blank raster in QGIS

The r.water.outlet needs the outlet coordinates in the same CRS as the input file. Since your "computational region is North:1570225.7, East:739499.1, South:1319713.3, west:474246" and in your screen ...
Marco's user avatar
  • 3,240
4 votes

How to use v.clean in QGIS to fix polygon topology

I first checked your data with Vector > Geometry > Check validity tool in QGIS, which yields a layer of the invalid output and the errors found; all errors where identified as "line 0 ...
Elio Diaz's user avatar
  • 3,486
4 votes
Accepted

Field name for stats to be calculated not appearing using v.vect.stats

Area (ha) field is string because it is left aligned in the attribute table. You should convert into a numeric one. Open "Field Calculator" to create a new Area field. Select Decimal number (...
Kadir ┼×ahbaz's user avatar
3 votes

QGIS 2.18 Windows 10, 32 bit system - where is the GRASS plugin?

The GRASS plugin is available when you open QGIS Desktop with GRASS instead of QGIS Desktop.From the plugin then you can access GRASS.
Kelvin Munene's user avatar
3 votes
Accepted

Grass tools not working in QGIS 2.14.3-ESSEN, OSGEO4W

Have you used the Advanced Install option in OSGeo4W to make sure msys and GRASS 7 are both installed? I usually run the express install first, then go back into Setup, tick over to Advanced Install,...
obrl_soil's user avatar
  • 3,772
2 votes

Finding GRASS module after upgrading QGIS (Mac)?

I had the same issue. There was an error with the path. I have QGIS 3.14, and a Mac running on Mac OS 10.15.4 Catalina. The path for grass was /Applications/QGIS3.12.app/Contents/Resources/grass7. I ...
Helene's user avatar
  • 21
2 votes

How do I set the GRASS_ADDON_BASE environment variable?

g.gisenv set="GRASS_ADDON_BASE=pathtoyouraddondirectory" should do what you are after! Note that the default setting is: "The default (...) on MS Windows $APPDATA\GRASS7\addons!" See: https://grass....
Stefan B.'s user avatar
  • 286
2 votes

'Add GRASS vector layer' button in QGIS 2.16.2 with GRASS 7.0.4?

I think that button has been depreciated for some time. You can follow the instructions described in: Loading GRASS raster and vector layers Importing data into a GRASS LOCATION via drag and drop
Joseph's user avatar
  • 76k
2 votes
Accepted

GRASS plugin missing from QGIS 2.14.3 Essen in Ubuntu 14.04

I found a solution! Hope it helps others. First thing was to find out what the real problem is. I would think that the problem is likely that I ended up having repositories (somehow changed them in ...
eglatorre's user avatar
  • 283
2 votes
Accepted

cannot start grass modules in gqis 2.14

According to the GRASS wiki , this is a Windows-only bug, if the region is too large: This error message may indicate that the Computational region region is containing too many pixels. Background: ...
AndreJ's user avatar
  • 76.7k
2 votes
Accepted

GRASS in QGIS - ' Cannot read raster map region' (running r.lake.xy)

I think your procedure is somewhat backwards. First you create the mapset. Then you load the DEM into that mapset (r.in.gdal command). Then run the r.lake command. BTW, working in an undefined ...
Micha's user avatar
  • 15.7k
2 votes

r.mapcalc does not give output in QGIS

Not sure how to get it to work from the Processing Toolbox but instead, you could use the same tool from GRASS Tools. You can do this by: Running your QGIS Desktop 2.x.x with GRASS 7.x.x. Then from ...
Joseph's user avatar
  • 76k
2 votes

v.in.dxf not working properly in GRASS toolbox in QGIS 2.18.11

I'm one of the v.in.dxf developers. I tried your DXF file and the module worked fine. By default, this module imports all layers into multiple layers in a new vector map. v.in.dxf found 85 layers in ...
Huidae Cho's user avatar
2 votes
Accepted

How to remove a map in QGIS GRASS Plugin

I don't think the tool is listed in the toolset. But you should still be able to access the g.remove module from the GRASS shell and use the command prompt with something like: g.remove type=vector ...
Joseph's user avatar
  • 76k
2 votes

Getting log error about default locale settings when using GRASS with QGIS?

The second error can be for not installing the required framework beforehand. Please see the answer in QGIS GRASS Processing Not Working on MacOS post which has two more references to consult.
Hasnein Tareque's user avatar
2 votes

Adding GRASS module to QGIS 2.18.21

resolved this creating a .bat file with the line @"%GRASS_PYTHON%" "%GISBASE%/scripts/r.out.haralickFeatures.py" %* in the directory: C:\OSGeo4W64\apps\grass\grass-7.4.0\bin
user127368's user avatar
2 votes

r.mapcalculator

You should have a look at i.vi - Calculates different types of vegetation indices Installed via QGIS 2.18.25/ Osgeo4W installer and in the toolbox panel (here in french) One the indices is NDVI ...
gisnside's user avatar
  • 7,858
2 votes

r.series - no output 'ERROR 6: SetColorTable() only supported for Byte or UInt16 bands in TIFF format.!

The command says that the output is there: C:\Users\xxxx\AppData\Local\Temp\processing_618d89e6582c4df6bf31a66282de5b94\680d6bb22b2f4433a9f1c16faa65163a\output.tif and loaded to the canvas: ...
Gabriel De Luca's user avatar
2 votes

Find radius of curve?

As a general hint, you can search functionality in the GRASS GIS documentation with g.search.modules. To your question: maybe the "sinuous: line sinuousity, calculated as line length / distance ...
markusN's user avatar
  • 13k
2 votes

Using GRASS and v.split with QGIS

I got a similar problem with Grass, so I deleted these folders C:\Users\MyUser\AppData\Roaming\GRASS7 C:\Users\MyUser\AppData\Roaming\QGIS C:\Users\MyUser\AppData\Local\QGIS And GRASS worked again. Be ...
Bruno ReZende's user avatar
2 votes

I am running a processing PyQGIS script with grass i.pca but I am not getting results in my output folder

Your code have several issues. I fixed them in following code but with only two raster layers (for time processing reasons): import processing import os path = '/home/zeito/Desktop/INPUT' output = '...
xunilk's user avatar
  • 30k

Only top scored, non community-wiki answers of a minimum length are eligible