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

Calculate raster mode with r.mode - problem with decimals

I am working with a raster file that represents the percentage of vinyards by commune (e.g., municipality) in a region in France. The statistics were calculated for each commune based on surveys from ...
0
votes
0answers
14 views

Calculate r.mode and r.univar with active MASK

This may be a very stupid question, but I am new in GRASS. I am calculating summary statistics with r.univar and the mode with r.mode. I have an active mask which differentiates agricultural from non ...
1
vote
1answer
68 views

Use r.mapcalculator in Python console

I'm trying to use the r.mapcalculator algorithim in a python script, but I'm having problems in using the r.mapcalculator to tranform a raster layer with float values into integers. Using the ...
1
vote
0answers
83 views

How to extract percentage of land cover from a raster according to multiple shapefiles?

I have a raster map that represents land cover of a region, and different shapefiles (total 120) in the same region. I want to know the percentage of every land cover for each shapefile. For example, ...
3
votes
0answers
22 views

execute binary from grass shell?

I am new to grass and could really use some help with my problem. I am using hydrologic modeling software, and it include a grass program that I need to run from the grass shell. My question is, how ...
2
votes
2answers
106 views

GRASS tutorials, spec r.walk, r.cost

Recently got enamored with the idea of doing a time-based and an energy-based least cost path analysis. After doing some research, I see that GRASS is the best for executing time-based given the ...
1
vote
1answer
39 views

How to fix this “Sorry <1> is not a valid option” in GRASS-Ubuntu using r.water.outlet?

