Tagged Questions

GRASS GIS (Geographic Resources Analysis Support System) is a free, open source geographical information system (GIS) capable of handling raster, topological vector, image processing, and graphic data.

learn more… | top users | synonyms

0
votes
0answers
25 views

Execute Spyder within Grass GIS

I'm using GRASS Gis with a small Python script. Is there a way (for windows users) to use the sypder ide within grass? I looked at http://grasswiki.osgeo.org/wiki/Tools_for_Python_programming but ...
1
vote
1answer
18 views

Is my code for changing the resolution correct?

I have a raster files of daily minimum temperature (tmin) for the period 1962-2011 at a resolution of 1.125. I need to convert each single day raster file into 0.5 using inverse distance ...
1
vote
0answers
52 views

GRASS and r.viewshed

I'm trying to run the r.viewshed command using co-ordinates held in a .csv file I imported using v.in.ascii. It has over 200 rows and I'm looking to run viewsheds from each line, without doing it ...
2
votes
1answer
50 views

Compute number of days with snow

I have a project and I want to map the effective number of days with snow cover for a year in some mountain area. Until now, I have processed the MOD10A2 (8 days snow cover) product derived from MODIS ...
1
vote
1answer
45 views

How to check the resolution of converted raster file

I have a raster file whose resolution I need to change to 0.5. I do this using this: g.region rast=my_raster res=0.5 After running this command, how do I verify whether the resolution has actually ...
0
votes
0answers
27 views

v.clean in QGIS Python console

I have tried to use v.clean and v.clean.advanced (by GRASS GIS) within a script in QGIS, and was not able. I followed instructions here:, but was not able to do so. I got message: "No module named ...
1
vote
1answer
31 views

Why is the raster information No Data value set to -1.#IND?

I have a couple rasters that have been atmospherically corrected using the "landsat.toar" tool in Grass. When these rasters are output and I open up their properties in ArcCatalog, the NoData Value ...
0
votes
1answer
61 views

QGIS – Raster Calculator: Using flat (no data) areas of an aspect-raster in the raster calculator

I´m playing around with the Raster tools, following more or less the qgis-tutorial but using my own data. When I calculate the aspect of a DEM, flat areas are (logically) left without data. However, ...
0
votes
0answers
34 views

Does somebody has a Python script for a Multiple Flow Algorithm?

I´m looking for for a python script for a multiple flow algorithm assigning flow to all lower cells from one central cell. This algorithm is part of the r.terraflow and would need it to start at a ...
0
votes
2answers
27 views

Adjacency matrix in GRASS

I have a line shapefile that I use as network. I connect a set of point to it using "v.net operation connect" command. . My questions are: (i) how can I get the list of neighbors for each ...
1
vote
0answers
27 views

GRASS r.out.mat memory issues

we have built a model with pythn/GRASS that calls the r.out.mat module. The area is quite large 25,000x25,000 cells. The machine we are running it on is Windows 7 machine with 16GB of RAM. After a ...
0
votes
1answer
143 views

What is the typical v.surf.xxx exicution time?

What is the typical v.surf.xxx exicution time? I am trying to run v.surf.bspline on a set of ~1600 points. It has bee running for about an hour now and is stuck at spot indicated in the image. I ...
3
votes
1answer
111 views

Shortest distance from polygon centroids to a line in QGIS

To get the distance of each polygon centroid from a line, I have tried the Distance to nearest hub algorithm from the Processing Toolbox. The distances I got from the algorithm did not seem correct, ...
3
votes
1answer
70 views

NVIS module not found in QGis

When I try to use the nvis module in Grass, QGis, pops-up a warning window saying "Module nviz not found". how can I solve this issue and use the nviz?
1
vote
1answer
45 views

How to modify existing grass gis tools and run them in QGIS?

I would like to take an existing tool of the grass tool box and modify the code to the specific needs of my task. As I´m struggling to start some kick-off would be great. How to access code? What do I ...
1
vote
1answer
64 views

Empty signature file after i.gensig in Grass (SOLVED)

I'm trying to make a supervised classification in Grass 6.4.3 under Linuxmint 16. After digitizing the training areas, I transformed them from vector to raster. Then I've done the following: just in ...
0
votes
0answers
34 views

r.composite gives blank image output in GRASS GIS

