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
1answer
14 views

GRASS parser() error

I'm trying to use GRASS on python 2.7, but I'm having some problems at setting my script on IDLE, then I'm getting an error at parser() function: Here is my script: import os import sys gisbase = ...
0
votes
2answers
18 views

Grass 6.4.3 v.rast.stats: Calculate only one value

I am using the grass (6.4.3!) function v.rast.stats to calculate the mean value of rast values over polygons. The tool is somewhat slow and I actually only need the mean value. Is there any ...
0
votes
1answer
57 views

Determination of Soil Moisture for a Region Using open Source Data

I want to derive soil Moisture for a region using Landsat and Microwave data could you please help me with the procedure.
0
votes
1answer
51 views

r.report giving only per-class cell count

I'm trying to extract the count of each pixel value in a raster, like in this question: How to extract pixel value counts from a raster in QGIS? However, when I run r.report (from QGis (2.10) ...
0
votes
1answer
85 views

How can i import raster image to GRASS GIS without losing RGB Values?

I am using GrassGIS 6.4.2, How can I import raster data to GrassGIS without losing RGB Values? The raster image format is TIFF, the below commmand is using to import raster image: r.in.gdal ...
0
votes
2answers
37 views

What logical function should i use to do a union of two raster files in GRASS?

The files are : DEM and roads. For the following i did euclid distance and then reclass. Now i need to know with what logical function to combine them elevation rank ...
0
votes
3answers
75 views

GRASS convert raster to points

I have tried to convert a raster to points using this syntax: r.to.vect input=g_kelowna_merged@kelowna_mapset output=g_kelowna_points feature=point I have tried using the GRASS interface in QGIS and ...
0
votes
1answer
66 views

How to find the path after “cannot find module” message when I try to use grass tools in qgis [closed]

I use mac and when I try to use grass modules in qgis (brighton) I get a "cannot find module" message.
0
votes
1answer
63 views

GRASS make local relief error

While using/trying to make a local relief in GRASS with the plugin r.local.relief i stumble across a error. ERROR: G_realloc: unable to allocate 15000000 bytes of memory at ...
0
votes
2answers
120 views

DEM with bathymetric contour lines in GRASS

