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

Why is transparancy of GRASS rasters missing when imported into QGIS?

I have a raster map in QGIS imported from a GRASS mapset with the QGIS GRASS plugin. The problem is that I have null() cells in the GRASS map that appear "colored" in QGIS. How can I set the ...
0
votes
1answer
61 views

GRASS: Loss of data using v.net

I'm trying to build a network in GRASS in order to find the shortest path from any settlement out of 1120 (points), to one waste treatment facility out of 27 (points). I plan to use v.net.distance ...
4
votes
1answer
230 views

How can I avoid reprojection gaps when merging DEM rasters?

I have two raster DEMs in same resolution I want to bring together. I was using the merge-function in SAGA, GRASS and QGIS but I always get the following result: What do I need? Where could the ...
6
votes
1answer
838 views

How to calculate difference in altitude along lines using GRASS?

Using SRTM altitude information and OpenStreetmap roads, I want to calculate altitude differences (sum of meters uphill and downhill separated = two values) per road element. What would be the ...
4
votes
2answers
218 views

How to do a looping to Interpolate a huge Rainfall Time-series in GRASS GIS or R

In GRASS GIS I have access to a table in PostgreSQL Database with this structure: Table Name: rainfall_time_series Columns: id | year | month | day | value_mm | x | y | gauge_code Setting g.region ...
4
votes
1answer
161 views

Programmatic raster-vector calculation

I currently use GRASS' r.mapcalc to find the difference between vector and raster data using a loop and temporary files and layers. Is it possible to do the core calculation between raster with a ...
1
vote
1answer
254 views

Rasterize vector with gdal

"I would like to calculate the Euclidian distance from a residence to a public service of interest e.g. the distance from a residence to a green space (as the crow flies) in QGIS. After browsing the ...
9
votes
4answers
3k views

Code to calculate elevation profile along line from a DEM

Given a DEM (Digital Elevation Model) say in and a line (x1,y1) --> (x2,y2) (paired coordinates (x,y)), how can one calculate the elevation profile or cross-section projected on that line ? I am ...
2
votes
1answer
70 views

grass gis- ERROR: nwalk (7000001) > maxw (7000000)! [closed]

i want to make r.sim.water (hydrological modelling) in Grass Gis, and this ERROR: nwalk (7000001) > maxw (7000000)! always appears, any ideas how to solve it? number of cells of dem is below 7000000. ...
1
vote
1answer
471 views

QGIS, Euclidean distance analysis [duplicate]

i wanna generate euclodian distance map for my road data. I 'll use it for multi criteria analysis. I can get it by using Arcgis Euclodian Distance tool but i wanna generate it in QGIS environment. I ...
3
votes
2answers
95 views

Is there a workaround for GRASS i.maxlik 'class' being a keyword in Python?

