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

2
votes
3answers
935 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
574 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
4answers
629 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
2answers
363 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
730 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
423 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
89 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 ...
2
votes
1answer
307 views

Command r.sunmask in GRASS

I have hypsometric model of relief, and I need to visualize shadows. I was suggested to use GRASS command r.sunmask, so I tried to set time values and run command, but it gives me an error "ERROR: ...
2
votes
2answers
149 views

Can the arrows produced by the d.rast.arrow GRASS script be queried or stored?

I have created a map with the flow directions using the d.rast.arrow. Can i query on the map to know where the direction of the arrows are? I am going to use the arrow directions in an algorithm. Or, ...
2
votes
2answers
152 views

How to increase resolution of 3D image in GRASS NVIZ

I am trying to make 3D visualization of terrain data and orthophoto using GRASS NVIZ via QGIS. I have been able to import both the DTM and the orthophoto in NVIZ window and successfully draped the ...
2
votes
2answers
59 views

How to produce maps with copyright imagery on it in GRASS?

I'm having some trouble with a GIS that I've got to produce. I work for a contractor and we'll have to produce maps to do the work for our client. The client has specified that if we print maps out ...
2
votes
1answer
67 views

r.neighbors produces no output

I am running r.neighbors --overwrite --verbose input=bf03pits@PERMANENT output=bf03pitsdenoise method=mode size=5 in the GRASS GUI using the r.neighbors dialog. bf03pits has 3955848 all with ...
2
votes
1answer
434 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
284 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
1answer
412 views

Is it possible to produce a decent looking shaded-relief map at 50K-scale-or-larger using SRTM3 DEM?

I'm trying to make a decent-looking shaded-relief map of a particular area in 50K-scale-or-larger using open-source tools. The best (and free) option I have for DEM data for that area right now is the ...
2
votes
1answer
60 views

What units are used in GRASS Rasterize?

What units are used in GDAL Proximity or GRASS Rasterize? - 'new size' parameter
2
votes
1answer
524 views

How to join two polygon layers into a resulting layer with overlapping polygons merged together (including attributes)

I am trying to find a method (in QGIS and/or GRASS) to join two layers of polygons into a resulting layer with merged overlapping polygons. It's hard to explain in words, so I've drawn a simplified ...
2
votes
2answers
166 views

River drain: r.watershed to vector is not working

I want to vertorize the result of r.watershed (accumulation). After using r.to.vect I got the message that I have to use r.thin before. So I did, but the message comes again and again. What I am ...
2
votes
1answer
400 views

Scripting in GRASS

Can anyone suggest me web-links to learn scripting in GRASS GIS (its utilities, examples etc.) other than those available in GRASS official Wiki/Sites?
2
votes
1answer
322 views

Compilation of GRASS 6.4.trunk on Win7

you may have seen my other posts, at the point now where I am trying to use the landsat plugins in a lower version of GRASS. Markus N noted that the 6.4.2 might be better, since that is not out yet I ...
2
votes
1answer
178 views

Error in using/installing v.digit: GRASS GIS

When I wanted to edit a shapefile in GRASS I got this message: Unable to start wxGUI vector digitizer. Do you want to start TCL/TK digitizer (v.digit) instead? Details: No module named ...
2
votes
2answers
77 views

How to handle multiple space separator in Grass?

I try to load a Lidar point cloud in .xyz format to Grass (in QGIS 2.0.1). I tried to input the following options to the 'separator' field: tab, 'tab', '\t'. Just for the unlikely case that it ...
2
votes
1answer
109 views

How to iterate GRASS region definition?

I am using GRASS r.skyview command (v.7, Windows) to determine "urban canyon effect" on pollution due to the presence of buildings. The command nicely works, unfortunately I need to process a very ...
2
votes
4answers
299 views

Has anyone else been unable to locate and install the GRASS plugin in QGIS 2.0.1?

After uploading and installing QGIS 2.0.1, I am unable to locate and install the GRASS plugin. The plugin is not listed in the 'Plugin Manager'. The 'Plugin_Installer' is also shown in red, ...
2
votes
2answers
252 views

minimum distance from the shore (how to retrieve the “shore vertices”)

I am student of Statistics, this is my first time using GIS., I am sorry for the stupidity of the question but I browsed online and could not find a satisfactory answer. I have some spatial data in ...
2
votes
3answers
963 views

How to pansharpen LANDSAT 8 in GRASS?

Having used QGIS for quite some time for mapping, I was 'forced' to dig into GRASS as pansharpening is not directly executable in QGIS. After understanding more or less the structure, I did some ...
2
votes
1answer
102 views

Help with GRASS V.Net.Path

GRASS has extensive and brilliant documentation, but I still have a bit of trouble using v.net.path. in the example for shortest path, it says: " #Shortest path: ID as first number, then cat1 and ...
2
votes
1answer
110 views

Temporal GRASS GIS framework

I am trying to follow the tutorial posted here. When I get to this part "Extraction of seasonal mean temperature" and run this code: t.rast.extract \ input=temperature_mean_1950_2011_seasonal \ ...
2
votes
1answer
202 views