While running r.composite in GRASSGIS GUI command the image formed looks absolutely blank. The data I used is listed here below. IRS-LISS III Multispectral coverages. (i.e. band 2, 3 and 4 for Blue, ...
1
vote
2answers
438 views

“Missing dependency.This algorithm cannot be run :-(” QGIS + GRASS Windows 7

Windows 7, OsGeo4W pack installed including QGis 2.4.0 and GRASS. I Qgis when i try to execute a GRASS geoprocessing algorithm i get this popup: "Missing dependency.This algorithm cannot be run :-( ...
0
votes
1answer
37 views

Help me to understand how i.fusion.brovey works in Grass 6.4.3

I'm using Grass 6.4.3 in Linuxmint 16. I don't have a very big problem but I'm trying to understand what is Grass doing, if I'm applying the process correctly and if there is something wrong with my ...
0
votes
2answers
64 views

r.topidx error: required parameter output not set

I'm calling GRASS r.topidx from QGIS 2.2.0. I can get other tools to work on the DTM, for example r.watershed. But r.topidx I get the Oops message: Oooops! The following output layers could not be ...
0
votes
0answers
21 views

qgis: module crashed or killed

using Grass 6.4.3. via Qgis 2.2.0 Valmiera (standard installation package): Why would Grass modules suddenly produce a "module cashed or killed" error. specifically in relation to r.surf.idw2 and ...
1
vote
2answers
58 views

GRASS GIS: auto-completion fails in commande line

I'm running GRASS GIS 6.4.3. on Win 7, SP1, 64 bit. The path to my grass-DB is: D:\grassdb Within the GRASS GIS Commande Line, if I press the tab-key to auto-complete only folders, files and ...
1
vote
0answers
42 views

GRASS workflow for volume calculation

i am attempting a volume calculation using the route of 2 dems (upper and lower) and trying to subtract the difference. workflow as follows: A. rasterise vector contours (v.to.rast.attr) B. create ...
0
votes
1answer
26 views

QGIS GRASS vector simplification creates duplicate data rows

When simplifying polygons in QGIS (2.2.0) with the GRASS v.generalize tool the resulting layer duplicates some data rows many times. A shapefile of 657 zones/data rows: .. is simplified to one ...
2
votes
0answers
57 views

Background (sky/terrain) of a viewshed

Is it possible to determine whether a point feature of a particular height would be backed by sky or by terrain? I've done the viewsheed analysis of a wind turbine. Now I would like to make a raster ...
0
votes
1answer
47 views

Error G_Calloc v.to.rast

Using the grass GUI I get this error message: ERROR: G_calloc: unable to allocate 2004389888 * 8 bytes of memory at raster.c:71 What can i do to remedy this?
0
votes
1answer
136 views

How to use python to set a variable to a value from a vector attribute table for GRASS

I'm adding to a python script for GRASS v.transects.py. I want to set a variable to equal a value from a field in the vector's attribute table using a for loop to cycle through each row. This is one ...
0
votes
1answer
49 views

GRASS raster map types: UInt16 and Float64

i am in the processing of using r.out.gdal to export DEMs from GRASS into QGIS this is the output of the first try: using UInt16 as the data type. r.out.gdal input=DEM0maslTopog@UTM_35S ...
0
votes
0answers
21 views

problem r.walk region GRASS

I'm getting troubles to run r.walk. If I run r.walk in this region: projection: 3 (Latitud - Longitud.) zone: 0 datum: wgs84 ellipsoid: wgs84 north: 33:39:03N south: 29:16:03N ...
1
vote
1answer
36 views

can grass modules work separately

Grass is very useful tool for pre processing of imagery.i want to use i.atcorr module separately.will it be possible. i have compiled using .cpp files(AerosolConcentration.cpp, ...
0
votes
0answers
42 views

Use python to execute GRASS module v.distance

I have successfully use python script to import a line shapefile and a point shapefile into GRASS, and the following are their attribute table in QGIS, line shapefile point shapefile Now I want ...
0
votes
0answers
169 views

libgdal1 and libgdal1h conflict

I am on Ubuntu 14.04. When I am installing PostGIS-2.1, it's asking for libgdal1 library. But when I am installing libgdal1, it's removing grass and gdal. Can someone please guide me how to install ...
0
votes
0answers
114 views

QGIS GRASS plugin missing!

I just installed QGIS version 2.2.0-Valmiera on my mac with OS X. First I installed all required frameworks. QGIS is running, but the Grass plugin is not existing. In the toolbox the grass tools are ...
1
vote
0answers
109 views

QGIS 2.2.0 GRASS not worked

I use QGIS 2.2.0 on Windows 8 64 bit. I try to install use Standalone installer and OSGeo4W and still get the error And then i start GRASS C:\Program Files (x86)\GRASS 6.4.2>grass64 ╬╪╚┴╩└: ...
1
vote
1answer
30 views

GRASS GIS 3D - Inconsistent number of attributes

I am trying to automate my 3D plotting of GRASS GIS 7 results, also to make them more consistent in size and view angles. So for m.nviz.image elevation_map=DEM -a mode=fine resolution_fine=1 ...
0
votes
1answer
22 views

QGIS GRASS plugin: r.composite quality loss

When using the r.composite tool within the GRASS plugin in QGIS, the result raster has a cell size of 150x150 while the input rasters have a cellsize of 30x30. Can this be overcome somehow or is this ...
0
votes
1answer
37 views

GRASS GIS v.in.ply

I'm trying to import a .ply file from MeshLab 1.33 into GRASS GIS 7.0 using v.in.ply addon, but I get the error message: ERROR: List index must be integer, is uchar This appears to be referring to ...
0
votes
0answers
28 views

Run this module in GRASS 6.4.3 command line in Windows 7 or QGIS Grass Module

I have GRASS 6.4.3 running and working in windows. I would like to use this script (http://grasswiki.osgeo.org/wiki/AVHRR) Scroll down to Import to see the code. I have the correct EPSG set but ...
1
vote
1answer
41 views

Problems running grass.mapcalc

I am using the GRASS Python Scripting Library on Ubuntu 14.04 with the packages available from the Universe repository. I have the following block of code: try: ...
1
vote
2answers
93 views

Convert a mask image to polygon shape file using GRASS

I used image classification technique in GRASS GIS v7 and generated the image mask below in which white area has NULL value and red area contains 1. I am going to clip those red color areas in a ...
0
votes
0answers
58 views

Running a batch script in GRASS command line - v.dissolve and v.db problems

I have been writing a number of scripts for automating isochrone production in GRASS just using the command line. I create files with isochrone lines in them and then a buffer around each of the ...
0
votes
1answer
20 views

r.series command in QGIS - timeseries

I am using r.series command in qgis. The command is performing correctly, but when I import input raster files, it creates a list in a random order. Sometimes the order of input rasters is essential ...
0
votes
0answers
65 views

QGIS r.cost / r.drain and errors

I'm trying to find the optimal route of several archaeological sites with Qgis 2.2. I've a DEM and r.walk or r.viewshed executed successfully, but r.cost always fails creating the output, however ...
0
votes
0answers
42 views

time processing

I am computing NDVI for Landsat TM in grass 6.4.3 in raster map calculator, and time processing is many hours and finally tke message is "failed". trying to find a solution I discovered that it ...
0
votes
1answer
84 views

r.viewshed - Can't find with Grass toolbox

I'm trying to use r.viewshed and have got Grass installed but can't find it anywhere! under toolbox, I click 'Grass commands (152 geoalgorithms) and have a choice of imagery, raster, vector, etc, ...
0
votes
0answers
20 views

Changing tracks to vectors in a grid

This is a version of a question that I posted on the GRASS list, but I didn't get any suggestions there. I would like to overlay a grid (cell size about 500 m x 500m) over an animal track created from ...
0
votes
0answers
31 views

R equivalent of GRASS r.grow?

What is a good R equivalent of the GRASS function r.grow? The closest I've been able to find is the script suggested by whuber in response to Creating randomly shaped clumps of cells in a raster from ...
0
votes
0answers
41 views

v.buffer angular buffer doesn't take all the polygons into account

I am trying to create an angular buffer around building footprints with the v.buffer command (QGIS 2.2). There is no error message, but the algorithm doesn't take into account all the buildings. This ...
1
vote
1answer
66 views

List the projection & datum of all the files in a folder

In QGIS/GRASS, is it possible to list the projection details of all the shp,tab,dxf files in a folder ? We are having 100 - 150 files in too many folders. We would like to create a table of Proj ...
0
votes
0answers
21 views

Is it possible to compile a grass addon into a commandline app?

As the title says, I'm wondering if it's possible to take the source of a grass add-on and compile it into a commandline app. Or, alternatively, use the add-on in a python program. Basically, I ...