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
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 ...
6
votes
1answer
648 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....
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....
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 ...
5
votes
3answers
276 views

How to list the available GRASS modules in command line

Using GRASS shell, I know that I can use the -help suffix to get information about a particular module. E.g. r.relief -help will return this: Description: Creates shaded relief map from an ...
5
votes
1answer
580 views

command r.stream.order not found in grass 7.0.3 how to install r.stream module?

I have installed QGIS 2.14.1 and GrassGIS 7.0.3 I found in OSGEO Grass wiki page a command that calculate Strahler's and Horton's stream order Hack's main streams and Shreeve's stream magnitude from ...
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?
4
votes
2answers
7k views

How to activate GRASS GIS 7 plugin in QGIS 2.8?

Apparently, my linux ubuntu setup of QGIS doesn't contain grass gis, although when I initially installed it last week I added grass gis to the command line. Anyway, I typed in once again and installed ...
4
votes
2answers
243 views

GRASS r.in.lidar tool generates incomplete rasters

I have been trying to import a huge LIDAR file (10.5) Gb to GRASS GIS using r.in.lidar. It does the task, but only for part of the image, as shown below: Canopy Height Model (CHM) generated with ...
4
votes
1answer
513 views

GRASS7 r.water.outlet doesn't run correctly in QGIS 2.14.2

