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
2answers
28 views

How to use r.mapcalculator to change values within a raster cost map to negative

I have created a cost map in r.cost module in GRASS (through QGIS). This is actually a distance map from a protected area and distance from protected area has been calculated in both directions. How I ...
1
vote
1answer
30 views

GeoTiff exported using GRASS will not open in other programs

I am trying to export an image group as a multi-band GeoTiff using the r.out.gdal module in GRASS. For some reason I cannot get ArcGIS to recognize my GeoTiff exports. I have tried opening the file in ...
1
vote
0answers
24 views

Linearising aspect in GRASS GIS

After having produced aspect of surface in GRASS GIS and being aware that GRASS GIS calculates aspect counterclockwise from east, how could we transform aspect from being a circular variable (0-360 ...
1
vote
1answer
20 views

Mod function in GRASS GIS

What is the equal of ArcGIS Raster calculator "Mod" function (Finds the remainder of the first raster when divided by the second raster on a cell-by-cell basis.) in r. mapcalc in GRASS GIS?
1
vote
0answers
23 views

Execute GRASS command within qgis phython console

We try to calculate catchments with the r.water.outlet function from python console. To do so we use the following code: import processing rlayer = QgsRasterLayer("/my/path/DrainageDirection.tif", ...
1
vote
0answers
44 views

Convert manual colored maps to vector

Is there a way to colorimetrically and automatically vectorize georeferenced rasters that came from manually colored, scanned maps? Currently we Print the topography maps 20k scale --> hand-coloring ...
3
votes
0answers
32 views

From Landsat spectral radiance (W/m2*sr*µm) to Global horizontal irradiance (W/m2) for mere mortals

We are working in a solar energy project to locate potential sites for solar panel farms. We are using the Landsat 7 panchromatic band to derive radiance with GRASS using i.landsat.toar (W/m2*sr*µm ...
0
votes
1answer
21 views

comparison of atmopsheric correction methods

I have noticed that dos methods for atmospheric corrections are in the section of radiometric correction (i.toar) on grass gis.Does that means that dos is a method doing radiometric and atmospheric ...
0
votes
0answers
29 views

Raster Not Loading into Map Display - GRASS

I am very new to GRASS and I have been trying to load a raster using just the GUI. I have set my project to the projection of my .tiff file and extents. Using file > import raster I select the .tiff ...
0
votes
2answers
26 views

What logical function should i use to do a union of two raster files in GRASS?

The files are : DEM and roads. For the following i did euclid distance and then reclass. Now i need to know with what logical function to combine them elevation rank ...
0
votes
0answers
13 views

GRASS watershed analysis add storm inlets

Try searching for this with no luck. I am using r.watershed to delineate flow directions, subwatersheds, etc. All good, except that storm drain inlets, culverts and subsurface drainage courses are ...
2
votes
2answers
75 views

Use GRASS through R

I want to use GRASS GIS 7 through R 3.1.3 in kubuntu operational system. Could someone help me connect GRASS with R, and use GRASS commands through R (not the other way round!).
2
votes
1answer
36 views

How to add my own GRASS algorithms to Processing?

I need to use algorithm r.bioclimatic from GRASS in QGIS but I see that this algorithm don't exist in Processing Toolbox. A search a way of add this algorithm to Processing and in GRASS and Sextante ...
3
votes
0answers
28 views

Steiner tree problem: Optimal routes for Fibre planning on road network

I am trying to solve a large optimization problem where I have a set of nodes on a road network that need to be connected using fibre using the shortest possible amount of fibre. The problem is a ...
0
votes
1answer
43 views

topographic correction using GRASS 7.0 (**i.topo.corr**)

I would like to apply topographic correction using GRASS 7.0 (i.topo.corr). The imagery were already converted from DNs to Top-of-Atmosphere Radiances. When I apply the i.topo.corr command it runs ...
1
vote
0answers
29 views

Why is QGIS 2.8.1 crashing when enabling Grass Plugin?

I am running Linux Mint 13 "Maya" (Ubuntu 12.04 Precise). I installed Grass via the software center. Than I installed Qgis 2.81 following this procedure: Add the lines for one of the repositories to ...
0
votes
0answers
31 views

Problem in running r.sim.water

I am trying to run the r.sim.water in GRASS. I have calculated the partial derivatives dx and dy rater map using r.slope.aspect. I am using this elevation map [1] to get the time-series depth map. But ...
0
votes
3answers
37 views

GRASS convert raster to points

I have tried to convert a raster to points using this syntax: r.to.vect input=g_kelowna_merged@kelowna_mapset output=g_kelowna_points feature=point I have tried using the GRASS interface in QGIS and ...
0
votes
0answers
31 views

Problem in running r.slope.aspect in GRASS

I am new to GRASS GIS, and have been trying to use the r.slope.aspect function to find out the slope, dx and dy rater map from an elevation map(512*512)[1]. But I am getting the following output: ...
1
vote
0answers
22 views

Change GRASS module default parameter

I´m new to Qgis and GRASS. I need to change the default parameter skip of the module r.to.vect.lines, from its default value of 10 to 1.How can I do this? r.to.vect.lines [-v] input=name output=name ...
0
votes
0answers
10 views

Default horizonstep in r.sun

I am working on software suite to create some geoscience models on Digital Elevation Models. Part of the process is to calculate the Insolation Time and Global Irradiance using r.sun. We are running ...
0
votes
2answers
63 views

How can I extract a smooth river network with QGIS & GRASS?

I´m working with Qgis 2.6.1 and GRASS. I have used the r.watershed module to create a flow accumulation map. With r.mapcalc I have extracted the river network, then i´m using r.thin to thin out to a ...
1
vote
0answers
46 views

Simulate water runoff to get water height over each pixel of DEM

Here is my problem that I am trying to deal with. I have given a height map of around 512X512 resolution(It is Geo-referenced and I have the meta-data for this). And I have given that this area ...
4
votes
2answers
139 views

3d vector and geometry operations in open-source GIS

There is some really good open-source software available to work with 2D vectors. For example QGIS has operations like buffer / clip / dissolve / select by location / join attributes by location... ...
1
vote
1answer
34 views

GRASS Zero-Crossing Edge Detection

I have a classification of vegetation communities across a landscape in a .tif format. I wanted to use the GRASS Zero-Crossing Edge Detection tool in QGIS to help define boundaries between my ...
1
vote
0answers
14 views

Second order rectification display problems

I'm using GRASS 7.0 to geo-rectify oblique images taken from a fixed altitude and using RTK-GPS data as a GCP (as a vector file) for the process. The survey area is very small and flat, so I'm not ...
1
vote
0answers
64 views

How to create line segments between pairs of pixels in a raster?

I want to draw several lines between pixels (please see the image below) according to some criteria : First Criterion: The distance between 2 pixels is less than 2000m and greater than 500m ...
1
vote
1answer
23 views

Grass r.out.gdal, wrong values when importing to QGis

I have a problem with export/import functionalities between Grass and QGis. I create a raster file in Grass (with r.wind.sun, but that most likely does not matter) It has the following properties: ...
-1
votes
0answers
32 views

Failing to import Las data format in GRASS 7

When trying to import lidar data in Grass 7, I get the error message below on ubuntu Grass 7. I've installed liblas 1.8.0 and python setup.py inside of liblas installation folder. Does anybody know ...
2
votes
2answers
30 views

How to combine the content of several mapsets into one new mapset in GRASS.?

I have some mapsets and i want to assemble them into one new mapset and have everything into it. How do i do it?
0
votes
0answers
16 views

Calculating Odd and Even side of road using PyQGIS and GRASS

I'm trying to programmatically and automatically assign odd and even sides of a road to number homes using QGIS and GRASS. I noticed this other post, which gives a solution using PostGIS and I have ...
1
vote
0answers
62 views

Preprocessing GeoEye-1 in GRASS iatcorr

I am trying to do a study on land use change using three high-res images of an area from three sources (Quickbird, GeoEye-1, WV-3). I have managed to calibrate the Quickbird data using QGIS raster ...
0
votes
0answers
40 views

Least cost path analysis : a lot of sources and destinations

I'm working on a 15*10 km area, splatted in a 50*50 m cell grid. I want to compute the time needed to travel from a single starting point to each cell centroid, combining driving and walking time. I ...
0
votes
0answers
18 views

Why do GRASS' NC dataset and USGS' CONUS dataset coordinates disagree?

In the course of trying to figure out a specific data extraction task, I'm trying to understand the coordinate system used by GRASS. For a while, I'd been working with elevation data near Raleigh, NC, ...
0
votes
0answers
55 views

How to process a big number of raster outputs with r.series?

I am new to python and QGIS. I'm trying to take some simple operations (e.g. count, average) over a big number of raster maps from a python script. I'm using the "r.series" algorithm (from processing) ...
0
votes
1answer
40 views

How to find the path after “cannot find module” message when I try to use grass tools in qgis [closed]

I use mac and when I try to use grass modules in qgis (brighton) I get a "cannot find module" message.
0
votes
1answer
75 views

How to activate GRASS GIS 7 plugin in QGIS 2.8?

Apparently, my linux ubuntu setup of QGIS doesn't contain grass gis, although when I initially installed it last week I added grass gis to the command line. Anyway, I typed in once again and installed ...
0
votes
0answers
30 views

GRASS GIS : ScriptError : Unable to fetch interface description for command 'd.rast'

I'm new to GRASS GIS (6.4.3) and I'm trying to use the r.watershed command. I imported the GTOPO30 DEM in tiff format, but I can't display it. I get the following Script Error: "Unable to fetch ...
0
votes
1answer
22 views

GRASS make local relief error

While using/trying to make a local relief in GRASS with the plugin r.local.relief i stumble across a error. ERROR: G_realloc: unable to allocate 15000000 bytes of memory at ...
0
votes
0answers
33 views

How to merge two rasters when are on the same place

I have two rasters in GRASS GIS. first : raster of DMR, raster picture of relief - created from high values second : raster of buildings where pixels of every building have value of high of this ...
0
votes
0answers
24 views

Grass functions (for example, r.li) on QGIS Processing Toolbox

I need to know if it is possible to add other functions, such as r.li to Processing Toolbox. Thanks.
0
votes
0answers
18 views

Is this error “invalid context…fatal error” due to GRASS GIS bug or the system?

Copy of error message that appears in the terminal (Macbook Pro, OS X 10.9.5): MacBook-Pro.local Python[2653] :CGContextRestoreGState: invalid context 0x0. This is a serious error. This ...
0
votes
0answers
23 views

Is there any way to add the Origin ID in the isolines calculations (GRASS GIS)?

I would like to ask whether there is anyway in to add the OriginID in the calculations of the Isolines (v.net.iso) in GRASS Gis. The calculations are a bit useless if they only include the cost ...
2
votes
1answer
47 views

How to get mean geographic direction of a polygon in QGIS?

I have a raster height model and would like to calculate the horizontal geographic direction (north, east, etc. - orientation) of each cell, then calculate then the mean value of all these cells in ...
2
votes
3answers
53 views

How to create custom color ramp using “r.colors” GRASS GIS function?

I am trying to assign a raster/grid a custom color palette in GRASS using the "r.colors" function. r.colors map=Consensus_BRT_RCP85 colors=rules This allows me to input my rules for my color ...
0
votes
0answers
34 views

Is it possible to use d.nviz in QGIS 2.8.2?

I read that this algorithm belongs to GRASS 7 only but GRASS 7 doesn't work in QGIS (Missing dependencies). How do I do that? By the way I want a raster animation with time. And d.nviz can help with, ...
1
vote
2answers
103 views

Shortest Path Matrix with QGIS/GRASS

I signed up just a minute ago, because I am working on my Master's thesis and could not find a working solution for the following problem: I am analyzing Germany's high voltage electricity grid. I ...
2
votes
0answers
43 views

Calculate cover loss between years using r.mapcalc

I am working on forest cover raster data for 2 years and am interested in areas with >5% loss in forest cover. I am pretty new in GRASS GIS, so any suggestions for how to create a difference map of ...
1
vote
3answers
177 views

How to calculate mean aspect in circular statistics?

Measurements of angles (e.g. compass bearings, aspect) are circular in nature (e.g. 0 and 360 degrees coincide) and therefore cannot be meaningfully described by ordinary arithmetic means. I have a ...
0
votes
0answers
17 views

Losing polygons when importing shapefile in GRASS

I have a complicated mapinfo .tab file of wildland urban interface zones. They are represented as polygons. I am importing into GRASS using the following command: v.in.ogr -c dsn="C:....path" ...