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
0answers
113 views

QGIS 2.2.0 GRASS not worked

I use QGIS 2.2.0 on Windows 8 64 bit. I try to install use Standalone installer and OSGeo4W and still get the error And then i start GRASS C:\Program Files (x86)\GRASS 6.4.2>grass64 ╬╪╚┴╩└: ...
1
vote
1answer
41 views

Problems running grass.mapcalc

I am using the GRASS Python Scripting Library on Ubuntu 14.04 with the packages available from the Universe repository. I have the following block of code: try: ...
0
votes
0answers
68 views

Running a batch script in GRASS command line - v.dissolve and v.db problems

I have been writing a number of scripts for automating isochrone production in GRASS just using the command line. I create files with isochrone lines in them and then a buffer around each of the ...
18
votes
5answers
1k views

How to simplify a routable network?

I have a network graph that I need to simplify in the sense of reducing the number of edges. The idea would be to merge nodes that are located close together and remove the connecting short edges. ...
1
vote
2answers
96 views

Convert a mask image to polygon shape file using GRASS

I used image classification technique in GRASS GIS v7 and generated the image mask below in which white area has NULL value and red area contains 1. I am going to clip those red color areas in a ...
6
votes
3answers
2k views

Dissolve or unsplit lines on common attributes in PostGIS or GRASS?

I have a road centerline shapefile that has roads split at every intersection. However, I would like to join LINESTRINGs that have a common set of attributes into a single LINESTRING. So long as the ...
0
votes
1answer
23 views

r.series command in QGIS - timeseries

I am using r.series command in qgis. The command is performing correctly, but when I import input raster files, it creates a list in a random order. Sometimes the order of input rasters is essential ...
1
vote
1answer
460 views

Merge two maps with OR operation in GRASS

I have two vector maps. The two maps cover the same area but are split up into polygons differently (i.e. if you were to imagine one map placed above the other, the lines defining the polygons would ...
0
votes
0answers
78 views

QGIS r.cost / r.drain and errors

I'm trying to find the optimal route of several archaeological sites with Qgis 2.2. I've a DEM and r.walk or r.viewshed executed successfully, but r.cost always fails creating the output, however ...
0
votes
0answers
42 views

time processing

I am computing NDVI for Landsat TM in grass 6.4.3 in raster map calculator, and time processing is many hours and finally tke message is "failed". trying to find a solution I discovered that it ...
6
votes
1answer
649 views

How to perform unsupervised classification of LANDSAT time series using Grass?

I'm using GRASS to perform an unsupervised classification on a time series of LANDSAT images (monthly temporal res, over 30 years), in order to compare land cover change in a particular area. I'm ...
0
votes
1answer
84 views

r.viewshed - Can't find with Grass toolbox

I'm trying to use r.viewshed and have got Grass installed but can't find it anywhere! under toolbox, I click 'Grass commands (152 geoalgorithms) and have a choice of imagery, raster, vector, etc, ...
1
vote
1answer
225 views

How to make GRASS and SAGA tools capable to use in QGIS?

As my title, I installed Qgis, GRASS and GDAL by osGeo4w package, and as I finish the installation, I want to use GRASS tool, I face this problem: But I already installed GRASS and SAGA, how to make ...
0
votes
0answers
22 views

Changing tracks to vectors in a grid

This is a version of a question that I posted on the GRASS list, but I didn't get any suggestions there. I would like to overlay a grid (cell size about 500 m x 500m) over an animal track created from ...
2
votes
3answers
431 views

How to batch-process georeferencing of rasters (prelude to animation)?

I have many (10k) raster files, all with identical size and pixel dimensions, which need to be georeferenced. I would like to georeference one of them manually, using either QGIS or GRASS, and then ...
0
votes
0answers
32 views

R equivalent of GRASS r.grow?

What is a good R equivalent of the GRASS function r.grow? The closest I've been able to find is the script suggested by whuber in response to Creating randomly shaped clumps of cells in a raster from ...
0
votes
0answers
45 views

v.buffer angular buffer doesn't take all the polygons into account

I am trying to create an angular buffer around building footprints with the v.buffer command (QGIS 2.2). There is no error message, but the algorithm doesn't take into account all the buildings. This ...
1
vote
1answer
67 views

List the projection & datum of all the files in a folder

In QGIS/GRASS, is it possible to list the projection details of all the shp,tab,dxf files in a folder ? We are having 100 - 150 files in too many folders. We would like to create a table of Proj ...
0
votes
0answers
22 views

Is it possible to compile a grass addon into a commandline app?

As the title says, I'm wondering if it's possible to take the source of a grass add-on and compile it into a commandline app. Or, alternatively, use the add-on in a python program. Basically, I ...
11
votes
5answers
1k views

Large shapefile to raster

I have a large shapefile (1 gb) and need to rasterise it. I have tried the following already. 1.) Import it into GRASS using v.in.ogr this failed with the error message: ERROR: G_realloc: unable to ...
0
votes
0answers
46 views

