Questions tagged [grass-7.0]

Use this tag when GRASS 7.0 is the version you are using from the GRASS platform.

Filter by
Sorted by
Tagged with
-1
votes
0answers
26 views

QGIS - Grass tools are not working properly

I have installed a fresh QGIS version via the setup tool (you will find the version infos in the attached error message). All GRASS tools are causing this error: QGIS version: 3.6.3-Noosa QGIS code ...
0
votes
0answers
6 views

How to set an image size when d.mon?

I'm trying to export a vector as a PNG: r.contour in=FORMOSA out=FORMOSA_CNT step=100 cut=200 --overwrite d.mon start=png output=FORMOSA_CNT.png --overwrite d.vect FORMOSA_CNT color=red d.mon stop=...
0
votes
1answer
29 views

Why doesn't wx graphical modeler Grass gis 7 work properly in Spanish?

I am working with the wx graphical modeler in grass gis 7. When I try to use a variable call "archivo" in spanish, wich is "file" in english, it does not work. The variable dont let me choose a file. ...
1
vote
0answers
42 views

Using GRASS v.surf.idw in PyQGIS? [closed]

I have a point shapefile I am trying to run the GRASS v.surf.idw tool on in python. Here is a link to the data: https://github.com/tanyahelena/qgis_data I have a short script which runs. I don't get ...
0
votes
0answers
17 views

r.surf.area is underestimating area and giving negligible area

I am using r.surf.area in GRASS GIS to estimate surface area of a DEM. DEM is in EPSG4326 WGS84. It is giving a negligible area. Please give solution to this. Following is the output of r.surf.area.
1
vote
1answer
81 views

GRASS 7.4 addons look installed but not accessable

I'm tring to install the addon v.centerline using the GRASS GUI 'Fetch & install extension from GRASS Addons'. I get the following message saying it's installed yet it doesn't show up. I tried ...
2
votes
1answer
77 views

QGIS 3.6.2 with GRASS - Can't find the GRASS command path parameter

I have QGIS 3.6.2 with GRASS 7.6.1 installed. Following the advise of this post GRASS Processing not working on QGIS? I want to work with GRASS 7.7 but I don't have the parameter to set the path to ...
1
vote
1answer
113 views

correlation matrix and p-value in grass

I'd like to know if there is a way to obtain statistical significance and p-value for correlation coefficients calculated for different raster in grass with the command r.covar All that I obtain is ...
1
vote
0answers
11 views

Cannot find Grass7 folder in QGIS 2.18 content folder

I have freshly re-installed QGIS 2.18.28 in the prescribed order. I was under the impression Grass7 in included in one of the install packages. But when trying to point QGIS to the grass7 folder under ...
5
votes
1answer
252 views

No output with v.net.connect in QGIS

I am using grass algorithm v.net.connect of the processing toolbox. It runs but does not produce any output. I don't know what I am doing wrong?
0
votes
2answers
717 views

GRASS New/Open Mapset not available ( QGIS 2.18.7) on Mac OS

I have QGIS 2.18 and the option to create a New Mapset is unavailable to me. GRASS is installed but when I go to the Plug-Ins>GRASS only Open GRASS Tools and GRASS Options are available to me. These ...
2
votes
0answers
72 views

Choosing diffusion coefficient and other parameters for r.sim.water in GRASS7?

I'm trying to run r.sim.water in GRASS7 to simulate overland flow during a heavy rain event. My DEM has a resolution of 1m. I prepared it by adding values for buildings and included ditches and ...
1
vote
0answers
17 views

Points of drillhole data to 3D lines in GRASS

In GRASS 7.0 I have a 3D vector file which are several SPT drill holes, with the NSPT values at each interval. I was able to export these points to Paraview through "v.out.vtk -cn input = nspt_3D type ...
1
vote
1answer
89 views

Adding GRASS module to QGIS 2.18.21

I did a module in grass wich I called r.out.haralickFeatures.py. I did a .qgm. I can't get the parameters rigth. #!/usr/bin/env python #%module #% description: Compute asm, contrast, var, idm and ...
1
vote
1answer
41 views

d.rast.edit not yet implemented in the WxGUI

Am using GRASS to modify a raster and tried using d.rast.edit but am getting the following error when using it in the WxGUI Command 'd.rast.edit' not yet implemented in the WxGUI. Try adding it as a ...
1
vote
0answers
45 views

Unable to make use r.drain

I want to calculate a cost distance model between a source of raw material and a group of sites. Raster and vector data are in the same CRS (EPSG 32615). I was able to use r.walk and get my cost and ...
0
votes
0answers
46 views