How to filter or query data in GRASS?

I have a PostGIS dataset with just over 2 million rows. Each row has a PostGIS geometry point value and several attributes. I'd like to do some analysis on certain subsets of the data, but I can't ...
2
votes
1answer
108 views

How to close and fill Gulfs and inlets in QGIS or Grass?

I have a raster layer from which I extracted only zones with a certain color, then polygonized it with QGis. I just generalized the new vector layer in GRASS to smooth things a bit. There are many ...
2
votes
1answer
223 views

Raster Analysis - Identifying features from Raster

I have an IDW, tension spline and hill-shade rasters that show an archaeological landscape and from these rasters I want to identify new features which are seen in the landscape as depressions. And ...
2
votes
2answers
92 views

How to rasterize vector data correctly in GRASS GIS 6.4.0?

I try to rasterize some vector data in GRASS GIS 6.4.0. Unfortunately, it always just works with one layer. Afterwards, there are just lines generated instead of rectangles. What am I doing wrong?
2
votes
1answer
345 views

How to overlay my interpolation within the boundaries of Quebec?

I am trying to create interpolated maps within geographical borders. I have the coordinates and values to the points I am trying to interpolate. I also have a map of the geographical land mass in ...
2
votes
1answer
236 views

How to keep (complex) color table when exporting from GRASS

I understand how to work with color tables within GRASS - but is there any way to preserve color tables when opening the raster in a different program? For example, I created a color table in GRASS ...
2
votes
1answer
231 views

Silence user warnings for GRASS-PYTHON program

I've created a program that runs externally from GRASS v6.4.1, using python 2.6. It imports an ESRI shapefile, and exports a seperate KML for every polygon in this vector file. Polygons with ...
2
votes
1answer
612 views

How to clean vector segment intersect errors in GRASS

I'm using GRASS to process a vector map. When I export back to .SHP and do a 'Check Geometry Validity' in Quantum GIS it lists several errors of this type... 3,segments 199 and 203 of line 0 ...
2
votes
1answer
509 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 ...
2
votes
1answer
38 views

Compute number of days with snow

I have a project and I want to map the effective number of days with snow cover for a year in some mountain area. Until now, I have processed the MOD10A2 (8 days snow cover) product derived from MODIS ...
2
votes
1answer
59 views

Matching two point clouds without loss (nearest neighbor, but more complicated)

I have two point clouds, one with demographic and one with electoral data. Points in both clouds represent the same empirical entity (say, a village, or an urban neighbourhood), but are not in the ...
2
votes
2answers
76 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

Installing QGIS 2.0 with the newest gdal and geos libraries

I want to install QGIS 2.0 on Ubuntu 12.04 LTS. I followed these steps until the final installation command. Before I compiled gdal 1.10, geos 3.4.2 and grass 6.4.3 on my own. In the synaptic ...
2
votes
1answer
130 views

How to join USDA SSURGO soil table data to features in QGIS?

I am trying to make a soil map using QGIS. The only problem is that I cannot join table data to features in QGIS. In ArcGIS for Desktop you just open the folder and then join the tabular table ...
2
votes
1answer
340 views

How to cluster Raster data

I have thousands of Raster data concerning the ice coverage at the pole at different times (days) over several years. Now I would like to perform a cluster analysis. I want to split the data into ...
2
votes
2answers
72 views

Is d.mon xN deprecated in GRASS in favor of something in the wxGUI?

I'm trying to learn command-line GRASS (6.4.3) using the KyngChaos binaries on a Mac (10.8.4) from Neteler and Mitasova's book, Open Source GIS: A GRASS GIS Approach (3rd ed.). I've learned from this ...
2
votes
1answer
48 views

Trying to extract arc information from a Suburb shapefile

I downloaded some shapefiles from the Australian Bureau of Statistics (ABS) Its basically showing a bunch of suburbs when I view the shapefile through a GIS tool. The GIS tool that I am using at ...
2
votes
1answer
59 views

Profile plot trouble in Grass GIS

I'm new to Grass and GIS environments in general, and I recently faced a problem when trying to get the profile plot from a DTM. When I draw the transect, instead of the plot, I get the following ...
2
votes
4answers
585 views

Unable to load GRASS plugin

I upgraded from QGIS 1.7.0 to 1.8.0, including updating GRASS to version 6.4.3. Since then, GRASS isn't any longer listed in the Fetch Python plugins. I uninstalled and re-installed the whole package ...
2
votes
1answer
150 views

GRASS - v.clean Conflation - How to snap a layer to a base layer

Someone told me in this post that GRASS GIS can handle multilayer topology, what I have not found any information about. I am not a specialist of GRASS GIS so I would need help with that if its really ...
2
votes
1answer
93 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
2answers
391 views

Flow modeling and FOSS GIS; lahars and HEC-RAS

What are the options for FOSS flow modeling of dilute debris flows in QGIS or GRASS? Have you, or can you refer me to studies where the authors, tested these models/plugins/functions/etc. for use in ...