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

1
vote
0answers
38 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
48 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 ...
0
votes
1answer
51 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, ...
2
votes
4answers
633 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
38 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 ...
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
0answers
22 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
33 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
24 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
221 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
54 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 ...
1
vote
0answers
24 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
140 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
49 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
41 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
26 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, ...
2
votes
1answer
162 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
29 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
302 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
124 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 ...
0
votes
0answers
18 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 ...
0
votes
1answer
38 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
30 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
22 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
151 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
56 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
127 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
176 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
18 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
24 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
31 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
143 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
101 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
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
0answers
21 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
32 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
27 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
106 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
38 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: ...
0
votes
0answers
54 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 ...
18
votes
5answers
1k views

How to simplify a routable network?

I have a network graph that I need to simplify in the sense of reducing the number of edges. The idea would be to merge nodes that are located close together and remove the connecting short edges. ...
1
vote
2answers
88 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 ...
6
votes
3answers
2k views

Dissolve or unsplit lines on common attributes in PostGIS or GRASS?

I have a road centerline shapefile that has roads split at every intersection. However, I would like to join LINESTRINGs that have a common set of attributes into a single LINESTRING. So long as the ...
0
votes
1answer
17 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 ...
1
vote
1answer
447 views

Merge two maps with OR operation in GRASS

I have two vector maps. The two maps cover the same area but are split up into polygons differently (i.e. if you were to imagine one map placed above the other, the lines defining the polygons would ...
0
votes
0answers
51 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 ...
6
votes
1answer
583 views

How to perform unsupervised classification of LANDSAT time series using Grass?

I'm using GRASS to perform an unsupervised classification on a time series of LANDSAT images (monthly temporal res, over 30 years), in order to compare land cover change in a particular area. I'm ...
0
votes
1answer
73 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, ...
1
vote
1answer
198 views

How to make GRASS and SAGA tools capable to use in QGIS?

As my title, I installed Qgis, GRASS and GDAL by osGeo4w package, and as I finish the installation, I want to use GRASS tool, I face this problem: But I already installed GRASS and SAGA, how to make ...