GRASS GIS Shortest path: Limit on number of calculations?

I'm trying to compute the shortest path between about 10'000 location-pairs. I've prepared my vector map as described in the documentation. I can calculate shortest path on about 1'000 location pairs ...
0
votes
0answers
65 views

DLL error and 1073741511 error running GRASS from external Python script

I am struggling to run any GRASS 7.4.1 Session from outside using Python 2.7.15 with Spyder IDLE. While setting up the GRASS bin and GRASS environment are as follows are all good and showing no ...
0
votes
0answers
16 views

Using GRASS 'i.atcorr' tool for more number of bands

I am using GRASS 6.4.4 for atmospheric correction. Can any one suggest how to add a sensor which needs a new argument for i.atcorr other than arguments mentioned in GRASS GIS manual: i.atcorr. I have ...
1
vote
1answer
491 views

GRASS 7.4.1 in QGIS 2.18

I am a new user to QGIS and GRASS. I want to use v.centerline so I opened GRASS as administrator on Windows 10 and I went to the gui of g.extension and successfully installed v.centerline. I opened ...
2
votes
2answers
52 views

Creating precipitation raster map in GRASS GIS?

I am trying to create a potential erosion map of my basin for which I require a rainfall distribution map. I have 3 stations' rainfall data for the year 2007- 2015. How do I create a rainfall map in ...
0
votes
1answer
33 views

Entry point not found Error initiating GRASS GIS from Python

I cannot run any GRASS tools from within Python 2.7.15. While the GRASS environment, grass.script etc. are loading correctly and I can run basic checks like gscript.read_command('g.gisenv') gscript....
0
votes
1answer
65 views

Problem with supervised classification (using GRASS) [duplicate]

So I was playing with supervised classification with GRASS. The first issue that I ran into was right after the first two steps of classification (v.to.rast and i.gensig) which was: unable to read ...
3
votes
2answers
716 views

How to restore a scarp surface grid to calculate material loss

I would like to calculate the volume of material lost from a scarp like the one shown in the following image: Is there a way to do these calculations with open-source software such as GMT, QGIS and ...
1
vote
1answer
119 views

Copying Grass data from one location to another in Grass GIS

I have created several Grass locations with single mapsets while processing a series of satellite imageries at different stages of my analysis. Now I need to copy some preprocessed rasters and ...
2
votes
0answers
422 views

remove/fill gaps inside polygon qgis

I have created a polygon from grass gis and found small triangle like structure inside the polygon (sometimes at the edge to outside), that I want to remove/fill. I tried with geometry check to fix ...
1
vote
0answers
61 views

Can't get GRASS 7 V.kernel.vector to work on QGIS 2.18.14

I have reinstalled GRASS multiple times, with all of the necessary listed programmes to install beforehand (e.g. GDAL), and it won't work. The error comes up - GRASS was not found in '/Users/Shared/...
1
vote
0answers
95 views

r.stream.basin in qgis

I am trying to generate subbasin with provided multiple outlets points by using r.stream.basin. I have install r.stream.basin addon in grass but it does not appear in qgis. Is there any ways to use ...
0
votes
1answer
115 views

Grass-gis grid and Shapefile grid: what's the difference?

I have a raster map with trees in grass (1 and NULL value) for 6m resolution. I would like to aggregate this data in a grid with a resolution of 250m. For that I have created a grid with v.mkgrid and ...
5
votes
2answers
5k views

Updated: Fix for Polygon Self-intersection QGIS 2.18.14?

I am attempting to mask a raster to US Forest Service boundaries in QGIS. It fails due to self - intersections of polygons. Warning 1: Ring Self-intersection at or near point -109.90112962000001 43....
0
votes
1answer
442 views

Getting system locale settings error creating GRASS location from Python?

I am trying to use GRASS 7 from Python without explicitly creating a location. I am starting with the script provided at the GRASS-Wiki. This script tries to create a new location in the /tmp/ folder ...
1
vote
0answers
41 views

GRASS GIS Error Flags

I am attempting to run a GRASS command from the terminal and eventually a bash script, in which it links rasters in a folder to the Mapset previously defined. I was able to successfully create the ...
6
votes
1answer
643 views

Unable to run v.clean in QGIS 3.0.1 in Python console