I am working with this .sh code (a while loop, extracted from: http://www.surfaces.co.il/) to create watersheds from drainage raster and outlet point of every watershed, but I obtain this error: ...
1
vote
1answer
18 views

adding new sensor

i want to add new sensor in grass. i followed the link http://trac.osgeo.org/grass/browser/grass/trunk/imagery/i.atcorr/README and created the .csv for our sensor.but where should i incorporate this ...
2
votes
1answer
247 views

What am I doing wrong with QGIS v.clean?

I thought I understood how the GRASS v.clean tool worked in QGIS (in 2.6.1 Brighton) but I keep getting unexpected results and errors with a polygon ShapeFile. I've run the QGIS TopologyChecker with ...
1
vote
0answers
129 views

Assessing Flood Hazard Risk Zones using DEM

My Question: What is the best effective way to quickly estimate flood hazard risk areas using DEM data? Ideally I am looking for guidance to move forward and perform this process over large areas ...
1
vote
1answer
147 views

How to create a mosaic in QGIS with cutline and feathering for Landsat-8 imagery

1 - I have two scenes Landsat-8 RGB 6/5/4 and I need to mosaic them: 2- This is my cutline in polygon format that will smooth the overlapping area: 3 - So, I need to create a mosaic with ...
1
vote
1answer
83 views

Which DOS method use to convert at-sensor radiance to at-surface values in GRASS (landsat data, i.landsat.toar modul)?

I am trying to calculate surface reflectance values from raw Landsat DN data downloaded from GLOVIS. I have imported Landsat data in GRASS 6 with header by i.landsat.import and reprojected the scene ...
2
votes
0answers
42 views

GRASS 6.4.4 vector command in crashes QGIS 2.4 (g.gisenv.exe has stopped working)

I am running Windows 8.1 64 bit, and have QGIS 2.4 and 2.6 installed. When I try to use a GRASS 6.4.4 vector command (specifically v.clean), I receive an error message in an endless loop, and the only ...
2
votes
1answer
43 views

Appending map to another map using GRASS?

I'm trying to simply append a map to other map, without any sort of geometric operations as merge or intersects, just the original geometries with theirs attributes. This is what I already tried: # ...
1
vote
0answers
24 views

Distance between each feature from and every feature to in GRASS

In GRASS, v.distance calculate the minimum distance from each point feature in the 'from'-layer to the nearest feature in the 'to'-layer. I should instead calculate the minimum distance from each ...
0
votes
0answers
24 views

GRASS: How to remove several categories from a geometry?

I am totally new to GRASS (and have found it difficult to get into that way of thinking and its terminology). I use grass70 under Ubuntu 14.04. I have the following problem which I have tried to ...
0
votes
1answer
56 views

Grass GIS “v.in.ogr”: How to prevent crossing lines from beeing split where they don't share a common node?

I want to import a road network into grass gis to run network analyses. I use "v.in.ogr" to import my road shapefile. The problem is that Grass GIS seems to split every crossing line no matter if they ...
0
votes
0answers
11 views

How do we overcome the GRASS problem? [duplicate]

It appears that whichever version of QGIS I download when I open the program the same GRASS plugin window tells me "QGIS couldn't find your GRASS installation. Would you like to specify path (GISBASE) ...
1
vote
1answer
68 views

Adding items to DEM in QGIS

Working with QGIS and Grass I would like to produce a ZTV. I have the bare land DEM happily ready to go but would like to add buildings and woodland to the calculation. Can anyone please point me in ...
0
votes
0answers
46 views

Trouble installing v.class.mlpy add-on extension in Grass GIS

Background: I am trying to do OBIA analysis using the windows based Grass GUI. Not familiar with python coding process, environment. Problem: I've been trying to run the add-on extension but failed ...
1
vote
1answer
46 views

Intermittent multi-threading in Grass 7?

I have a script with runs GRASS 7 r.li.* commands through R with spgrass6 on Ubuntu 14.04/64 bits. I ran the script and was amazed at the speed at which it was running. So, I looked at the system ...
0
votes
1answer
56 views

Problem installing r.hydrodem with g.extension in GRASS 7.0.0svn (r61585M) on mac OSX 10.10.1

I'm very interested in using the function r.hydrodem in GRASS, unfortunately, I'm running into some problems when trying to install this add-on in GRASS 7. I've tried installing some other add-ons ...
1
vote
1answer
46 views

Compute nearest points to other points using GRASS

I have a layer of address points and a layer of polling stations. My task is to determine the three closest polling stations to each address on the street network. I think that the answer is in ...
1
vote
1answer
53 views

Only run r.neighbors if cell meets criteria

This is my first time using GRASS to work with Rasters, so please excuse my lack of knowledge on the subject. I want to run the GRASS r.neighbors function on cells that meet a specific criteria, ...
5
votes
1answer
159 views

Cell declustering using open-source software

I want to perform cell declustering in a small point data set. I have 9 observation points and I want to find the size of the region of influence for an observation, and afterwards use that as ...
2
votes
2answers
119 views

Looking for guidance to create a hydrological map with QGIS and/or GRASS

I have QGIS and GRASS installed . Basically i need this program for making maps something like this: https://www.youtube.com/watch?v=5HuPX7JS7ZA I downloaded DEM from ...
1
vote
1answer
30 views

How to add grass64 to PATH variable

I recently installed GRASS 6.4 in a Unix environment. The application opens fine, but I would like to also be able to run the GUI from the command line. The tutorials says that the grass64 command ...
3
votes
1answer
65 views

To make a map of sinkholes on grass gis

I would like to make a map of sinkholes. I have a DTM ARC/INFO ASCII GRID of Asiago Plateau and and I'm using grass gis. Does anyone know what is the correct form in grass gis?
1
vote
0answers
48 views

GRASS GIS G_malloc error

I am new to GIS. I downloaded GRASS and the sample data sets and am attempting to use the tutorial at: http://grasswiki.osgeo.org/wiki/Quick_wxGUI_tutorial. During the step, "Create a random ...
0
votes
2answers
29 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 ...
2
votes
1answer
126 views

Fuzzy maps with QGIS/GRASSGIS

How to do fuzzy maps (FUZZY module in IDRISI) with QGIS/GRASSGIS?
1
vote
0answers
37 views

GRASS GIS 7, Windows 8.1, Graphical Modeler, Export to Python

I need help. I´m trying to export my model made in Graphical Modeler in Grass GIS 7.0.0 beta3 to Python Script. The exported file contains only header.
3
votes
1answer
137 views

How to reproduce Smoothing from Generalizer Plugin in v.generalizer in Processing Toolbar using QGIS?

I´d like to reproduce the smoothing operations done with the Generalizer Plugin inside the v.generalizer Toolbox so I can use them on a polygon layer instead of only on a line layer. I tried ...
1
vote
1answer
173 views

How to eliminate polygon boundaries

I'm working in both ArcMap and Grass I have a problem with the boundaries or the edges of my vectors. The vectors are a result of object segmentation (called classification) in Grass Gis. In Grass, ...
2
votes
3answers
93 views

Find coordinates of given raster value

I would like to get the coordinates of a raster cell with a given value. I suppose many cells can take the same value, in which case several coordinates should be returned. In my first problem I'm ...
0
votes
0answers
29 views

6s parameters used in grass gis

I am working on grass gis 6.4.4 , i.atcorr module. There is no clear document for the parameters used for the calculation of 6s output parameters. I want to know about the parameters such as ti.sast, ...
1
vote
1answer
84 views

GRASS scripting for producing multi-band raster

I am trying to loop the r.sun function within a Python script. Anyway, I seem not to understand how I can stack the raster maps each loop would produce into a single multi-band raster (preferably in ...
4
votes
1answer
152 views

Convert downloaded LiDAR info to DEM in GRASS

I have downloaded LiDAR information as a .asc file and a .tif file, and even though I have tried multiple methods to convert them to a dem I am having no luck. Grass GIS says there is an invalid ...
1
vote
1answer
68 views

grass gis i.atcorr input should be reflectance or radiance

My question is what should be the input image in i.atcorr for grass 6.4.4 version? I tried giving both reflectance (DN) and radiance as input but values are coming properly. I read some where, it ...
1
vote
1answer
115 views

Running GRASS functions in QGIS 2.4 from python console

I am using qgis 2.4 and i am looking for the "easiest" way to execute e.g. the r.in.gdal function from the python console in qgis. Specifically for r.in.gdal, I could not found this function in ...
0
votes
0answers
34 views

computing the volume of a cave

I did a cave survey and now I have a dxf file 3d. It's composed by 8 layers: polygonal points width contour width height contour height stations depth I would like to make a volume and change its ...
3
votes
2answers
136 views

QGIS GRASS shell commands not working in Yosemite

First time asking a question here. Running GRASS 6.4.3 within QGIS 2.4.0 on Mac OS 10.10 Yosemite. I'm trying to run v.net.iso within the GRASS shell, but the following error is returned every time: ...
0
votes
1answer
73 views

GRASS failed to import ESRI ASCII grid

I'm a new user of GRASS 6.4.3 and I wanted to import ESRI ASCII grid. Raster file was unzipped, and in r.in.arc window I specified name for output, storage type etc. After it has run, raster didn't ...
2
votes
1answer
41 views

Meaning of r.viewshed output numbers in QGIS?

I have completed a r.viewshed analysis of a point in GRASS7. I have imported the arising Geotiff into QGIS and when viewing the layer in the layer window (after expanding the +) I am presented with a ...
0
votes
0answers
15 views

bug in i.rgb.his

I found that the implementation of i.rgb.ihs in porcessing toolbox needs to be corrected. It is necessary to have admin permissions to correct the file i.rgb.his.txt locate in ...
2
votes
1answer
109 views

Manual (or examples) of r.ros, r.spreadpath and r.spread in GRASS

you can report me references or applications for use of the following modules (GRASS): - r.ros, - r.spreadpath, - r.spread. Thanks so much.
2
votes
2answers
76 views

convert DTM txt file in geoTiff file

I have a DTM file, txt format, I would like to convert it into GeoTIFF, how can I do with the software grass? thanks ncols 1329 nrows 1152 xllcorner 1693884 yllcorner 5080341 ...
4
votes
0answers
49 views

What Does the Cell Value in a Composite Raster Mean?

When I make a composite raster in QGIS using the GRASS r.composite tool and then click on a certain cell I get these values in the blue/green/red/composite rasters: blue = 124 green = 124 red = 172 ...
0
votes
0answers
22 views

how to compile i.atcorr separately without compiling whole grass

i am working on grass. i need only i.atcorr module. should i compile whole grass 6.4.3 or any option is there for separate module compilation. I tried to compile entire gras6.4.3 on windows system but ...
1
vote
2answers
75 views

Interpolate dxf polyline vertex elevation from DTM?

I am working on several autocad polylines (with several vertices...) that have the exact N,E coords but now I would like to add the elevation data for every polyline's vertices from a dtm. I thought ...