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
3 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 ...
0
votes
0answers
8 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 ...
2
votes
2answers
153 views

Issue while running grass from subprocess

I have a map based web application using geodjango. I needed to display the crime hotspots within a selected polygon area. I found that v.kernel is very good for generating heatmaps/hotspots. So in my ...
0
votes
0answers
24 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 ...
2
votes
0answers
38 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, ...
2
votes
1answer
200 views

Raster map in different zone () than region ()

I am new to QGIS (just installed QGIS 2.0.1) and am having problems running any spatial analysis tools. I followed the instructions on how to call GRASS tools into QGIS, but when I try to run the ...
0
votes
2answers
16 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 ...
0
votes
2answers
218 views

Error from ps.map in GRASS. How to fix?

I'm trying to learn how to use ps.map in GRASS. I thought that running it in interactive mode from the command line would be a good place to start, but I'm getting the following error: > ps.map ...
1
vote
1answer
14 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
15 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
35 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 ...
1
vote
1answer
21 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?
3
votes
1answer
93 views

95 percent volume contour

I generated, from point data, a kernel density map using GRASS, and I would like to identify the 95% volume contour in it. Is it possible in GRASS? Thank you
0
votes
1answer
25 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 ...
0
votes
0answers
17 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
1answer
268 views

r.surf.contour in QGIS 2.0

I have a problem with r.surf.contour. I create a DTM with v.to.rast.attribute and then use the r.surf.contour and it works fine in QGIS 1.9 but with QGIS 2.0 doesn't work. I have a contour shapefile ...
0
votes
1answer
134 views

Problem opening GRASS GUI: libgeos-3.3.6.so: cannot open shared object file:

I have been using GRASS to process some Landsat imagery but very recently, and as far as I am aware - after having done nothing different or changing the settings, I am trying to use GRASS and on ...
2
votes
1answer
144 views

Installing QGIS 2.0 with the newest gdal and geos libraries

I want to install QGIS 2.0 on Ubuntu 12.04 LTS. I followed these steps until the final installation command. Before I compiled gdal 1.10, geos 3.4.2 and grass 6.4.3 on my own. In the synaptic ...
0
votes
1answer
24 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
1answer
17 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 ...
1
vote
2answers
68 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 :-( ...
3
votes
2answers
199 views

How to split lines into equal segments with QGIS?

I'm attempting to split a curved (wiggle) line into equal length segments. Have used Grass's v.split which works to a degree but does not provide the output I'm after. v.split will extract segmented ...
0
votes
1answer
106 views

Removing Image Stripes / Scan Line errors

I have some seabed bathymetry data derived from seismic reflection profiles in a 2.5D dataset (closely spaced lines). The data was gridded by another worker in SMT Kingdom suite; I'm not familiar ...
2
votes
2answers
294 views

How do I reproject one raster to match another's in GRASS

I have two raster layers, A and B, which have information about the same location but have different projections and datums. How can I reproject layer A to match the projection and datum of layer B? ...
3
votes
2answers
2k views

How to generate a DEM from a contour Shapefile?

I want to create a DEM from depth contours (shapefile) in QGIS. I've been trying to work out how to do this based on this previous question, notably from this link from that page, however I'm stuck, ...
1
vote
1answer
40 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 ...
0
votes
0answers
17 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
1answer
352 views

Create a 3D surface from xyz csv using GRASS

Apologies if this is a repeat question guys. I am trying to create a 3D bathymetry surface from xyz data. There is approximately 300,000 points with lat, long and z (depth data). The data is sonar ...
1
vote
2answers
95 views

How to import R-generated .gri/.grd raster files in grass?

I received data in .grd + .gri format, where the first one is a small text file and the second one (having the same name) is a binary file. I am unable to open them in grass/qgis. Any hint ? Missing ...
0
votes
1answer
19 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
19 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
84 views

Why can't I load more than 12 elevation files into NVIZ?

I have a large set of rasters in a GRASS mapset, which I would like to use as frames in an animation, visualizing the raster data as elevation. NVIZ is an obvious tool for this, but I'm having trouble ...
0
votes
1answer
17 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 ...
3
votes
2answers
145 views

Is r.cost equivalent to diffusion interpolation with barriers?

I want to perform interpolation using cost distances rather than euclidean distances similar to Greenberg et al. (2011). In that paper they use r.cost in GRASS to compute cost distances for each ...
2
votes
0answers
47 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
0answers
19 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
67 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 ...
4
votes
1answer
159 views

Help installing add-on in GRASS, I get an error message

My Grass gives me this error message, Grass_info_error(4816,1):'make' required. Please install 'make' first. This happens when I attempt to fetch an add-on (r.viewshed). What am I doing wrong? and ...
0
votes
0answers
9 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 ...
2
votes
4answers
565 views

Unable to load GRASS plugin

I upgraded from QGIS 1.7.0 to 1.8.0, including updating GRASS to version 6.4.3. Since then, GRASS isn't any longer listed in the Fetch Python plugins. I uninstalled and re-installed the whole package ...
1
vote
1answer
18 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
22 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
55 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
75 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 ...
0
votes
1answer
16 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
0answers
13 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 ...
0
votes
1answer
16 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 ...
1
vote
1answer
25 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 ...
1
vote
0answers
83 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
31 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: ...