I am trying to use v.clean algorithm in QGIS 3 python console. Code is as follows. lyr = iface.activeLayer() new_layer = lyr.materialize(QgsFeatureRequest().setFilterFids(lyr....
11
votes
3answers
11k views

QGIS 2.14 standalone GRASS provider missing Msys folder, can't execute tools

In QGIS 2.12 and down, when one went about manually setting the GRASS provider folder paths, this was the way to do it In GIS 2.14 there is no Msys folder in the same path (...\apps\msys) or any ...
0
votes
1answer
72 views

GRASS GIS not importing any Shp File - UnicodeEncodeError

I tried to work on a project to get isochrones with GRASS Tools. I keep getting error messages in QGIS so I tried using GRASS as a standalone but I get the following error message when I try to import ...
1
vote
1answer
1k views

Grass7 processing toolbox QGIS

I just now edited my Grass7Utils.py file. That didn't work. I have tried changing the path in my Processing toolbox. QGIS 2.14.3 Mac OSX 10.11.5 I did not mess with my SIP despite running Capitan. ...
2
votes
0answers
274 views

r. mapcalc error in grass gis 7

After upgrading to 7.0.4, I could not execute r.mapcalc perfectly, there is a problem : syntax error, unexpected INTEGER, expecting VARNAME or NAME Parse error ERROR: parse error ERROR: An error ...
3
votes
2answers
122 views

GRASS 7 tools in QGIS results in EPSG:3397 (PD/83 GK4) instead of 31468 (DHDN GK4) causing dislocation

GRASS 7 tools used from QGIS produce a result in a projection differing from the input projection which might lead to inconsistences: Example v.net.connect, input EPSG of both layers is 31468 (DHDN ...
2
votes
1answer
142 views

OsGeo4W (QGIS 2.18.9): GRASS i.maxlik can't find signature on Windows 10 network

On a Windows 10 network running in the PC pool of our institution, i.maxlike from GRASS 7 produces the following error message when using a signature file produced by i.cluster. Using it from QGIS 2....
1
vote
0answers
101 views

Adding 3rd party grass script into qgis processing toolbox on Mac? [closed]

I am trying to integrate this script http://www.mergili.at/randomwalk.php into QGIS on Mac, but I am having a few problems. I have already seen How to add my own GRASS algorithms to Processing? But ...
3
votes
1answer
235 views

GRASS - Aligning grids of different rasters

I am working on a Landsat analysis script using GRASS GIS. For that, I need to focus on a certain area based on raster "landscape" using r. mask raster="landscape" cat=$foo and then run r.reclass on ...
1
vote
1answer
381 views

Error opening GRASS mapset in QGIS?

I have installed Grass 7.0.5 but I cannot open a mapset via QGIS 2.18. I receive this error message: Cannot open the mapset. Mapset lock failed (exitStatus=1, exitCode=0, errorCode=1, error=Process ...
3
votes
0answers
63 views

How to determine Kc value and apply it to r.sun?

As outlined in this link ( r.sun delievering unrealistic Values ) to get realistic values of kilowatt / meter-2, you must multiply the results by a "clear sky factor (Kc)". The link comments recommend ...
5
votes
3answers
2k views

GRASS 7 environment setup for Python

I would like to use some GRASS functionality from a Python programme. With GRASS 6 this required the set up of various environment variables, as detailed in the GRASS Wiki. I am trying a similar ...
0
votes
1answer
180 views

Fuzzify Slope Values

For a suitability analysis I need to define the suitability of slope from DEM values (in %) to build new trails. Knowledges says that flat and rather steep areas are not suitable due to water runoff. ...
3
votes
1answer
299 views

Correctly import .tif files in GRASS GIS

I am trying to import a GeoTiff (.tif) into GRASS GIS. I then want it to show up in the map display. This is the data I want to use: http://ghsl.jrc.ec.europa.eu/ghs_pop.php As far as I can tell, ...
1
vote
0answers
28 views

How to interpret v.kernel network results

v.kernel "Optionally generates a vector density map on a vector network." I have done this for a network, but I don't understand how to interpret the output of this. Can anyone explain this? I am ...
2
votes
1answer
24 views

Issue with GRASS i.tasscap

I'm trying to carry out Tasseled Cap Transformations in GRASS GIS. I have a Landsat 8 image with bands 2-7 that are needed for the calculation. I have imported the bands into GRASS and attempted to ...
0
votes
1answer
119 views

r.sun model crashing (GRASS GIS 7.0.4, Windows 7 Enterprise SP1)

I have been trying to run the r.sun model on a small test area but it crashes after roughly 5-6 minutes. A windows error pops up saying the program stopped working. I used it before to create an ...
2
votes
1answer
105 views

r.sun.daily - WARNING: Unable to rename null/cell file […] to […]: File exists (GRASS GIS 7.0.4)

When running the r.sun.daily (link) addon for GRASS GIS 7.0.4, which is a script to run the r.sun module in a loop, I get this error: WARNING: Unable to rename null file 'C:\Users\.../.tmp/unknown/...