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

5
votes
2answers
2k views

How to color-balance false-composites of pan-sharpened Landsat images in GRASS?

Whenever I try to pan-sharpen composites of some Landsat images in GRASS using i.pansharpen, i.fusion.brovey or the IHS sharpening method, the output will have some or all of the following ...
5
votes
2answers
2k views

Quickly create contour polygons from cost points using OSS for web app

This is related to a previous question I've asked: Create filled contour map with GRASS I've created a point layer using OpenStreetMap data and pgRouting's driving_distance() function, where the ...
5
votes
2answers
858 views

Monthly Average Solar Maps (R.Sun) in Grass

I'm trying to create monthly average maps as described in R.Sun in Grass. I have my DSM. In reading the page on OSGEO it mentions that it is possible without showing how. Ideas? I assume I will need ...
5
votes
2answers
6k views

How do you Turn on the GRASS plugin in Quantum GIS?

I downloaded and installed Quantum GIS 1.5.0 with GRASS using the OSGeo4W installer on my Windows XP machine. Unfortunately, when I go to Plugins>Manage Plugins I cannot find the GRASS plugin. When ...
5
votes
1answer
892 views

Calculate flow path with QGIS

I am trying to replicate my erosion model in ArcGIS for Desktop in QGIS 2.4. I tried to calculate the upstream distance along the flow path for my agricultural field using QGIS. I did the equivalent ...
5
votes
2answers
286 views

filling up a depression to create new surface

A collegue here has a problem I cannot help with. She has the surface (as raster) of a landslide release area (from AFTER the slide) and wants to calculate the calculate the theoretical/approximate ...
5
votes
1answer
3k views

How to do Kernel density analysis in QGIS 1.7?

Do someone have some suggestion? We would like to tray Kernel Density analysis as we did with ArcGis using QGIS?
5
votes
2answers
213 views

Vectorize cell boundaries in GRASS

I need to vectorize the cell boundaries of a raster map and I have forgotten how to do this. For instance, if I have a raster map of a region that is just map=1 with a cell size of 500m, I would ...
5
votes
3answers
149 views

Smoothing method for big polygons

I'm looking for an alternative to 'snakes method' for smoothing very big polygons, which I created from SRTM elevation datasets. The problem is that the smoothing is getting stuck after a while with ...
5
votes
3answers
616 views

Create a rectangular buffer from point shapefile using QGIS/GRASS/SAGA GIS/R

I have a points shapefile and I want to create a rectangular buffer (22 x 16 km) around each point. My goal is to create a 16x22 km grid where each of the points is the centroid of the grid. Seed the ...
5
votes
2answers
665 views

Creating contours for specific elevations

Input data: 1. an SRTM raster. 2. Point file of peaks. -Attributes contain ID, x, y, z and the elevation at which the peak is completely isolated from a neighboring peak. The output I want is a ...
5
votes
6answers
3k 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 ...
5
votes
2answers
4k views

How to install add-ons in GRASS?

How do I install the r.inund.fluv script in GRASS? https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.inund.fluv/
5
votes
3answers
2k views

Error when creating a new mapset with GRASS in QGIS

When I try to create a New Mapset with the GRASS plugin in QGIS I get an error or the program crashes. QGIS 2.6.1 (32-bit install, Win7). QGIS crashes completely when clicking "Finish" in the New ...
5
votes
1answer
153 views

How to get r.drain to run in QGIS/GRASS?

I use the GRASS GIS extensions for QGIS (QGIS version 2.12.3 with GRASS 6.4) and I have a problem with the r.drain algorithm: I simply cannot make it work with a given starting point as a vector ...
5
votes
2answers
2k views

How to correctly install QGIS 2.8.3 with GRASS plugin on Ubuntu 14.04?

I already tried to install QGIS 2.8.3 using the procedure described on: http://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubunt, but grass-plugin do not compare on plugin list! I tried ...
5
votes
1answer
297 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 ...
5
votes
1answer
445 views

What are the advantages and disadvantages importing vs linking data in GRASS?

