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

0
votes
0answers
28 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
31 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
71 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
119 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
47 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
137 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
47 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
290 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" ...
2
votes
0answers
64 views

Sophisticated generation and calculation of Vector entities from Raster Data?

The first image below is shown a raster wish represents the altitude value. I created this raster by applying this process, bu using this process we can manually select an upper and lower area (so 2 ...
2
votes
1answer
44 views

Extracting area from DEM Raster?

After applying constraints to the DEM I polygonised the raster (using GRASS r.to.vect.area) The result is shown below with a lot of vector with resolution = [30 * 30] Is there any solution to make ...
1
vote
1answer
34 views

Projection change in QGIS after import & export in Grass

I'm working on an application written with Grass command in python and I have a projection problem. First I create a location with belgian lambert 72 (EPSG:31370) in Grass 7.0. After importing all ...
5
votes
0answers
141 views

Can GRASS compute the line graph representation of an input graph?

I'm interested in computing a line graph for an input graph, preferably in GRASS since I'll be using other GRASS network analysis tools afterwards. I couldn't find any reference to line graphs in the ...
0
votes
1answer
57 views

Import BigTiff files in Grass

I am trying to import a raster (geotiff) in Grass with size of 64 GB . It makes me an error like this: ERROR 4: This is a BigTIFF file. BigTIFF is not supported by this version of GDAL and libtiff. ...
0
votes
2answers
74 views

DEM with bathymetric contour lines in GRASS

I am trying to create a DEM from a bathymetric contour lines. Contours are in vector format and the elevation value is negative. To create the surface I have converted the contours in raster (v.to ...
1
vote
1answer
75 views

How to have newly added lines split existing lines where they intersect, using QGIS

I have a line shapefile where the lines form a closed polygon. Using QGIS (2.8 on OSX 10.7) I would like to add lines to the layer, basically splitting the polygon into quadrants. Then, I will need ...
1
vote
1answer
34 views

Duplicated vertices in contour features of GRASS?

I use GRASS to produce contours from DEM (r.contours for SRTM rasters). They looks fine, but most of the line features occures to be duplicated; i.e. verticies duplicated. Here are pictures of output ...
1
vote
1answer
53 views

Looping inside r.mapcalc in GRASS GIS

I have a Land Cover classification map that I created from 2m resolution multispectral imagery and I am trying to downsample the results to a 20m resolution class map. The climate in question is ...
1
vote
1answer
68 views

How to create shadows of buildings with r.sunmask?

I need to create image-raster with shadow of relief and shadow of buildings in one. I know how to create shadow of relief but how i can create shadow of buildings with r.sunmask? I dont know how from ...
1
vote
0answers
56 views

GRASS GIS r.slope.aspect write errors

I am running into an error running r.slope.aspect I have never seen before. When I run it, I get the following output: r.in.gdal complete. Raster map <dem> created. WARNING: map [slope] - ...
8
votes
2answers
280 views

Migrating from ArcGIS to gdal

I would like to collect a table of equivalent or close enough gdal based functions to replace ArcGIS functions (esp in spatial analyst). Are there functions available using gdal to perform the ...
0
votes
1answer
13 views

Move Landsat 7 Image in Grass 7

I got 2 landsat 7 images from the same place but different date of adquisition, image A is well placed, but image B is shifted about 1500 meters east and 14700 meters north. I need to use both images ...
1
vote
0answers
60 views

How to use d.* from a python/bash script in GRASS GIS 7.0?

Do d.* commands from GRASS GIS 7.0 run from a python script? I'm trying with this code: import grass.script as grass grass.run_command('d.mon', start="wx3", resolution = '1') ...
1
vote
1answer
27 views

Adding GeoEye1 sensor to grass i.atcorr

Following the instructions, I've updated the iwave.h and iwave.cpp files using the official spectral responses from DigitalGlobe (In the iwave.h file I don't know if it's necessary to use more ...
2
votes
0answers
26 views

Error using grass script v.lidar.edgedetection

I'm in trouble with the grass script v.lidar.edgedetection. When I try to filter an xyz format dsm the script starts but at the end of it an error message appears (see attached image). Somebody ...
0
votes
0answers
23 views

solar radiation r.sun

I have a dsm and dem for an area. When I try to run r.sun module to calculate solar radiation I receive this error message in the picture. This problem does not occour when I don input slope and ...
2
votes
3answers
109 views

How to export a GTiff with its GDAL colour table, in GRASS, which is suitable for Adobe Illustrator?

I've created a new raster in GRASS, starting from a dem and using the commands r.relief and r.shade. Now I would like to export this new raster as a georeferenced image and import it in Adobe ...
0
votes
1answer
18 views

What causes v.net connect “Failed to find intersection segment” and how to fix it?

In GRASS 7, when running v.net connect, I get the ERROR: Failed to find intersection segment and no output is generated. The only mention of this error Google found is in the source of connect.c What ...
4
votes
1answer
163 views

Grass NVIZ has no output in QGIS 2.8.1 ubuntu 14.04

I am trying to use the Grass7 NVIZ algorithm from the QGIS 2.8.1 toolbox, on ubuntu 14.04. I have enabled Grass7 in the QGIS processing preferences. I have compiled Grass7 from source, and Grass ...
2
votes
0answers
105 views

How to build a GRASS network with node IDs from the line dataset?

I have a dataset of street network links (line geometries). Each network link has a link id, start node id, and end node id attribute. I want to use this network in GRASS, so after importing the ...
0
votes
0answers
37 views

Command Grass in QGIS not work

When I use r.contour or other Grass commands in QGis, I have this error message. Why?
1
vote
1answer
27 views

hdf-eos5 file format import in grass

I want to import AURA-OMI ozone level3 data which is available from http://giovanni.gsfc.nasa.gov/giovanni/ .The data is in hdf5 format. The extension is .he5. Do anyone know how to import in grass. ...
0
votes
0answers
43 views

What's the best neighborhood size to smooth the ASTER GDEM v2, resampled at 1m res, in GRASS with r.neighbors?

Basing on your experience, what neighborhood size could be a good compromise to smooth the ASTER GDEM v2, resampled at 1m res, without affecting too much the edges and the valleys? I have to realize ...
1
vote
1answer
77 views

What's the right way to calculate the scale parameter value for r.relief in GRASS?

I have a little doubt about the way I should calculate the value of the "scale" parameter in the r.relief command in GRASS. In the description section of the r.relief page of the GRASS manual I read: ...
1
vote
0answers
67 views

GRASS GIS r.walk issue

I have been playing around with GRASS GIS to do a simple cost analysis of getting from point A to point B. I have a DEM clipped to the study area, a raster containing the friction costs, as well as ...
1
vote
0answers
30 views

How to smooth a shaded relief map created with the command r.relief in GRASS 7?

How can I smooth a shaded relief map created with the command r.relief in GRASS 7? I read about the plugin r.denoise but I can only find it for GRASS 6... Thanks in advance. Bryan
3
votes
0answers
115 views

Performance difference between focal statistics (ArcGIS) and neighbor (GRAS or QGIS)

I tested minimum, maximum, and average neighbor (circle radius = 161 pixel) using ArcGIS, GRASS and QGIS: ArcGIS (10.1): it takes only one minute GRASS (6.4.3): it takes 123 minutes for every output ...
0
votes
0answers
25 views

Reading L1B ASTER in GRASS using r.in.aster

I'm having a problem getting an ASTER L1B to be read in GRASS using r.in.aster. The output the command shows this: (Wed Apr 8 17:49:03 2015) Command finished (1 sec) (Wed Apr 8 17:49:37 2015) ...
3
votes
1answer
39 views

Generate a raster with a uniform value using QGis

I'm working on a project using the qgis-modeler and i want generate a raster with a uniform value. i'm using r.surf.random function of GRASS which need min and max value but i want have only one ...
0
votes
0answers
179 views

Grass Processing tools via QGIS : v.clean snap, chdangle, and rmdangle

Using QGIS 2.6 Grass Processing tools, I'm trying to clean up topology on a water network layer. I noticed topological errors when first trying to break all lines on intersections using v.clean break. ...
0
votes
2answers
95 views

Ls factor, flow accumulation, watershade, relief in Quantum GIS 2.2

I'm a beginner quantum gis. I want to make the LS factor of 30m DEM that I have merge and set the projection in wgs 84/UTM zone 49S (EPSG ; 37249). I'm having a problem when trying to create relief ...
0
votes
0answers
19 views

Is there a max number of cells which r.surf.contour can interpolate in GRASS?

Nothing less, nothing more... I'm wondering if there's a max number of cells which r.surf.contour can interpolate in GRASS, because I have to interpolate a region of 24000 rows x 23000 columns but I ...
1
vote
1answer
120 views

Unable to start modules in QGIS GRASS plugin (GNU/Linux Debian)

Recently, the Toolbox of QGIS GRASS plugin can't find modules in my GNU/Linux Debian. When I click on any module, the toolbox reports the message: Cannot find module x.xxx and, after, I have the ...
1
vote
1answer
65 views

Old question without answer: R.Neighbors with large neighborhoods?

I'm working on the same theme as User 32882, and I'm new here. I have the same problem, and update his question with more details. Old question: "I'm running into problems running the r.neighbors ...
0
votes
1answer
107 views

Conditional calculation - QGIS Raster Calculator or GRASS r.mapcalculator

Is it possible in QGIS either directly or via plugins to do a raster calculation including an if statement? e.g., if raster1 > 0.3, then raster 1 * raster 2, else raster1 x raster3...something like ...
1
vote
0answers
27 views

wps-grass-bridge misses essential GRASS tool

I set up a Web Processing Service with 52°North and GRASS (using the wps-grass-bridge). I get a similar result like in the online example here: 52°North WPS Demo I assume it would be similar with ...
1
vote
0answers
18 views

QGIS WPS plugin misses one parameter

I set up a Web Processing Service with 52°North and GRASS (using the wps-grass-bridge). All went smooth and I get a proper DescribeProcess for i.cluster. As you can see, I need to give the parameter ...
1
vote
0answers
133 views

Pansharpening Landsat 8 tiles in Grass 7

I am trying to get some nice looking RGB images for visualization purposes, mainly using as background maps, from the Landsat 8 archive. I was following the tutorial provided by Markus Neteler at ...
0
votes
3answers
31 views

Unexpected result converting a vector to a raster in GRASS 7.0.0

My purpose is to create a DEM raster in GRASS 7.0.0 starting from a shapefile containing contour lines. The attributes table has a field named QUOTE_INT containing the elevation as integer. I ...
0
votes
2answers
208 views

Extract Elevation of Points from DEM using Python QGIS or GRASS

I am utterly new to GIS, so please bear with me if I am providing incomplete information here. I have a DEM file (.dt2). What I am looking to do is as follows: take a series of points specified as ...