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
81 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
284 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
438 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
1answer
114 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
1k 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
140 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
566 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
220 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
79 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
80 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
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
346 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
411 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
306 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
380 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
340 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
237 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
694 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
63 views

How to choose a GRASS kernel density function?

I'm starting to use the Grass module on QGIS, and I want to do a heatmap, so, I'm creating a new surface using the kernel function. But, GRASS come with 7 types of kernel functions, how do I know ...
3
votes
1answer
62 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
194 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
130 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
98 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
94 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
126 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
157 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
690 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
2answers
77 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
91 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
0answers
176 views

How to create a topologically correct dataset in PostGIS (with GRASS)?

I have shapefiles which I have loaded in postgis and now i am trying to use geometric function in postgis like ST_intersect and they fail because the data is not topological correct. I have tried to ...
3
votes
1answer
97 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
0answers
129 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 ...
2
votes
3answers
344 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
383 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
932 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
132 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
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
120 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
99 views

Combining Geological Grids

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
647 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
1answer
642 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
519 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
4k 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
123 views

How to set all pixels with value <= 0 to “nodata” in DEM raster?

I have a DEM raster with pixel values between about 3000 and -0.0003. I need to set all pixel with a value of 0 and smaler (<=0) to "nodata" (for later raster calculations and to reduce the ...
2
votes
4answers
528 views

GRASS 6.4.3 Crashes on Startup; libintl-8.dll cited

I recently installed QGIS 2. I used the advanced OSGeo4W installer that I downloaded from the QGIS download page. GRASS is included in the stack. When I attempt to open GRASS, I receive the following ...
2
votes
1answer
799 views

How to reclassify a float raster?

I have three rasters which represent distance (in metres) from certain things (bus stops, parks, libraries). I would like to reclassify these rasters so that they get integer values based on the ...
2
votes
2answers
347 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
718 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
395 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?
2
votes
1answer
87 views

Can the concentration of values in a raster map be known?

I have a generated raster map containing different flood levels. Is there a grass script to determine the percentage of values in a raster map? I'm thinking of using r.mapcalc to solve this, but I'm ...