I am trying to create a DEM from a bathymetric contour lines. Contours are in vector format and the elevation value is negative. To create the surface I have converted the contours in raster (v.to ...
0
votes
1answer
41 views

What causes v.net connect “Failed to find intersection segment” and how to fix it?

In GRASS 7, when running v.net connect, I get the ERROR: Failed to find intersection segment and no output is generated. The only mention of this error Google found is in the source of connect.c What ...
0
votes
1answer
186 views

Conditional calculation - QGIS Raster Calculator or GRASS r.mapcalculator

Is it possible in QGIS either directly or via plugins to do a raster calculation including an if statement? e.g., if raster1 > 0.3, then raster 1 * raster 2, else raster1 x raster3...something like ...
0
votes
1answer
201 views

Running Grass7 in conda environment?

I have Anaconda Python Distribution (Python 3.4.3 :: Anaconda 2.1.0 (64-bit)) installed on Ubuntu 14.04. I would like to create a conda environment for running Grass 7. To do that I used: conda ...
0
votes
1answer
65 views

GRASS Gis v 6.4.4. KeyError: 'version' when start

When I try to start the GRASS it gives me the following error GRASS 6.4.4 (Hellas):~ > ERROR: MAPSET Hellas - permission denied Traceback (most recent call last): File ...
0
votes
1answer
45 views

How can I fill the category field in a raster using GRASS

I have a tiff file with land use data. The land use class in in the value field, but the label field is empty. Now I want to find out which is the area covered by each land use class, but GRASS does ...
0
votes
1answer
83 views

to remove location of grass

i wan to delete the Location of a data set in grass gis 6.4.4 using grass command. For customizing grass for our data set, i need to load different location and mapsets of different regions of ...
0
votes
2answers
59 views

changing mapset in cmd

can anyone suggest me for changing mapset from current location using command prompt.I have compiled the grass gis 6.4.4 and when ever i want to use the commands every time i am opening gui and ...
0
votes
1answer
51 views

r.univar - which format for working in GRASS GIS?

As part of a cut and fill-procedure,I want to run the command r.univar, but it returns with no output. I´ve been comparing the properties in the rasterlayer (rasterized vector-layer) with another well ...
0
votes
1answer
106 views

How can I load JSON into GRASS?

I have received rainfall data in JSON format. I want to load the data into GRASS. Sample JSON output: ...
0
votes
2answers
136 views

v.generalize on massive vector data

I have a contour line file that covers the most part of north italy (shape is 0,6 gb) and I want to use v.generalize (snakes algorithm) on it. Because of the large file size, if I use Grass 6.4.3 I ...
0
votes
1answer
110 views

removing spurious lines in raster before or after vector conversion?

I'm looking for a feature/function in either python opencv/ndimage/gdal/etc. or qgis/saga/grass that will help clean up a skeletonized image that I'd like to vectorize into a shapefile of ...
0
votes
1answer
87 views

Trouble with r.out.gdal in GRASS GIS

I'm processing some landsat 8 files. I'm using this scene LC82260982013325LGN00 and I have to apply i.landsat.toar and export the result as a GTiff. However when I use r.out.gdal it takes a very long ...
0
votes
2answers
50 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
279 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
121 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
635 views

Is it possible to use polygons to create heatmaps?

I hope I can explain my question clearly, so here it goes: I've been fiddling around with heatmaps on QGIS for a few days, but came across a small obstacle on my way. I have a dataset comprised of ...
0
votes
1answer
281 views

import parameters for r.watershed - (watershed basin analysis program) tool from grass using Qgis 2.2

I want to run this tool from Qgis 2.2 but i don't know how to use the PARAMETERS to run this tool. The red frame are the PARAMETERS I don't know. Can someone to tell me what those PARAMETERS are ...
0
votes
1answer
27 views

GRASS module r.fitpoly

I need to calculate the average daily temperature for each month. As an input I have 5 .asc grids for 6, 9, 12, 15, and 18 GMT for each month of the year. I was wondering if there is a predefined ...
0
votes
1answer
174 views

Better ways to check if GRASS r.water.outlet works out fine output

I use my python script to call GRASS module r.water.outlet from outside, and here's my script(I perform this script in pyscripter): import os import sys #set up GRASS environment variables ...
0
votes
1answer
102 views

Difference between python IDLE and eclipse on accessing GRASS

I have seen these posts:GRASS and Python, Using Eclipse to develop GRASS Python programs. I used to use python IDLE to control GRASS, but I can't make python and GRASS connected, as I described in ...
0
votes
2answers
233 views

Interpolation using GRASS plugin in QGIS

I have been using the IDW interpolation tool through GRASS plugin in QGIS and the interpolation output I am getting is for the entire mapset region. My question is: Is there a possibiltity that we ...
0
votes
1answer
177 views

v.edit break: how to loop through XY coordinates on using GRASS on Windows 7

Trying to follow the suggestions on this thread: splitting a lines layer using points However, how to do so in a windows environment using the GRASS command console is beyond me, so I'm attempting ...
0
votes
1answer
547 views

d.rast problem in GRASS command line

Update#1: @gene, thank you for your reply and I type d.mon in command line, getting a popout GUI look like this: I choose the top three flags(-l, -L, -p), and I got this: And I don't know what to ...
0
votes
1answer
235 views

Error using “r.los” in QGIS

I am not a "computer person". So -- I don't know what this error message means. I found this question and answer for this same problem, but the solution did not work for me, dammit. GRASS algorithm ...
0
votes
1answer
18 views

GRASS Add Vector Point

I need to do a viewshed analysis using GRASS. I've got the DEMs loaded; and I simply want to input several (2-4) points (like 41.12345N, 122.34567W from GPS). What is the simplest, most ...
0
votes
1answer
45 views

Debug/Improve Performance of GRASS v.in.ogr

I'm trying to import shapefiles (in this case, OpenStreetMap data) into GRASS (grass70-svn) using v.in.ogr; and it is painfully, brutally slow. At first I thought this was because I was using the ...
0
votes
2answers
506 views

GRASS algorithm r.los does not produce raster

After running the r.los algorithm through QGIS 2.0, I'm getting a 'Problem loading output layers' box which gives the following message: Oooops! The following output layers could not be open Output ...
0
votes
1answer
99 views

Which Landsat version is appropriate to imply a supervised classification with GRASS GIS?

I need to imply a supervised classification with GRASS GIS to find build-up areas. I want to avoid Landsat 7 images due to SLC problem. Can I use images of Landsat 8 or it's better to use images ...
0
votes
1answer
198 views

Empty raster returned after GRASS i.atcorr with Landsat8 data

I've searched at length on previous forums but no solution seems to work for me. I'm trying to run the i.atcorr module on GRASS (version 6.4.3 on a Macbook Pro, Mavericks OSX) with Landsat8 imagery. ...
0
votes
1answer
399 views

How to perform GRASS v.rast.stats via QGIS

I have been using qgis for the last few months. I got interested in using GRASS tools through QGIS. I wanted to compute zonal statistics for a raster surface for a given polygon layer. I loaded the ...
0
votes
1answer
244 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
2answers
100 views

v.what.rast trouble in GRASS GIS 6.4.2

I'm facing a problem using the v.what.rast comand. I'm trying to update the vector "canali" which represents some streams, with the slope value for every single point of the lines. The slope values ...
0
votes
1answer
600 views

Basic raster map questions

My bigger problem is to convert a raster map to polygons. I've found some questions that give info and I'm trying to use GRASS GIS as part of that. However, I'm having some basic problems and I can't ...
0
votes
1answer
184 views

Does r.in.gdal -o reproject the imported raster data to the location projection?

Does r.in.gdal -o actually reproject the imported raster data to the location projection, or do I need to call gdalwarp to reproject prior to importing?
0
votes
2answers
952 views

Why is this SRTM TIFF not visible in GRASS GIS 6.4.3?

I want to use interpolated SRTM data for Germany to generate an STL terrain map for use in a CFD application. My SRTM data comes from the OpenDEM project. SRTM data normally has voids, but this data ...
0
votes
1answer
117 views

How to edit a table in GRASS?

How do I edit a table in GRASS? When importing a vector into GRASS from QGIS, all the attributes are lost and I need these to continue with my analysis.
0
votes
1answer
109 views

GRASS has broken my terminal

I'm using GRASS on OS X. After installing GRASS I can no longer open my terminal to a prompt. On opening the terminal, the following line runs by itselt ...
0
votes
1answer
156 views

Cannot import Grass in Console of Qgis (1.9.0 Master)

I can't import Grass in Console of Qgis (1.9.0 Master). I am guessing it is because of some Grass environment variables which are not set up correctly. However I don't understand why it is working ...
0
votes
1answer
416 views

r.basin.py GRASS addon

I have added this add on with g.extension on my grass 6.4.3RC3. But it doesnt work... this is the error I can see: Traceback (most recent call last): File "C:\Program Files (x86)\GRASS GIS ...
0
votes
1answer
465 views

How to estimate distance from points to line feature with v.distance?

I'm trying to use the v.distance module in GRASS 6.4.3 to estimate the distance from a series of point features (animal tracking locations) to the nearest point along a line feature (a coastline). I ...