grass - add on problem

I can't install the addon in grass 6.4.3 to my linux mint. i've already installed the SVN and than it says: GRASS 6.4.3 (fabian_idrisi):~ > g.extension r.fuzzy Fetching from GRASS-Addons SVN (be ...
0
votes
0answers
54 views

How to make DTM Qgis-grass

Good evening, I need help. Should I create a dtm of an area in the province of Vicenza. It 's the first time I try, I tried the tutorials on the Internet but I could not understand how to do it. Could ...
0
votes
0answers
168 views

GRASS “Argument list too long” with run_command

I have a python script that uses the grass.script.run_command function to read in, process, and export a bunch of raster files. On projects where I have a large number of rasters (>1,000), it fails ...
0
votes
2answers
158 views

Matlab script - how to access from/run in GRASS GIS?

I am currently working on shell script in GRASS GIS and Ubuntu. At some point, I must run a calculation (based on an ascii grid) that I have available as Matlab script and .exe (created from Matlab I ...
0
votes
1answer
111 views

Is it possible to use polygons to create heatmaps?

I hope I can explain my question clearly, so here it goes: I've been fiddling around with heatmaps on QGIS for a few days, but came across a small obstacle on my way. I have a dataset comprised of ...
0
votes
1answer
111 views

import parameters for r.watershed - (watershed basin analysis program) tool from grass using Qgis 2.2

I want to run this tool from Qgis 2.2 but i don't know how to use the PARAMETERS to run this tool. The red frame are the PARAMETERS I don't know. Can someone to tell me what those PARAMETERS are ...
0
votes
1answer
48 views

How to reposition a polygon Shapefile using ground control points and v.rectify?

I'm new to Grass. I would like to reposition a polygon shapefile using ground control points and v.rectify seemed just the perfect tool to do that. The raster from which the shapefile comes from was ...
2
votes
1answer
150 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 ...
0
votes
1answer
17 views

GRASS module r.fitpoly

I need to calculate the average daily temperature for each month. As an input I have 5 .asc grids for 6, 9, 12, 15, and 18 GMT for each month of the year. I was wondering if there is a predefined ...
2
votes
1answer
344 views

How to join nodes to network lines ( and not the other points)

I'm trying to do a shortest path analysis on my network. In order to prepare the network and attach polygon centroids to the roads, I used GRASS' V.NET operation=connect. the problem with this ...
1
vote
0answers
88 views

Error “Unable to open data source” - import .shp into GRASS

I'm new to GRASS and GIS in general, so please forgive my ignorance... I have problem with loading Vector Data (.shp) into GRASS I used the following steps 1.1. and 1.2: ...
0
votes
0answers
26 views

External scripting in GRASS libgrass_grass.6.43.dll not found

I need to run interpolation through GRASS through a script such that its requires no user interaction in the process and the interpolation raster output can be used for display in HTML Web Page. To ...
1
vote
1answer
26 views

nr of cells between cells

I want to do the following: I have a set of cells with the value 1, and a set of values with 2. I want to calculate for each cell [2] the distance - ideally number of cells - to the nearest cell 1. ...
0
votes
1answer
17 views

Problems installing r.roughness

I am trying to install r.roughness in GRASS 6.4.3. It starts compiling but at the end I get this error: ERROR: Module did not install properly I cannot identify the problem. Can somebody that has ...
0
votes
2answers
57 views

GRASS GIS using a loop with r.neighbors command

I'd like to do a trend analysis with ndvi data from 1982 til 2005. I am using the r.neighbors command to get first the spatial variance (then I would use r.series method=slope to get the actual trend) ...
1
vote
1answer
166 views

Apply r.neighbours or Neighbourhood analysis (LecoS plugin for QGIS) to 3000 rasters

I need to apply r.neighbours or Neighbourhood analysis (QGIS plugin LecoS (or equivalent) to 3000 rasters and define a neighbourhood of 5 x 5 and calculate the mean. I suppose I need to create a ...
1
vote
0answers
46 views

Extrude polygons with holes in GRASS using v.extrude

I have a shapefile with building footprint polygons. Many of the polygons have holes/inner rings within them (I'm not sure of the correct term in Grass). These import correctly into Grass GIS. I aim ...
3
votes
1answer
2k views

How do I find vector line bearing in QGIS or GRASS?

How can one extract the bearings from a set of lines in a vector file? I'm trying to find the bearings of several straight vector line segments (simplified contour lines, actually) and can't figure ...
1
vote
1answer
44 views

Combining several rasters before r.surf.contour?

I have been trying to generate an elevation model from contour lines using first v.to.rast.attr and then r.surf.contour. Generally, it works pretty well, execpt for one issue. My data contains a lot ...
5
votes
4answers
3k views

New QGIS install can't find GISBASE

At QGIS startup I get the message: "QGIS couldn't find your GRASS installation. Would you like to specify path (GISBASE) to your GRASS installation?" (Windows 7) No amount of rooting around the ...
1
vote
0answers
30 views

Fill holes with an area bigger of a specific value in a raster coverage

I want to fill some areas of a raster coverage with a value of my choice. Those areas now contain NODATA values. So, they look like holes in my coverage. I know I could use r.clump function of GRASS, ...
1
vote
1answer
67 views

How to batch interpolate many shp´s to DEM

Here´s the problem: I have about 40 shapefiles of contourlines (type line) and I need to interpolate them to create DEM's (tiff, or better some grid format). To do so, some batch scripting would be ...
0
votes
0answers
35 views

Delineating catchments using GRASS GIS?

I am trying to delineate catchment using GRASS. Can anybody point me to "easy to understand" type of notes for GRASS? Will appreciate any help.
1
vote
2answers
176 views

Grass 6 extension installation in Grass 7 error

I am trying to install the extension r.roughness from the Grass 6 repository, but in Grass 7. When trying g.extensions, the error "make: * No rule to make target ...
0
votes
1answer
98 views

GRASS 6.4.3 installed with QGIS not working

I'm new to QGIS and GRASS. I'm trying to do an image classification and it seems that the method I need is not within the GRASS toolbox in the QGIS . So I decided to use the standalone GRASS version ...
0
votes
0answers
57 views

QGIS 2.2 freezes when I select a Grass command via Processing toolbox

I'm on Ubuntu 13.10, and I have never been able to get the Grass plugin to work in QGIS 2.2 via the Processing toolbox. As soon as I select any Grass command, QGIS locks up, no menu appears. I then ...
3
votes
2answers
158 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?
1
vote
1answer
129 views

Connecting Grass with R

I need help to connect R with Grass. In RStudio when I send the line: loc <- initGRASS("C:/Program Files/R/R-3.1.0/bin/i386", home=tempdir(), override=TRUE) It says: Error in ...
1
vote
2answers
127 views

Create a common scale for different raster layers in GRASS, SAGA or QGIS

I have a number of layers that represent the temperature variability of the water in a lake. They have been generated trough interpolation and have different values as they represent temperatures ...
0
votes
1answer
201 views

How to perform GRASS v.rast.stats via QGIS

I have been using qgis for the last few months. I got interested in using GRASS tools through QGIS. I wanted to compute zonal statistics for a raster surface for a given polygon layer. I loaded the ...