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

3
votes
1answer
105 views

GRASS r.grow doesn't seem to change raster values at all

I have a raster map in GRASS that looks like this: The red cells have a value of 1, the yellow cells have a value of 0. I am trying to use the r.grow command to 'fill in' the gaps in the red ...
3
votes
1answer
93 views

V.kernel not working correctly in grass-6.4.2

I am using grass-6.4.2 for generation of heat maps of crime data. For testing purpose, I created a vector layer from my places shapefile which is a point data.The places shapefile contains more than ...
3
votes
1answer
635 views

r.watershed analysis error from raster map being in different zone and unable to be opened

I tried running my DEM (geotiff) file through the r.watershed program by the GRASS GIS plugin of QGIS. I believe the error message results from a raster map in the different zone than the current ...
3
votes
2answers
2k views

How to perform volume calculation in QGIS

EDIT 07/12/12 Ok, meanwhile I came to another problem I want to discuss. I just tried around with the volume calculation with some layers and came to a point where I receive the following error. ...
3
votes
2answers
363 views

run r.stats as a quiet module in GRASS-Python script

Has anyone else used r.stats as a quiet module in a GRASS-python script? As part of my program I'm using: grass.run_command("r.stats", flags='l', input=<file>, output=<*.csv file>, ...
3
votes
1answer
476 views

How to make a transparent background image using r.out.png?

Can the white background of the r.out.png of GRASS be changed to transparent?
3
votes
1answer
397 views

Standard Colors for Landcover Maps

I have classified Landsat images into five classes - A variety of Palm, Water bodies, built-up/open area, other vegetation and miscellaneous. I used GRASS GIS for the process and the final classified ...
3
votes
1answer
291 views

Problem in r.resample

When I run r.resample to crop a map by using a vector and a mask, the resulting map has the same shape as the vector that I used but does not replicate (exactly) the portion of the raster map that I ...
3
votes
1answer
108 views

ArcGIS Desktop equivalent to GRASS r.geomorphon algorithm?

I would like to know if in ArcGIS Desktop 10 there is some tool/algorithm which can be used to perform the same analysis that r.geomorphon does in GRASS 7.
3
votes
1answer
82 views

Merge different Landsat scenes in Grass GIS

I am new to Grass GIS, and I really need some help in solving this issue. I have 17 scenes from Landsat8 covering an area. I have created color infrared images of bands 5,4,3 and now I want to merge ...
3
votes
1answer
80 views

Underwater terrain modeling

My task is to model the surface of a lake bed, calculate volume of it and visualize it as 3D a surface. I have acquired depth measurements in a small lake using echosounder. The precision should be ...
3
votes
1answer
170 views

Pan sharpen Landsat 8 using Grass 7

