Questions tagged [qgis-grass-plugin]
QGIS pluging which provides to access GRASS GIS databases and functionalities
112 questions
5
votes
1
answer
91
views
Missing GRASS in QGIS Processing Toolbox
Problem :
GRASS is disappeared from my processing toolbox with the error message:
Problem with GRASS installation: GRASS was not found or is not
correctly installed.
but it showed in provide menu in ...
1
vote
0
answers
60
views
Enabling GRASS plugin inside other QGIS plugin
I'm developing a QGIS plugin that uses some of GRASS 8 tools. By default, GRASS GIS provider plugin is disabled (unchecked) in the Plugins window, so my plugin crashes because it cannot recognize ...
3
votes
0
answers
64
views
v.net.spanningtree does not generate Minimum Spanning Tree in QGIS
I am using the lines and point vectors to generate MST, as shown below:
I ran v.net.spanning tree with fthe ollowing parameters:
The output is not MST and shows the same road lines:
Question:
What ...
1
vote
0
answers
23
views
Using v.net.spanning tree in QGIS
I have some locations along a road network. I would like to get an MST connecting all locations. I do not know how to input the v.net.spanning tree since I have two vectors, points and lines and I can'...
1
vote
0
answers
54
views
Find minimum spanning tree using V.Net.SpanningTree
I am trying to utilize the v.net.spanningtree in QGIS to create a Minimum Spanning Tree. I have lines and points imported as the input layers that are both in the same projection (see photo for ...
0
votes
0
answers
82
views
r.sun from QGIS toolbox: how to input pre-generated multidirectional horizon rasters from a folder?
I generated 72 horizon angle height rasters (between 0 and 360 deg, in 5 deg increments) using the grass r.horizon module from the QGIS toolbox. They are stored in a folder and their names are: 000....
0
votes
1
answer
296
views
r.fill.dir not responding
I have been working on delineation of the Orange river basin in South Africa. Its now one full week trying to fill the DEM file using r.fill.dir in QGIS but it take decades with no response and the ...
1
vote
1
answer
97
views
Can anyone run Grass from within QGIS version 3.36.2?
I get the same error message no matter what Grass module I try to run from Processing.
Current mapset warning has always been there, I am talking of the next warnings which actually leads to failure:
...
1
vote
0
answers
83
views
Using GRASS GIS addons in QGIS environment
I would like to use r.houghtransform which is an addon to GRASS GIS inside QGIS, because I'm not familiar with GRASS. I have tried to import it with g.extension.manager inside QGIS but it doesn't work ...
1
vote
0
answers
100
views
"ERROR: Incomplete GRASS session: Variable 'LOCATION_NAME' not set" while running r.covar in QGIS
QGIS version: 3.34.3-Prizren
QGIS code revision: 47373234ac
Qt version: 5.15.3
Python version: 3.9.18
GDAL version: 3.8.3
GEOS version: 3.12.1-CAPI-1.18.1
PROJ version: Rel. 9.3.1, December 1st, 2023
...
0
votes
0
answers
64
views
Wrong direction results from r.horizon, raster mode in QGIS?
I perform the algorithm r.horizon, raster mode using QGIS 3.28.15, I used always to check the flag -c and set it to true, because I am interested in compass direction clockwise (so North is at 0 ...
1
vote
1
answer
237
views
Output file not generated by r.viewshed in PyQGIS
I'm trying to use r.viewshed in PyQGIS to perform Viewshed analysis on a point placed on a raster layer. The algorithm seems to run correctly, as no errors come up, but the output .tif file is not ...
0
votes
0
answers
91
views
QGIS Grass Raster import using r.in.gdal.qgis: 'Layer data source could not be found'
I'm a QGIS learner following the official QGIS Training Manual. I'm on Module 12.1. My problem is that when I try to add a raster layer to GRASS using r.in.gdal.qgis, the resulting layer shows a red ...
1
vote
0
answers
170
views
GRASS paths in Python standalone from QGIS install
I am trying to access GRASS from Python (Spyder).
I have:
Installed via pip install grass-session
Started GRASS from OSGEO4W, loaded the mapset and location
Started Spyder from Anaconda
Tried to ...
1
vote
1
answer
48
views
Add -c flag to v.surf.idw call from PyQGIS?
This code is part of a plugin I created. MY QGIS version is 3.28, my GRASS GIS version is 7.
rasterized = processing.run("grass7:v.surf.idw", {
'input': points_vector_layer,
'npoints'...