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
946 views

How to get custom colormap onto 3D NVIZ in QGIS GRASS

I am trying to create a 3D version of my 2D raster using QGIS GRASS NVIZ. I have been following these steps: ...
3
votes
2answers
1k views

How to set output resolution for gdalwarp to that of source file?

I have a large raster, which I want to re-project and crop for a new location that I'm creating in GRASS. I seem to have gotten the re-projection and cropping right with this call to gdalwarp: ...
3
votes
1answer
149 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
512 views

How to reproject a raster to Winkel Tripel projection?

I'm trying to project a raster map (in ASCII grid format) from longlat to the Winkel Tripel projection. But I'm running into errors, for instance gdalwarp won't accept the proj-string. $ gdalwarp ...
3
votes
1answer
2k views

GRASS GIS: How do I run a batch (bash?) script?

I am in a GRASS database (in command shell), where I want to run a loop function. For example, I want to do an operation on many raster files that are in the database. I know this must be done through ...
3
votes
1answer
587 views

Where to change GRASS GIS wxGUI language?

I use GRASS 6.4.2 on Russian version of Windows 7 x64. As I start wxGUI it is shown in Russian. But I don't like its translation and want to work with English interface. I have no clues how to solve ...
3
votes
1answer
534 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
557 views

spgrass6 and GIS_LOCK

I would like to thank's everyone first, i learn a lot here (gis.stackexchange) about GIS. I have one question about the use of GRASS within R session, i'm able to do some basic task, but i have one ...
2
votes
1answer
604 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 ...
2
votes
1answer
43 views

How to define measurement units in grass

I need to get the length and area of some landscape features in the US. My data was in lat and long degrees. I created a new location with an UTM projection and read the data into grass. Now if I ...
2
votes
1answer
117 views

How to use grass.script in MacOS

I have installed Python and Grass6.4 using Macports. When I tried to use "import grass.script" in python environment, it gives "no module found" error. I'd spend much time to fixed it but could not ...
2
votes
0answers
61 views

R.Neighbors with large neighborhoods?

I'm running into problems running the r.neighbors GRASS command in QGIS. Although it will run for small neighborhoods as soon as I increase my neighborhood above a certain number it becomes unbearably ...
2
votes
2answers
279 views

How to do the loop when using GRASS module r.water.outlet?

I have seen this post:Watershed Analysis with GRASS, and I have a .txt file which contains coordinates of many points, and I want to use r.water.outlet to get basin area of each point. I type the ...
2
votes
1answer
148 views

How to change the raster color range in GRASS NVIZ?

I'm trying to create a 3d map in GRASS NVIZ from a GDEM (raster) and the range of colors that show the height of the terrain are very ugly, how I can change them? For example, I would like the low ...
2
votes
1answer
648 views

Integrated viewshed analysis

I need to do integrated viewshed analysis of a target with several observer locations. I am going to use r.viewshed analysis function in GRASS. With this function, it is possible to perform analysis ...
2
votes
1answer
367 views

OGR Python bindings

When I try to access one of the GRASS vector files through Python OGR bindings, it gives error: Here is the script code in Python 2.7.3 IDLE (GUI) in Windows 7. from osgeo import ogr ds = ...
2
votes
3answers
1k views

How to delete rings automatically using QGIS/Grass

I'm cleaning up a (very) messy shapefile in QGIS/Grass. I now have several large polygons with numerous (100s) of small rings. Is there a quick and easy way to remove/ fill all these small rings. ...
2
votes
3answers
1k views

How to access vector coordinates in GRASS GIS from python?

Is there a way to iterate over lines and their vertices using python? I'm new to GRASS GIS, and it looks like there are ways to read raster (for numpy), but I don't see a direct way to access ...
2
votes
2answers
2k views

QGIS is not able to find GRASS. Choose the path of installation folder of GRASS

I've downloaded and then correctly installed QGIS 1.7.4 for windows (Win 7 64bit is my version) in C:\Programs\Quantum GIS. But everytime I start QGIS this popup appear: "QGIS is not able to find the ...
2
votes
2answers
822 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
2k views

How to set cell size for vector to raster conversion in QGIS GRASS plugin?

I'm converting a vector (loaded in GRASS plugin in QGIS (1.7.0.-wroclaw) and would like to convert this to a raster with a defined cell size. At the same time I need a value from the attribute tabel ...
2
votes
1answer
571 views

How to import SpatiaLite data into GRASS?

How can I import SpatiaLite tables into GRASS? Are there any restrictions I should be aware of? How does GRASS cope with columns that don't have a specific type (Sqlite tends to create such columns ...
1
vote
0answers
35 views

Linearising aspect in GRASS GIS

