12
votes
GRASS and SAGA do not appear in QGIS processing toolbox?
Recently GRASS and SAGA integration system changed within QGIS. You must download the SAGA and GRASS provider as 2 external plugins to keep using the grass and saga tools.
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:\...
10
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 available: r.clip
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 ...
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 ...
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 ...
5
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 ...
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 ...
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 ...
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 ...
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 ...
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 (...
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.
3
votes
How to activate GRASS GIS 7 plugin in QGIS 2.8?
A late answer:
QGIS 2.14 is compatible with GRASS 7 now. On Windows, the standalone installer provides separate icons for GRASS 7.0.3 integration. For GRASS 6.4.3 support, you have to stick to QGIS 2....
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,...
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 ...
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....
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
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 ...
2
votes
Accepted
Cannot locate GRASS plugin in QGIS 2.14.1 on Linux
http://qgis.org/debian/dists/trusty/main/binary-i386/Packages only contains packages for grass6, while http://qgis.org/ubuntugis/dists/trusty/main/binary-i386/Packages supports grass7 only.
You might ...
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: ...
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 ...
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 ...
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 ...
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 ...
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.
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
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
...
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:
...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
qgis-grass-plugin × 101qgis × 70
grass-gis × 49
qgis-3 × 12
qgis-plugins × 12
grass-7.0 × 10
pyqgis × 8
qgis-processing × 7
qgis-2 × 6
raster × 4
grass.script × 4
topology × 3
mac × 3
grass-7.2 × 3
python × 2
installation × 2
qgis-modeler × 2
reclassify × 2
travelling-salesman × 2
v.clean × 2
coordinate-system × 1
r × 1
dem × 1
line × 1
geometry × 1