I am a new user of GIS software and I am currently facing an issue with the GRASS7 tool `r.water.outlet. I am a beginner with both Linux and GIS. I am using Ubuntu 14.04 with QGIS 2.14.2 and GRASS 7.0....
4
votes
0answers
135 views

Layers from GRASS db won't load in QGIS 2.18.4 desktop

I have been learning QGIS online but now I am stuck at a module. I am supposed to launch a project that includes GRASS vector and point layers. However, when I do so I always receive the 'Handle bad ...
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 ...
3
votes
1answer
300 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, ...
3
votes
2answers
717 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 ...
3
votes
1answer
238 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 ...
3
votes
1answer
114 views

Is it possible to start the GRASS GUI from R?

I am using the rgrass7 package in R in order to work with GRASS GIS. After having set the needed enviornment variables, I can now launch a GRASS session from R and and work on my GRASS data using ...
3
votes
1answer
1k views

GRASS via Processing Toolbox doesn't work in QGIS 2.8.3 on Mac?

I am quite new to QGIS and working with the external applications such as GRASS. When trying to launch a GRASS tool from the processing toolbox I get the following error: Missing dependency. This ...
3
votes
1answer
209 views

Get ID for each single v.to.points point in GRASS?

How do I get for each v.to.points point an ID in the database (DB). So far I splited the line (each 10m) but it returns only one DB entry for each original line. v.db.select line cat|Id|Name 1|1|...
3
votes
2answers
2k views

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

I checked these question/answers already, but they did not address my issue: GRASS plugin missing from QGIS 2.14.3 Essen in Ubuntu 14.04 How do I get grass plugin working in QGIS for Windows? I am ...
3
votes
2answers
1k views

QGIS 2.16 grass 7 missing dependencies Windows 7 64

So I just installed QGIS 2.16, and when trying to run grass commands specifically r.watershed, i get the following error, Missing dependency. which seemed to be similar to this issue QGIS 2.14 ...
3
votes
1answer
290 views

How to symbolize raster with field values in QGIS or GRASS GIS?

I have a raster with ten field values. In ArcGIS I can open and select one of the field values for symbology and it show me the values from that field. How can I handle this in QGIS? I share a ...
3
votes
1answer
241 views

Cannot open r.viewshed on Grass 7

I cannot open the r.viewshed tool in Grass 7.0.3. I am using the 64-bit version on Windows 7. The error message is given below: Traceback (most recent call last): File "C:\OSGEO4~1\apps\grass\...
3
votes
1answer
256 views

GRASS r.in.lidar problem on Windows 10: 'no such file or directory'

I'm having problems to load .las files into Grass GIS 7.0.3 for Windows 10. I use the module r.in.lidar but I get the following message: What can I do? How can I solve the problem?
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 ...
3
votes
0answers
106 views

Missing list of algs in QGIS 2.14 Processing modeler?

I changed my QGIS-version from 2.8 to 2.14. I am very happy that v.net algs (grass7) are available now as part of the processing plugin. But now there is no list of algs inside the modeler - so no ...
3
votes
0answers
32 views

What does the blocking option do in GRASS r.watershed?

What does the blocking option do to the r.watershed program in grass? According to the manual, it should stop water from being routed past that location, but it appears to have no effect. I'm trying ...
2
votes
2answers
87 views

What does the max_slope_length option do in GRASS r.watershed?

What does the max_slope_length option do to the r.watershed program in grass? According to the manual, it should limit the length of a stream. Does this mean a max_slope_length equal to the raster ...
2
votes
1answer
107 views

Pygrass reading raster issue

I'm tring to read a raster map from my grassData. I'm using this code import os import grass.script.setup as gsetup from grass.pygrass import raster gisbase = os.environ['GISBASE'] gisdbase = os....
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 ...
2
votes
1answer
50 views

Grass projection issue

I am working with GRASS and I am trying to do a supervised classification. The issue here is that I get an error for NaN values. ERROR: Not enough data points Now I know that is an error that you ...
2
votes
1answer
366 views

Missing the results from grass tools when used in python console

I am running a grass tool from the python console to obtain a buffer from a vector polygon layer. But the result shapefile is not being created. Running the same tool manually from the Processing ...
2
votes
1answer
920 views

Connecting Python script external to Grass GIS 7 program in Windows 10?

I've tried to find resources online to link and run my Python script externally from Grass GIS 7, however, I have not been successful. I found resources here that provide instructions (e.g., https://...
2
votes
1answer
52 views

Which basename i am going to use as prefix in i.landsat8.swlst in GRASS GIS?

I want to use i.landsat8.swlst add-on in GRASS GIS to calculate LST from Landsat8 data for my study area. In the following command: i.landsat8.swlst mtl=MTL prefix=B landcover=FROM_GLC -n ​Which ...
2
votes
1answer
750 views

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

I could not find 'Add GRASS vector layer' button in QGis 2.16.2 with GRASS 7.0.4? Can someone help?
2
votes
2answers
176 views

r.viewshed.cva GRASS GIS 7.0.3

I am having problems with r.viewshed.cva in GRASS GIS 7.0.3 and 7.0.4. I run the addon with the DEM and 100 random vector points as input. The vector points are composed by the cat, and X and Y colum ...
2
votes
1answer
127 views

GRASS GIS: how to define several variables in a loop without the command locals()?

I am working on a Python script in GRASS GIS and want define several variables in a loop. My simple loop is working, but I don't know how to integrate sevaral variables. RG_koor=g.read_command("v.out....
2
votes
1answer
2k views

How to set QGIS 2.14 on OS X to use GRASS 7

My current QGIS installation (2.14) on OS X 10.11 is set up to work with GRASS 6.4.4. I am guessing this is the default GRASS version that comes preinstalled with the QGIS package maintained by ...
2
votes
1answer
78 views

Problems to use v.what.vect in GRASS7

I have problems to use the function v.what.vect and I'm not sure what is the issue. I have a simple forest polygon and try to determine if a point is in the forest or not. # check the output of the ...
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 ...
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 ...
2
votes
1answer
156 views

GRASS r.basin resolution error at strahler stage

I built a composite DEM of Florida using USGS NED 1 30m DEM tiles. I used r.patch to convert the individual tiles into a single raster and then projected it into a new region with the EPSG:26958 ...
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....
2
votes
2answers
368 views

Hardware requirements for GRASS 7

I need to know the minimum hardware requirements to run GRASS 7, at the request of a Journal editor. There is plenty of information in the Wiki about software requirements, but none on hardware. All ...
2
votes
2answers
1k views

Set QGIS 2.18.7 on OSX - 10.12 to use GRASS 7

I read this post, I read this post. I installed Qgis 2.18.7 (package maintained by William Kyngesburye), which contains GASS 7.0.4 with disable SIP. I executed what the post says, but in the "...
2
votes
1answer
95 views

GRASS raster calculator - fill nodata values from other raster

I want to use r.mapcalc to calculate a raster from two inputs: water_rst and contour_rst. I need a raster with all values from water_rst and then values from contour_rst where water_rst has no data. ...
2
votes
1answer
49 views

r.maxent.lambdas command not recognized in GRASS after installing extension

Running Grass 7.0.5 on a Windows 10 machine, I installed the 'r.maxent.lambdas' addon with the g.extension command: g.extension extension=r.maxent.lambdas Downloading precompiled GRASS Addons ... ...
2
votes
1answer
240 views

Landsat 8 reflectance values very low

I am getting very low reflectance values (mostly < 0.1) in Landsat 8 bands 2-7 on different scenes after rescaling from Digital Numbers (DN) to Reflectance. All scenes are in a tropical landscape ...
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/...
2
votes
2answers
334 views

Unable to install add-on in GRASS GIS 7 [closed]

As i tried to install add-ons in GRASS GIS 7 using the command as: Say, g.extension extension=r.stream.order The following error is displayed: ERROR: GRASS Addons (r.stream.order) not found. ...
2
votes
1answer
1k views

Exception using PyGRASS: “No module named 'core'”

I am trying PyGRASS on Ubuntu 14.04. I have GRASS 7 installed from the UbuntuGIS PPA: $ dpkg -l | grep grass ii grass 7.0.4-1~trusty1 ...