After having produced aspect of surface in GRASS GIS and being aware that GRASS GIS calculates aspect counterclockwise from east, how could we transform aspect from being a circular variable (0-360 ...
1
vote
0answers
77 views

Preprocessing GeoEye-1 in GRASS iatcorr

I am trying to do a study on land use change using three high-res images of an area from three sources (Quickbird, GeoEye-1, WV-3). I have managed to calibrate the Quickbird data using QGIS raster ...
1
vote
1answer
97 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 ...
1
vote
2answers
107 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 ...
1
vote
1answer
594 views

QGIS GRASS Missing Dependancy

I want to perform a view shed analysis in QGIS using GRASS 7 r.viewshed. When I double click on r.viewshed in GRASS GIS 7 commands in the processing toolbox of QGIS I get the following message: ...
1
vote
2answers
2k 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 :-( ...
1
vote
1answer
202 views

libfreetype-6.dll lost when using GRASS command line

Update#1: Following the instruction of Sorin Călinică, I have installed libfreetype-6.dll using the OSGeo4W Network Installer, and the command d.rast can launch successfully. I am using GRASS ...
1
vote
1answer
402 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 ...
1
vote
1answer
514 views

Can't launch GRASS GIS 6.4.3 GUI on windows 8.1

As title, I downloaded GRASS GIS from this website: GRASS GIS - Home, and I choose winGRASS 6.4.3 standalone installer to download. After I installed, I click on its icon: I can't launch it even ...
1
vote
1answer
383 views

How to define correctly the Grass region in Qgis

I know that my question could be pretty basic for some of you. I am trying to learn GRASS. I have some raster layers and a vector file in EPSG 32614. Using the grass plugin I defined a new map set, ...
1
vote
1answer
178 views

Set Grass Region in Python grass.script

How can I set the Grass Region in Python without already having a map in the Mapset? Basically I am looking for the equivalent to this window Currently I am only able to extent an existing region, ...
1
vote
0answers
191 views

Touch up tool for rasters?

I was wondering if it were at all possible to manipulate/massage rasters (eg Geotiff) using Qgis plugins or Grass?? By manipulate, I mean manually smooth off interpolation artefacts, blended surface ...
1
vote
3answers
238 views

SRTM NASA hillshade grainy appearance

I'm trying to create a hillshade surface from SRTM files downloaded form Earth Explorer, but the appearance is not the expected. It has a grainy surface that I would like eliminate to have a ...
1
vote
1answer
151 views

How do I install mdenoise in GRASS?

How do I install mdenoise in GRASS 6.4.3? I've already successfully installed r.denoise, and have downloaded mdenoise from wget http://www.cs.cf.ac.uk/meshfiltering/index_files/Doc/mdsource.zip. How ...
1
vote
1answer
406 views

How to script map production in GRASS?

I'm trying to automate my production of maps with GRASS. What I want to do can be described in fairly generic terms: I have two layers (one vector, one raster), which will be identical in every map. I ...
1
vote
2answers
250 views

contour lines from point shape attribute

I have a point shape file and one of the attribute refers to the altitude. Is is possible to obtain a contour lines shape file in GRASS?
1
vote
2answers
2k views

How to resolve missing Python module (importlib) for GRASS/Sextante?

I have installed the nightly build of QGIS 1.9 from Larry's Dakota Cartography site, and have downloaded the latest Frameworks from William's Kyng Chaos site. However, I am unable to install the ...
1
vote
1answer
279 views

GRASS-QGIS Linking error

I need few customizations over grass and would use qgis gui for accessing grass. I am building qgis with grass enabled (WITH_GRASS=TRUE). While I am doing that I get the following. Any help is greatly ...
1
vote
0answers
186 views

i.maxlik cannot read i.class output signature file

I'm trying to perform a supervised classification using i.class. I'm then using i.maxlik, but this is returning the following error: GRASS 6.4.3svn (India_01):~ > i.maxlik group=test_group@test ...
1
vote
2answers
640 views

How to import .flt files into GRASS?

I am trying to import a raster file (.flt) into GRASS. The raster file (.flt) was generated from HEC-RAS. The said raster format cannot be imported into GRASS (it shows the error "file not ...
1
vote
1answer
629 views

Win7 GRASS 7 & i.landsat.toar

Hello has anyone got experience running i.landsat.toar ? The output files I get are empty, the command takes but a moment to complete. However when run in verbose mode all the calculations are done, ...
1
vote
2answers
468 views

GDAL-GRASS building fails

When I run ./configure --with-grass=/usr/local/grass-6.5.svn/ I get the following errors: .......... checking for gdal-config... /usr/bin/gdal-config using /usr/lib/gdalplugins as GDAL shared library ...
1
vote
1answer
944 views

How to select a raster file that is under a polygon in a vector file?

I am using: v.db.select map=PHL_adm1 where=NAME_1='Bulacan' My vector map is over the raster map. I want to select the part of the raster map under the polygon(NAME_1='Bulacan') of a vector. Is it ...
1
vote
1answer
2k views

How to combine a vector and a raster file?

I want to combine a raster and a vector file. After combining, can I query on the resulting map to obtain a specific area? How?
0
votes
1answer
42 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
0answers
45 views

Problem in running r.slope.aspect in GRASS

I am new to GRASS GIS, and have been trying to use the r.slope.aspect function to find out the slope, dx and dy rater map from an elevation map(512*512)[1]. But I am getting the following output: ...
0
votes
1answer
35 views

Overlaying of raster in GRASS for visualization?

I have generated insolation time rasters map in grass using r.sun module. How to overlay insolation time rasters over DSM depicting the color table for visualization?
0
votes
1answer
99 views

How to batch export using r.out.gdal command in GRASS

I created a list of files (NPPFILES) using g.mlist command in GRASS 7. Now I would like to export these files as .tiff files. I tried this command in GRASS prompt for files in $NPPFILES; do ...