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

How to get the Flow or directional raster map using GRASS?

Aside from using r.fill.dir in GRASS, is this the script to produce the Flow or directional raster map? Is this the output for the script ...
3
votes
2answers
419 views

QGIS GISBASE specify location

I am just a beginner at this QGIS and GRASS and I am using this QGIS 2.0.1 Dufour which throws a error at the startup that "QGIS couldn't find your GRASS installation. Would you like to ...
3
votes
2answers
170 views

Merge two rasters with no data value

I have two rasters: Raster A and B. Raster A has has only values of 0. The white area in Raster B are No Data values. I want to merge them to one raster (Raster C). So basically I want all pixels in ...
3
votes
2answers
378 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
3answers
412 views

How to clean layers from non topological databases?

I'm doing my internship in a consulting office which is switching from MapInfo to QGIS/GRASS 1.8.0. I posted here a few days ago about the way to clean a polyline from a Lidar data with v.clean. ...
3
votes
1answer
128 views

v.dissolve to multipolygon

Using v.dissolve in GRASS, I'd like to get a multipolyon as a result. However, I end up with distinct polygons with the same 'dissolve value.' For example; lets assume I have two polygon features ...
3
votes
1answer
91 views

Is there an easy way to taper huge amounts of drainage vectors?

I've performed hydrological analysis using r.watershed using GRASS and now I have some stream vectors for a large area. Next, I'm planning to taper these streams to varying width to make them appear ...
3
votes
1answer
341 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
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 ...
3
votes
1answer
402 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
476 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 ...
3
votes
2answers
84 views

LiDAR data density, returns per square meter

How can I compute a raster showing the number of return points per square meter using SAGA GIS or other open source software? My goal is to obtain a mask which would show me the places (cells) ...
3
votes
2answers
97 views

Select polygons that do not intersect any other polygon using QGIS, GRASS, SAGA or R

I would like to select the polygons of the layer below that do not intersect with any other polygon (within the same layer). How can I do this using QGIS, GRASS, SAGA or R?
3
votes
1answer
145 views

How to import ESRI Ascii format into GRASS?

I need to take a set of datafiles, generated by our sensor system that reads GPR (Ground penetrating Radar) deviations over a surface as we drive along. I have discrete readings from a set of sensors ...
3
votes
2answers
2k views

How to generate a DEM from a contour Shapefile?

I want to create a DEM from depth contours (shapefile) in QGIS. I've been trying to work out how to do this based on this previous question, notably from this link from that page, however I'm stuck, ...
3
votes
1answer
164 views

How to get started with GRASS shell?

I'm a beginner in programming but i have to work with GRASS at work, and do it quickly. I'm completely lost with all the variety of tutorials that are existing and to me, don't look the same...and ...
3
votes
1answer
708 views

How to split line at a specified distance and getting coordinates of start and end points of each line segment?

I tried v.split in GRASS: and my notebook ran a lot of time but showed this error:bad allocation, then I click "OK", and got nothing. Are there other ways to split lines?and I hope to get 2 new ...
3
votes
1answer
247 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 ...
3
votes
1answer
82 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
83 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
482 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
323 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
416 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
355 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
251 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
762 views

Is there a way of cutting a raster map that is displayed in the GRASS GIS Map Display?

I have a raster map that I generated from cropping/masking from a bigger raster map. It produced a map with only a portion of not null values. I only want to have a map that is zoomed in to the ...
3
votes
1answer
459 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
66 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
233 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
147 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
135 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
107 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
102 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
128 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
166 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
718 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
1answer
98 views

95 percent volume contour

I generated, from point data, a kernel density map using GRASS, and I would like to identify the 95% volume contour in it. Is it possible in GRASS? Thank you
3
votes
2answers
232 views

How to split lines into equal segments with QGIS?

I'm attempting to split a curved (wiggle) line into equal length segments. Have used Grass's v.split which works to a degree but does not provide the output I'm after. v.split will extract segmented ...
3
votes
2answers
112 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
105 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
245 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
391 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
426 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
2answers
1k views

1'' DHM: Hillshade is too rough - how to “generalize”?

I got this hillshade from my DHM (I used the hillshade-module from qgis). For my purpose there is too much relief detail (roughness). How can I get rid of this in QGIS or GRASS? Thanks! Martin
2
votes
1answer
269 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
2answers
770 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
840 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
1answer
1k views

How to create a Digital Elevation Model

How to create a DEM starting from layers shapefile "contour lines" and "shares"? which module of GRASS I need to use? thanks for yours responses....
2
votes
2answers
5k views

Viewing .las format LIDAR data in QGIS?

Is there an easy path to visualizing this LIDAR data? I have QGIS, and some USGS LIDAR data in (.las) format downloaded from http://lidar.cr.usgs.gov/ . This means I have both the (.las) and ...
2
votes
2answers
121 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