I am running i.maxlik in python - attempting to automate a processing chain. I use the command: grass.run_command('i.maxlik', group= group, subgroup=subgroup, class='classification', sigfile = ...
2
votes
0answers
27 views

How to remove coastlines from Admin 0 data set using GRASS?

I have a set of international borders that I would like to overlay on top of a different data layer that represents coastlines ("land" essentially). I would like to convert my Admin 0 polygons into ...
1
vote
3answers
157 views

How do I active “Open GRASS tools”-button?

I have opened to GRASS layers and need to use the "Open GRASS tools"-button. This button remains unactivated somehow. Whilst the "Edit GRASS vector layer" right next to it works perfectly fine. What ...
3
votes
1answer
83 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
496 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
67 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 ...
1
vote
0answers
161 views

Heat Map trouble: Is this a data formating problem?

I'm playing with the heat map plugin with QGIS. I've run through QGIS tutorial: http://docs.qgis.org/html/en/docs/user_manual/plugins/plugins_heatmap.html, using the airports data set as explained ...
3
votes
2answers
2k views

How to convert a point grid to a raster?

If I load the original .csv file, I then have a map of the African continent represented by 14069 data points covering it at 40x40km resolution. Each data point shows solar radiation means across the ...
0
votes
0answers
108 views

GRASS i.landsat.toar returns empty raster

I am trying to use the GRASS module i.landsat.toar. Currently the files created are empty and it spits out: So it seems that it is not picking up something? The location is set to the extent of ...
3
votes
1answer
255 views

Hydro-Enforced/surface constraint DEM Creation using GRASS/QGIS

I am wondering if there is a way to create a hydro-breakline enforced DEM by means of any open source solution? I am able to create a DEM from Lidar data using GRASS, but would like to enforce some ...
2
votes
1answer
132 views

Error when importing vector layer into GRASS

I am trying to import a vector layer into GRASS, but I keep receiving the same error. The values in the vector layer are important because I would like to use them to create a heatmap. What could I ...
3
votes
1answer
129 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 ...
1
vote
2answers
107 views

Error using Grass v.net

I'm trying to connect my network to a points layer with a threshold of 4500 meters. I have about 11000 or so entries in my polyline and about 24 in my points layer. I have alreday used v.distance, ...
0
votes
1answer
263 views

How do I repair NVIZ error: 'Can't find a usable init.tcl'?

How do I repair the following problem: The error occurred while I was trying to run NVIZ in the GRASS environment in QGIS. NVIZ however runs perfectly in GRASS. On checking the directories ...
2
votes
1answer
670 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
1answer
897 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 ...
0
votes
1answer
71 views

GRASS v.db.update Concatenate Fields

I am trying to concatenate two fields into one new field in GRASS, but I am unable to get the syntax to work. Ideally, I would like "FIELD1" and "FIELD2" concatenated together in "FIELD3". All fields ...
4
votes
5answers
809 views

Elevation correction ASTER GDEM2 (+10m)

My ASTER GDEM2 has a average elevation error of -10m for my area. (I testet it using 90 defferential GPS reference points and compared it with old Topo25, SRTM, and GoogleMaps). I would like to ...
3
votes
1answer
235 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
1answer
138 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 ...
5
votes
1answer
433 views

How to call GRASS modules in pyQGIS?

I wish to use a Grass module (v.to.db) in QGis, without the grass toolbox. I tried with the Python console, but to no avail : Using Sextante plugin but obviously it didn't know all the grass ...
2
votes
2answers
372 views

Error Importing dbf File Into GRASS

I am working on an assignment which requires me to connect to a database, then import a dbf file into the database using the command db.in.ogr (as can be seen below). However, GRASS simply won't ...
1
vote
2answers
332 views

Network distance computations using GRASS

I'm an ArcGIS user who's interested in learning to use GRASS. Can anyone point out resources that will help me in learning how to obtain network distances between (1) residential locations (points) ...
4
votes
3answers
321 views

How to install GRASS on Linux Mint?

I'm trying to figure out an error in GRASS network analysis, for several days now. I started to suspect that it has something to do with my OS, namely Windows 7. Hence I installed Linux-Mint 14 ...
1
vote
0answers
102 views

GRASS python script runs twice

Is there a reason that every script I have written for GRASS in python runs twice? I start them using the GUI script launcher tool, and they all begin with: #!/usr/bin/python import grass.script as ...
0
votes
0answers
731 views

How to resample a raster in QGIS?

I've got a boundary file that I would like to resample the raster file from a 30m grid to a 10m grid inside the boundary file. When I try and do it in Qgis or Grass all I get is one big raster cube ...
12
votes
1answer
1k views

How do you use GRASS's v.kernel?

I am flummoxed on how to use GRASS's v.kernel. I have a vector layer of around 2.5 million points. I want to make a heat map using v.kernel to show concentrations, since I have variable instances ...
1
vote
1answer
299 views

Installing GRASS on MINT 14?

I'm very new to mint/linux/GRASS and have no clue how to deal with these errors. Can I just change the URL somewhere? Here is the simplest reproducible command to produce a failure: sudo apt-get ...
1
vote
1answer
117 views

Set certain amount of pixels to 1 inside of a polygon (GRASS)

I have a rather coarse vector map with polygons and want to calculate a (sufficiently) finer raster map defined by spatial extension and resolution. Every polygon of the vector map has a value ...
9
votes
1answer
331 views

Is there a way to use ArcPy and PyGRASS tools in the same Python script?

I´m trying to write a Python script, that includes different ArcPy / ArcGIS commands and want to combine it with GRASS geoprocessing tools. Unfortunately importing the GRASS libraries doesn´t work. ...
1
vote
1answer
470 views

Raster operation with grass.mapcalc

I need to iteratively add each raster map of viewshed analysis obtained from a series of single observer locations. For this i used grass.mapcalc with Python (GRASS 7 for Windows). However, my ...
6
votes
1answer
368 views

Generalize large polygon-file

I have a large polygone file with landuse information (6 classes). Its vectorised from a raster classification so the polygons are all angular. Any of my tries to generalize with v.generalize (sneaks, ...
2
votes
1answer
473 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 ...
7
votes
1answer
857 views

How to enable GRASS-modules in QGIS?

I have the latest QuantumGIS-1.9.0-master from Github with python-modules support and full GRASS-integration (GRASS-4.6.3-RC2) on Linux. When opening the GRASS-tools plugin, it only displays six ...
8
votes
2answers
2k views

How to correctly install QGIS with plugins and GRASS-integration from source?

I'm running a Sabayon GNU/Linux (based on Gentoo) at my home desktop system and I want to install Quantum-GIS. I'm currently using the qgis-1.7.0-package from the repositories. But this is somehow ...
1
vote
1answer
285 views

Why can't r.patch find the rasters?

I have elevation rasters which loaded just fine in a GRASS session. They represent adjacent areas, so I want to meld them into one raster. I ran r.patch using the GRASS GUI, and it would only accept ...
3
votes
2answers
188 views

How to make the arrows in d.rast.arrow GRASS script visible?

I'm trying to create a Flow or directional raster map (with arrows) from an SRTM elevation map that I downloaded from CGIAR. I already created an aspectMap to be used for the d.rast.arrow. I used ...
1
vote
1answer
198 views

Grass r.mapcalc generates 1 cell map

I'm a GIS student and in my project I need to generate vegetation indexes. I've generated it succesfully yesterday using both python2.7 and grass gui .I'm using WinGRASS-6.5.svn-r54428-453 on Win7. ...
6
votes
2answers
585 views

Calling GRASS functions from external Python

I have GRASS 6.4.3svn installed in my machine running Windows 7. Also in my machine i installed Python 2.7.3 for Windows.Now i need to call GRASS libraries from Python and not within the Python shell ...
0
votes
2answers
218 views

How to install GDAL/OGR with GRASS vector support?

The GRASS 6.4.3Svn for Windows that i have in my machine does not have GDAL/OGR support. Is there any library (libgrass) for Windows to add into existing GRASS installation. If not, how to build or ...