Questions tagged [grass-7.2]
Use this tag when GRASS 7.2 is the version you are using from the GRASS platform.
41
questions
0
votes
0
answers
11
views
r.object.spatialautocor vs r.moran [closed]
I am new to GRASS GIS. I want to calculate Local Morans I on a single raster. Has the r.moran tool being dropped from GRASS version 8?
If not, how can I use Python to calculate Morans I using r.moran. ...
2
votes
1
answer
75
views
How can I download installation file for GRASS 7.2.0?
I am trying to install GRASS 7.2.0 for my Windows 11, 64-bit laptop. However, I could not find setup file for it in the GRASS GIS website (it says, "Sorry, nothing's here"). There are ...
0
votes
0
answers
38
views
SEBAL Landsat 9
I'm use this script (https://github.com/wwolff7/SEBAL_GRASS/blob/master/Sebal70.py) to run the Sebal Algorithm in GRASS 7.2 and its been working fine to Landsat 8 but to Landsat 9 data I got the error:...
0
votes
1
answer
22
views
Working iteratively on GRASS in R environment
I would like to realize a bicubic spline for many shapefiles. Following the indications on this post,enter link description here I obtained my results and export it from GRASS to folder.
Now, I would ...
0
votes
1
answer
31
views
Problem during GRASS working session in R environment
I have a series of shapefile like those are in the attached folder.
I would like to realize for each column of those shapefiles a bicubic spline. I would like to use for this operation GRASS into an R ...
1
vote
0
answers
148
views
How to define PG connection to a distant server for grass gis v.in.ogr?
OS: debian stretch ; GRASS version: 7.2.
I'm writing a standalone python script using grass_session.
with Session(gisdb="/tmp",
location="mylocation",
...
1
vote
1
answer
187
views
Running 'r.null' processing algorithm in Standalone Python script on Windows
I want to run this code outside QGIS as a standalone Python script.
import os
import processing
os.chdir('C:/Users/User/test/25')
alg_params = { '-c' : False,
'-f' : False,
'-i' : False,
...
1
vote
1
answer
32
views
Levelling an existing site in DSM for viewshed analysis in GrassGIS
I'm doing a multi-point viewshed analysis for an urban site in GrassGIS based on a LIDAR DSM raster maps, to test for a series of proposed buildings. The site has existing building on them.
Is there ...
0
votes
1
answer
542
views
Loading ADF file from National Elevation Dataset into GRASS with Python?
I'm trying to load data from the National Elevation Dataset into GRASS/Python, using this Python script (outside of GRASS):
# Imports
import os
import grass_session
from grass.script import setup as ...
0
votes
0
answers
29
views
GRASS session fail to start because of g.extension failed on linux mint
I am struggling to start any existing Grass sessions (that was working before) in Linux Mint 18.3 Cinnamon 64 bit on an Oracle virtual machine.
The following error is popping up every time I am ...
11
votes
2
answers
2k
views
QGIS GRASS Processing Not Working on MacOS?
Recently upgraded to QGIS3 (3.0.2) for MacOS (High Sierra) and encountered GRASS (7.2.2) issues. Tried adding a custom variable and now when running GRASS algorithms (e.g. r.reclass) I get the ...
1
vote
0
answers
88
views
GRASS GIS gui or shell? [closed]
I am shifting from QGIS to GRASS GIS. I believe GRASS GIS enables better automatization and QGIS basically uses a bunch of GRASS GIS functions anyway.
However, the change is not as smooth as I ...
1
vote
0
answers
209
views
QGIS 2.18 r.patch fails "Input raster map contains cells with NULL-value (no-data)"
In QGIS 2.18.16 with GRASS 7.4.0 (Windows 7, 64 bit), I am trying to create a composite raster layer from two nearly identical versions of a 3-band color geotiff that almost (but not quite perfectly) ...
2
votes
1
answer
106
views
Precision loss in the REAL fields when saving GRASS layer as shp with QGIS
I am using QGIS version 2.18.14 with GRASS 7.2.2 to clean up some geometry issues within shp files I have.
I have an initial shapefile “test.shp” which has a field named “area”. The “area” type is ...
3
votes
0
answers
99
views
Spyder 3.2.6 does not work with GRASS GIS 7.2.2
I've installed spyder 3.2.6 with pip from the OSGeo console. There is a spyder.exe file in ~\OSGeo4W64\apps\Python27\Scripts and the Spyder package directories show up in site-packages. If I run the ...
2
votes
1
answer
223
views
grass GIS + spyder python script error
I'm getting crazy with grass gis and python. I want to call a grass function from an external python script (using spyder for instance).
I've installed QGIS + GRASS with the OSGeo4W64 installation ...
2
votes
1
answer
51
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
1
answer
257
views
Batch raster processing or other way?
I new man in processing and modeling rasters by GRASS GIS. But I have one unsolved problem.
I have a lot of rasters with similar names: raster_1, raster_2, ..., raster_100.
Also in my work ...
1
vote
1
answer
1k
views
Can't install extensions nor grass-dev package [closed]
I've been trying to install several extensions on my newly installed GRASS GIS 7.2 (installed following instructions here), amongst them "i.fusion.hpf". The extension doesn't seem to matter as the ...
6
votes
1
answer
258
views
Error in GRASS using i.segment.uspo function
So I was using this function called i.segment.uspo and I got this error
ERROR: Insufficient number of non-NULL cells in current region
Traceback (most recent call last):
File "/usr/lib/...
0
votes
0
answers
140
views
GRASS GIS Windows 8.1 error
So I am a new user with GRASS 7.2, in Windows, and the problem was when I first booted GRASS GIS, I had to create a new location, for my data, but every time I was trying to create that location GRASS ...
3
votes
1
answer
279
views
Using NASA's GIBS servers with GRASS GIS
I am trying to download WMS tiles into a grass mapset. I'd like to use NASA's GIBS servers which replaced the JPL OnEarth services. I'm not sure how much remains the same between the two services, but ...
3
votes
0
answers
132
views
Format field in header file invalid for GRASS GIS?
I have a raster map in GRASS database. When i try to load using
d.rast map=Raster-name
I get the following error:
Failed to run command.
Details: GRASS_INFO_ERROR(9937,1):Raster map (Raster-...
5
votes
1
answer
139
views
Creating a GUI toolbox for a GRASS add-on
In Vaclav Petras' GRASS add-on guide it is stated that GUI toolboxes for GRASS add-ons are defined in the toolboxes.xml file, that must then be added to the main installation folder:
You have to ...
0
votes
0
answers
241
views
v.category fails to add missing categories to v.type output
This is a long story, but I am not certain where exactly the problem is. I started with a polygon (area) that I converted to a line using v.type:
> v.type input=debug_interpol_area output=...
1
vote
2
answers
339
views
v.surf.idw ignores mask
I have two vectors, one with points and another with the extent of a zone of interest:
I would like to interpolate a surface within that zone of interest. This is just a small example, with larger ...
1
vote
1
answer
362
views
No Grass plugin in plugin manager in Qgis 2.14 on ubuntu 16.04
I have installed QGIS 2.14.15-Essen and GRASS GIS 7.2.1, but there is no option to add GRASS plugin in Plugin Manager
1
vote
2
answers
272
views
Defining GRASS region in RQGIS?
I would like to use grass7:i.image.mosaic algorithm in R using RQGIS packages But I don't understand how I can define it
I have 14 rasters named r1:r14. I do
params <- get_args_man(alg = "grass7:...
1
vote
2
answers
212
views
r.mfilter produces empty result
I am trying to apply a high pass filter to a raster that is portrayed like this in the Map Display:
For starters I double check the region:
> g.region raster=blenddem
> g.region -p
projection: ...
2
votes
1
answer
607
views
Why is r.out.gdal exporting empty rasters?
I need to export a raster I produced with GRASS. The Map Display portraits this raster like this:
The metadata of this raster also looks pretty normal:
> r.info map=blenddem
+--------------------...
0
votes
1
answer
231
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
2
answers
910
views
Can't access GRASS GIS modules from within Python 2.7
Using the tutorials posted here, here and here, I am trying to setup a script that will make use of several GRASS GIS raster functions externally. For now I am just trying to get the tutorial script ...
1
vote
1
answer
2k
views
Calculating Albedo for Landsat 8 using QGIS with GRASS?
I am trying to estimate albedo for Landsat 8 OLI. The idea was to use the GRASS function i.albedo within the processing toolbox of QGIS. However, the option for Landsat 8 OLI is not available, ...
1
vote
0
answers
182
views
Why are geoalgorithms missing from QGIS processing toolbox (GRASS & SAGA) [duplicate]
I am wanting to calculate albedo from a Landsat 8 set of bands. When I use GRASS' Processing toolbox i.albedo, within QGIS, the option for landsat 8 is not avaialbe, however if I use GRASS separately ...
1
vote
1
answer
141
views
how the grass-gis extension r.diversity work?
I have found a nice paper about r.diversity extension. But I don't understand why... it returns me empty raster without errors.
I have tried to compute diversity on ndvi from spot6 image...
r....
1
vote
1
answer
56
views
export grass-gis pansharpened image
I have pansharpened my spot 6 image within grass 72 using i.fusion.hpf and it work well!
i.fusion.hpf pan=SPOT6_P_20151113@PERMANENT msx=SPOT6_MS_20151113.1@PERMANENT,SPOT6_MS_20151113.2@PERMANENT,...
2
votes
1
answer
426
views
GRASS 7.2.0 doesn't start on PC
when I want to start the program a black window opens and show me the next message:
Traceback (most recent call last):
File "C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.2.0\etc\grass72.py", line 1971,...
2
votes
1
answer
810
views
Import ESRI ASCII raster with python to GRASS
I had to get used to GRASS the last two days because I can't set up my python IDE to work with my osgeo4w python and I find it incredibly clunky. I have a simple ascii raster - I think its origin is ...
2
votes
0
answers
104
views
Generating ground control points with GRASS?
I want to find out matching ground control points in two images for auto georeferencing and grass manual says that i.points.auto will do the job.
I am using Grass 7.2 but couldn't find this plugin.
3
votes
2
answers
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 ...
1
vote
0
answers
62
views
How to add r.vieshed.cva to QGIS 2.18.3 processing toolbox? [duplicate]
I want to add r.vieshed.cva on my grass 7.2.0 from QGIS 2.18.3.
I need to access to r.vieshed.cva from processing and conect it with processing.runalg().
I saved the alg on C:\Program Files\QGIS 2.18\...