I have followed this great tutorial on pan sharpening using Grass GIS 7 (I'm using beta 3). Everything in the tutorial seemed to have worked, but my final output is not as expected (pictured below). ...
3
votes
1answer
324 views

how can i correct atmospherically landsat 8 images?

I am trying to correct atmospherically an image from Landsat 8 with 6s model from grass 7 and 6.4. Because there are no parameters for Landsat 8 yet, I am trying to give parameters from Landsat 7 ...
3
votes
1answer
737 views

How do I use the GRASS command line tools within QGIS?

How do I use the GRASS command line tools within QGIS? I use the QRASS plugin to open the mapset, and then I open the GRASS tools window. I click on 'GRASS shell' under modules and it brings up a ...
3
votes
1answer
78 views

What defines a Class in the Heat map plugin?

What defines a Class in the Heat map plugin? As in: "Black holes like that are usually caused by raster values exceeding the range of the color ramp. Try adding another class with a higher associated ...
3
votes
1answer
266 views

How to prepare road network for routing in QGIS or GRASS

I have been working on a road network and I want to run shortest path algorithms on it. One problem is that some lines come very close to each other, but are not connected. Is there a way to connect ...
3
votes
2answers
171 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 ...
3
votes
1answer
145 views

Issue with Sextante r.map calculator and modeler

I am trying to build a model with Sextante modeler and the r.mapcalculator algorithm but when I run the model I get the error message: ‘Could not load layer: ‘….’Check sextant log to look for errors ...
3
votes
1answer
142 views

Showing map in Grass Layer Manager/Map Display via Python

I've created some raster(tif) maps using Grass libraries in Python. I want to opem them automatically in Grass GIS Map Display or Layer Manager after creation. I don't want to use GUI for this. What ...
3
votes
1answer
116 views

How to recategorize features in GRASS by geometry, like the ArcGIS Sort tool?

The ArcGIS Sort tool creates a new feature class with features sorted by geometry. For example, it can number features IDs from north to south, etc. Is there a way to renumber the cat field in a GRASS ...
3
votes
1answer
134 views

Creating rasters?

I am doing my masters in archaeology, but have used GIS for some time now, however this is my first attempt at generating and using rasters. I appear to have been successful for some, but not so well ...
3
votes
2answers
1k views

How to vectorize a Raster-Classification? (qgis, grass)

I classified my raster-DHM into elevation levels using colormap. Its not a "real" classification, just a colormap. So I cant vectorize the classes to get polygones for every class. Whats the best ...
3
votes
2answers
194 views

How to make the layer 2 use the same vector categories from layer 1?

I'm having some doubts concerning the layer mechanism. Creating a new layer (ie a new connection between a vector and a DB table), I've imported a vector (rivers) through v.in.ogr, then I've cloned ...
3
votes
2answers
824 views

How to combine polygons in a vector with GRASS?

I need to combine polygons of similar geological classes which are stored in a vector file called geology. I was looking for somethiing like "union selected features" or similar. In the GRASS Book ...
3
votes
0answers
64 views

Extract representative slope profiles from hillslope polygons

With the help of the Whitebox Geospatial Analysis Tools I was able to easily extract hillslopes from a river network in combination with a flow direction map. Now I would like to extract ...
3
votes
0answers
21 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 ...
3
votes
0answers
25 views

Error message retrieval in grass.read_command

I am writing a script in python and would like to get the error messages of the function grass.read_command for seeing why it is not working. I found a webpage ...
3
votes
0answers
46 views

Option for 360 degree movie embedded in Open Source GIS software?

Is there any Open Source GIS software available to embed 360 degree movies with the map? For a COTS example, there is the Active Link Vision (ALV) extension for ArcGIS from IWANE.
3
votes
1answer
50 views

Why GRASS 7.0.0 can't create a table while importing shapefiles from QGIS?

I use GRASS7.0.0Beta1 and QGIS 2.4.0 on Windows8. With v.in.ogr, when I import a shapefile, I get the error message "Unable to create table". When I put the option of not importing the table, the ...
3
votes
0answers
84 views

IS it possible to run GRASS commands in the QGIS graphical modeler?

I have a geoalgorithm set up in the graphical modeler and everything runs except for the GRASS commands. It is really frustrating because when I execute these commands on their own they work just fine ...
3
votes
1answer
379 views

Solar irradiation calculation using r.sun

I am trying to compute the global solar irradiation for a region and the run times seem to be a bit too high. I have as inputs a Digital Surface Model with the buildings and a Digital Terrain Model ...
3
votes
2answers
155 views

GRASS v.rast.stats missing in sextante toolbox

I am new in the QGIS world and also with GRASS. I am really interested in using v.rast.stats as is doing exactly what I need. My problem is that I am not able to find it inside sextante in QGIS and I ...
3
votes
1answer
120 views

Wrong direction in r.watershed slope length calculation?

Or have I completely misunderstood something now? As a programmer I took it for granted that the row number would change if I traversed the map up and down in the program along the North-South axis ...
3
votes
2answers
262 views

Hand fit curve and then apply to time series of rasters, make a map. How?

Maybe a data management problem, not too sure, but likely a challenge which someone has dealt with before. I have a time series of rasters. I can summarise the information by taking averages of each ...
2
votes
3answers
523 views

Problem with v.in.ogr.qgis in QGIS

I received a shapefile containing data from a topographic survey of a farm. The file has a lot of lines containing elevation data. The person who made the survey did it with a GPS set up on a ATV. ...
2
votes
2answers
489 views

How to single out country data from a world data map?

Say that i have two "data sources"; A global map of average wind speeds, A shape file (or similar information) of all country borders in the world. How do i combine these two sources and extract ...
2
votes
1answer
972 views

How to identify line intersection in QGIS when I have more than 2 lines?

I am trying to identify where overlaps exist between multiple shapefiles. I would use the intersect tool, but it only allows me to intersect two layers. I have over one hundred individual line ...
2
votes
1answer
191 views

Combining Geological Grids and extruding between them?

I have a situation where I have 3 Geological grids, each showing a different horizon + the Seabed Grid. I need to extrude between these grids in order to make the 3D polygon for the geological ...
2
votes
3answers
2k views

Viewshed / Line of Sight analysis- as a batch process?

I wish to carry out a line of site analysis similar to the subject in here (preferably within QGIS): Visual Impact Assessment in QGIS or GRASS Scenario: I have two points, A and B. Point A is a ...
2
votes
2answers
1k views

saga & grass configuration in sextante (ubuntu)

I have some trouble in running saga and grass algorithms in sextante. When I double click it appears a pop-up saying: Missing dependency.This algorithm cannot be run :-( This algorithm requires SAGA ...
2
votes
1answer
1k views

GRASS Geoprocessing in Python Script

I´m trying to get some GRASS geoprocessig tools running in a python script outside GRASS. I´m able to import grass.script, but I´m not able to get the tools running yet. Does anybody know what I´m ...
2
votes
2answers
122 views

GRASS 6.4.0 and GRASS 6.4.SVN

What is the difference between GRASS 6.4.0 and GRASS 6.4.SVN? Thanks
2
votes
1answer
107 views

Fuzzy maps with QGIS/GRASSGIS

How to do fuzzy maps (FUZZY module in IDRISI) with QGIS/GRASSGIS?
2
votes
1answer
52 views

repeating steps in GRASS r.mapcalc

I simply cannot find out the following: I want to repeat a calculation in GRASS GIS several times. Is there a command for r.mapcalc to repeat a calculation x times (similar to this possibility in ...
2
votes
1answer
47 views

can grass modules work separately

Grass is very useful tool for pre processing of imagery. I want to use the i.atcorr module separately. Will it be possible? I have compiled using .cpp files (AerosolConcentration.cpp, ...
2
votes
1answer
240 views

How to begin with tool development for GRASS gis or QGIS GRASS

I wanted to begin with customized tool development in Grass GIS or QGIS grass. How should i begin in to develop the tool. I search a lot in google search engine for begin with tool development in ...
2
votes
2answers
710 views

r.mapcalculator and python again

I've been trying to write a script creating binary maps: a=raw_input ("enter a threshold") b=float(a) grass.run_command('r.mapcalculator', formula="**'base_map'>=b**", outfile='map'+str(a), ...
2
votes
2answers
408 views

count features in polygon shapefile A that fall within each feature of polygon shapefile B

I have two polygon shapefiles, each of which contain multiple (possibly overlapping) polygons. Is there some way, using GRASS, to calculate the number of polygons belonging to shapefile A that fall ...
2
votes
1answer
751 views

How to handle multiple layers when importing a polygon shapefile into GRASS?

When I import a shapefile into GRASS, it seems to arrive as 3 layers. I.e. they appear in the qGIS toolbox browser as: myMap 0_polygon, myMap 1_polygon, myMap 2_polygon Is there a way to merge ...
2
votes
2answers
503 views

Layer Stacking in GRASS

Similar to layer stack feature in ERDAS what functionality is available in GRASS. I am aware of r.composite, but it can accept only 3 layers. To obtain a stack of more than 3 layers what can be done?