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
2answers
154 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
139 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
117 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
107 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
131 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
174 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
757 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
0answers
34 views

Option for 360 degree movie embedded in Open Source GIS software?

Is there any Open Source GIS software available to embed 360 degree movies with the map? For a COTS example, there is the Active Link Vision (ALV) extension for ArcGIS from IWANE.
3
votes
1answer
41 views

Why GRASS 7.0.0 can't create a table while importing shapefiles from QGIS?

I use GRASS7.0.0Beta1 and QGIS 2.4.0 on Windows8. With v.in.ogr, when I import a shapefile, I get the error message "Unable to create table". When I put the option of not importing the table, the ...
3
votes
0answers
60 views

IS it possible to run GRASS commands in the QGIS graphical modeler?

I have a geoalgorithm set up in the graphical modeler and everything runs except for the GRASS commands. It is really frustrating because when I execute these commands on their own they work just fine ...
3
votes
1answer
103 views

Shortest distance from polygon centroids to a line in QGIS

To get the distance of each polygon centroid from a line, I have tried the Distance to nearest hub algorithm from the Processing Toolbox. The distances I got from the algorithm did not seem correct, ...
3
votes
0answers
247 views

Solar irradiation calculation using r.sun

I am trying to compute the global solar irradiation for a region and the run times seem to be a bit too high. I have as inputs a Digital Surface Model with the buildings and a Digital Terrain Model ...
3
votes
2answers
132 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
109 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
253 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
435 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
453 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
1answer
461 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
941 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
999 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
122 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
152 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
1k 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
613 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
1answer
58 views

How to properly open an ASTER data?

Yesterday i downloaded an Aster L1B image from USGS's website. If i load it in QGIS, it doesn't get displayed properly(location wise). Even after i've enabled "On the fly" option, it's not reading the ...
2
votes
2answers
387 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
742 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
456 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
90 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
321 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
1answer
45 views

Grass python shell can't find my data

I have a problem, the grass 7 python shell can't find my rasters. When I try to use the python shell to set the region I get "region not found". I can set the region in the grass shell (and other ...
2
votes
2answers
68 views

How to fix unreachable nodes in QGIS GRASS network?

I have created a network with the GRASS module v.net. But when I try to create the travelling salesman path with v.net.salesman, I get: Destination node 9383 is unreachable from node 9398 If I ...
2
votes
2answers
97 views

How to create isochrones from streets with distance values?

I have made isochrone lines using GRASS and QGIS, as shown. The lines show various distances to fire stations on a street network. Now I would like to turn these lines into polygons that look like ...
2
votes
2answers
190 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
74 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
501 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
304 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
63 views

What units are used in GRASS Rasterize?

What units are used in GDAL Proximity or GRASS Rasterize? - 'new size' parameter
2
votes
1answer
555 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
174 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
417 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
329 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
183 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
1answer
26 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
80 views

Practical tools to delineate large scale watershed?

I would like to do some watershed delineation at national/regional level (using SRTM-90 data). I have experimented with r.watershed (GRASS 6.4.3) but it fell over when I tried to do big stuff. I ...
2
votes
1answer
33 views

How to convert tif to dep extension?

In white box when i try to import or do any processes it's asking .dep extension How can i convert .tif into .dep extension?? If try to pass LISS3 data in GRASS GIS it is taking as single bands. So i ...
2
votes
1answer
126 views

georeference and orthorectification of aerial photos

I am trying to process photos taken with a tetracam ADC micro camera placed on a UAV. I have GPS coordinates and mavlink logs providing roll, pitch and yaw of the UAV. I am having a real hard time ...
2
votes
2answers
84 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 ...