I'm fairly new to GRASS, and only recently discovered the r.external and v.external functions. I'm used to working with R and QGIS where all the data is "external". Typically I keep vector data in ...
5
votes
3answers
6k 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 ...
5
votes
1answer
353 views

Need to remove small areas, but only if they do not have adjoining boundary

I'm generalizing some lat/lon data in grass64 and as a precursor to the generalization, I am removing small areas from the data using 'v.clean'. The following command is working well: $ v.clean ...
5
votes
1answer
762 views

What is north-up projection?

How do I know what projection to use for north-up or 0 rotation? I have a gtiff (ND83-nf) that gives me the error when importing to Grass. Should I re-project or recreate the image with the rotation ...
5
votes
1answer
699 views

Create raster with grid cells values based on area covered by polygons

I have a polygon data with area covered by the forests (data is here - https://www.dropbox.com/s/zgckliydalljw6a/sp_data.zip?dl=0). I want to convert polygons to raster. The value of each grid cell ...
5
votes
1answer
463 views

How to divide a polyline by intersecting isochrones

I have two shapefiles, the first representing a path (a polyline with a single category), the second representing isochrons from the same origin (point 0) which intersect the above mentioned path. I ...
5
votes
0answers
114 views

What Does the Cell Value in a Composite Raster Mean?

When I make a composite raster in QGIS using the GRASS r.composite tool and then click on a certain cell I get these values in the blue/green/red/composite rasters: blue = 124 green = 124 red = 172 ...
5
votes
2answers
372 views

Can I split up v.in.ogr into multiple v.clean commands?

I'm trying to load a large set of polygons into GRASS with "v.in.ogr" and am running out of memory at the "Break Boundaries" stage. I'm wondering if I can break into steps all of the different things ...
4
votes
3answers
506 views

How to install GRASS on Linux Mint?

I'm trying to figure out an error in GRASS network analysis, for several days now. I started to suspect that it has something to do with my OS, namely Windows 7. Hence I installed Linux-Mint 14 ...
4
votes
5answers
1k views

Elevation correction ASTER GDEM2 (+10m)

My ASTER GDEM2 has a average elevation error of -10m for my area. (I testet it using 90 defferential GPS reference points and compared it with old Topo25, SRTM, and GoogleMaps). I would like to ...
4
votes
2answers
773 views

How to determine aerosol model value for i.atcorr in GRASS?

The i.atcorr module in GRASS requires aerosol model data to perform atmospheric correction using the 6S algorithm. It seems like I need a value from one of these parameters to continue: Estimate ...
4
votes
2answers
2k views

1'' DHM: Hillshade is too rough - how to “generalize”?

I got this hillshade from my DHM (I used the hillshade-module from qgis). For my purpose there is too much relief detail (roughness). How can I get rid of this in QGIS or GRASS? Thanks! Martin
4
votes
4answers
3k views

How to open/display and extract NetCDF files info?

I am working with NetCDF files using R & Matlab and I would like to know if the GIS community is using them. I know that ArcGIS can open & display, however most of the times the results are ...
4
votes
2answers
77 views

How can I calculate flow length in QGiS/GRASS?

I have these rasters: DEM Flow Direction Flow Accumulation I would like to calculate the flow distance of every pixel to the outlet of a basin. In Arc-GIS, I can use the flow length. But I don't ...
4
votes
3answers
128 views

Is there a workaround for GRASS i.maxlik 'class' being a keyword in Python?

I am running i.maxlik in python - attempting to automate a processing chain. I use the command: grass.run_command('i.maxlik', group= group, subgroup=subgroup, class='classification', sigfile = ...
4
votes
3answers
3k views

How to calculate LS Factor of Watershed for RUSLE Calculation?

I managed to get subbasins for my catchment (7 km^2) with their areas but I haven't figured out how to get the LS factor (see Revised Universal Soil Loss Equation) from it. I have the vector file ...
4
votes
1answer
2k views

How to create a Digital Elevation Model

How to create a DEM starting from layers shapefile "contour lines" and "shares"? which module of GRASS I need to use? thanks for yours responses....
4
votes
5answers
753 views

How to save a raster and vector into a single PNG file in GRASS?

I am trying to save a raster and vector into a PNG file. The vector is overlayed on top of the raster map. I was only able to save the raster file into a png using r.out.png but without the vector.
4
votes
1answer
368 views

How to calculate “water accumulated in each cell” using QGis?

I create channel network and catchment area from a DEM with SAGA GIS. I know that flow is starting from a cell to an other cell. Firstly, a cell is filled with water and then it is starting to flow ...
4
votes
1answer
567 views

GRASS 6.5 or 7.0 - Need Help with Loop Script

I am new to Python and scripting in general. This is also my first time a posting question. My overall goal is to create a script that I can cycle through all the raster maps in a mapset and then ...
4
votes
1answer
563 views

How to begin with tool development for GRASS gis or QGIS GRASS

I wanted to begin with customized tool development in Grass GIS or QGIS grass. How should i begin in to develop the tool. I search a lot in google search engine for begin with tool development in ...
4
votes
2answers
1k views

How can I calculate the vertical distance to the nearest water?

Summary: I would like to create a raster where each cell contains the vertical distance to the nearest water (a decent approximation would be acceptable). The problem is that I'm not sure how to go ...
4
votes
3answers
934 views

How to get the elevation of the areas in a raster file from SRTM?

I have an SRTM elevation map. How do I get the elevation of each point in the map? I am using GRASS. Is there a GRASS script to do such?
4
votes
3answers
71 views

How to list the available GRASS modules in command line

Using GRASS shell, I know that I can use the -help suffix to get information about a particular module. E.g. r.relief -help will return this: Description: Creates shaded relief map from an ...
4
votes
2answers
372 views

Create network from shapefile without ArcGIS?

I want to perform shortest-path analysis on a network whose edges represent real-world roads and whose nodes are buildings or other locations. I have the shapefile for the area I'm interested in. ...
4
votes
1answer
124 views

Export Region definitions - GRASS GIS

I use two different Landsat datasets in different computers. But the region settings I work is the same. Is it possible to export the region settings in the form of a file in GRASS?
4
votes
2answers
53 views

Keep “no data” tiles with r.reclass rules

Working in QGIS 2.14.0-Wien. I want to reclassify a raster with the r.reclass GRASS 7 tool, but want to keep the "no data" tiles as "no data". I understand that I need to create a text "rules" file ...
4
votes
2answers
508 views

How to create a mosaic in QGIS with cutline and feathering for Landsat-8 imagery

1 - I have two scenes Landsat-8 RGB 6/5/4 and I need to mosaic them: 2- This is my cutline in polygon format that will smooth the overlapping area: 3 - So, I need to create a mosaic with ...
4
votes
1answer
852 views

How to reproduce Smoothing from Generalizer Plugin in v.generalizer in Processing Toolbar using QGIS?

I´d like to reproduce the smoothing operations done with the Generalizer Plugin inside the v.generalizer Toolbox so I can use them on a polygon layer instead of only on a line layer. I tried ...
4
votes
1answer
289 views

Convert downloaded LiDAR info to DEM in GRASS

I have downloaded LiDAR information as a .asc file and a .tif file, and even though I have tried multiple methods to convert them to a dem I am having no luck. Grass GIS says there is an invalid ...
4
votes
2answers
1k views

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 ...
4
votes
3answers
652 views

query raster cell values by point

I have a binary raster (0s and 1s) that I need to query given a set of point coordinates. This is easy enough to do with gdal (gdallocationinfo), but where it get's complicated is that I also need to ...
4
votes
2answers
336 views

How to do a looping to Interpolate a huge Rainfall Time-series in GRASS GIS or R

In GRASS GIS I have access to a table in PostgreSQL Database with this structure: Table Name: rainfall_time_series Columns: id | year | month | day | value_mm | x | y | gauge_code Setting g.region ...