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

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
669 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
346 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 ...
4
votes
2answers
2k views

How do I split polygons into line segments?

How can I split my polygon file into "segements"? The lines should be broken up like this picture shows:
4
votes
2answers
314 views

How to select a subset of separate bands in GRASS GIS?

As you know landsat data has separate files for different bands. Creating a subset is a wise option to work on region of our interest. Therefore, I used this method to subset my image - d.zoom || g....
4
votes
1answer
473 views

How to know contents of column names in GRASS?

I am using GRASS to extract a specific area from a vector map. Here is the script that I am running: v.extract PHL_map out=makati where="AREA_NAME = 'Makati" The problem is, I don't know what are ...
4
votes
1answer
189 views

basin creation GRASS vs. flow direction

I have a strange behaviour in QGIS with GRASS tools. I am trying to create basins in the alp region and use he SRTM3 data. As I can see on the flow direction raster the SRTM3 data seems to act nice: ...
4
votes
1answer
160 views

GRASS 6.4 Reinstallation for Ubuntu

I need to reinstall GRASS 6.4 on this Ubuntu computer due to compatibility issues. I had installed GRASS 6.4 a few weeks ago to work with a simulation program. I used the command apt-get install ...
4
votes
1answer
112 views

Why can't I see v.net in QGIS GRASS tools

I have noticed answers such as Is there an open source tool to planarize graphs? stating you can use GRASS v.net from within QGIS. However I can't see it - my QGIS processing GRASS toolbox contains ...
4
votes
1answer
258 views

It is possible to verify landsat reflectance values?

My question is really wide today, as I am still beginner in Remote sensing. I´ve asked a GRASS programmer to prepare for me Landsat reflectance values from raw DN values (1 scene per year from 1987 to ...
4
votes
2answers
732 views

Is it possible to produce a decent looking shaded-relief map at 50K-scale-or-larger using SRTM3 DEM?

I'm trying to make a decent-looking shaded-relief map of a particular area in 50K-scale-or-larger using open-source tools. The best (and free) option I have for DEM data for that area right now is the ...
4
votes
2answers
5k views

Converting point grid to raster using GRASS?

If I load the original .csv file, I then have a map of the African continent represented by 14069 data points covering it at 40x40km resolution. Each data point shows solar radiation means across the ...
4
votes
2answers
4k views

How to perform volume calculation in QGIS

EDIT 07/12/12 Ok, meanwhile I came to another problem I want to discuss. I just tried around with the volume calculation with some layers and came to a point where I receive the following error. ...
4
votes
2answers
827 views

Altitude Above channel in GRASS 6.4

i'm fairly new to the GIS world and GRASS (come from econometric background), i would like to do some species distribution modeling using R and GRASS. So i started to read the book of Tomislav Hengl :...
4
votes
1answer
342 views

Cannot locate GRASS plugin in QGIS 2.14.1 on Linux

I am trying to load the GRASS plugin in QGIS but it is not shown in the plugin manager (no matter if I turn on experimental and deprecated plugins). Under processing / options / providers GRASS GIS 7 ...
4
votes
1answer
124 views

What happened to the GRASS Browser in QGIS?

In the past I could display the imported layers in the GRASS toolbox within QGIS. This was possible under the tab "Browser" as you see in the image. Lately I'm missing this tab. The QGIS version is ...
4
votes
3answers
893 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... ...
4
votes
2answers
343 views

Resolution difficulties in Grass

I have gone through similar questions to mine here, but I didn't find a solution. Please help! When cropping a raster image by using g.region & r.mapcalc, I get a new image but the resulting ...
4
votes
1answer
2k views

How to split line at a specified distance and getting coordinates of start and end points of each line segment?

I tried v.split in GRASS: and my notebook ran a lot of time but showed this error:bad allocation, then I click "OK", and got nothing. Are there other ways to split lines?and I hope to get 2 new ...
4
votes
2answers
623 views

How to enable GRASS plugin in QGIS 1.8.0 (Linux Mint 13 - 64 bit)?

Every time I enable GRASS plugin in QGIS (Plugins -> Manage Plugins -> GRASS), I got a message: Exception - G_getenv(): Variable GISDBASE not set. I googled and found some information here but don't ...
4
votes
4answers
2k views

Where can I find a tutorial for installing an addon to GRASS GIS that a six-year-old could understand?

I want to use the r.stream.distance addon in GRASS GIS 6.4 on ubuntu 10.04 (64 bit). I've installed grass from the repositories and that works fine but I can't seem to figure out how to install this ...
4
votes
1answer
882 views

How to extract features from a vector layer?

I have a vector file containing the river lines of an area. I want to extract a specific water line from the vector. I used: v.db.select but it only displayed: cat|F_CODE_DES|HYC_DESCRI|NAM|ISO|...
4
votes
1answer
132 views

v.kernel is missing under Processing Toolbox GRASS GIS 7 commands

I installed the QGIS Standalone Installer Version 2.14 (64bit), that automatically contains GRASS 7.0.4. I created a map with several layers and rasters in the program called QGIS Desktop 2.14.3 with ...
4
votes
1answer
84 views

Looking for similarity analysis tool between raster and vector layers in QGIS?

I'm aiming to do a similarity analysis between a raster layer and a vector layer. The raster layer is a 5-class ice map and the vector layer (points) contains ice jam events data. The goal here is to ...
4
votes
2answers
960 views

minimum distance from the shore (how to retrieve the “shore vertices”)

I am student of Statistics, this is my first time using GIS., I am sorry for the stupidity of the question but I browsed online and could not find a satisfactory answer. I have some spatial data in ...
4
votes
1answer
97 views

How to choose a GRASS kernel density function?

I'm starting to use the Grass module on QGIS, and I want to do a heatmap, so, I'm creating a new surface using the kernel function. But, GRASS come with 7 types of kernel functions, how do I know ...
4
votes
1answer
676 views

R gridding and contouring options

I want to make an interactive web mapping application, which will grid and contour user data. My plan is to implement R scripts with Shiny, but the only R package I can find to do this is gstat. And ...
4
votes
1answer
4k views

How to find the watershed area for each point in the river network using DEM?

Update#1: Thanks, Micha, I have followed your instruction and successfully use the modules in GRASS. I use r.watershed to get the basin raster and the drainage line: and I use r.water.outlet to get ...
4
votes
1answer
913 views

How to repair and clean contours from high data resolution (lidar)?

I'm unsuccessfully trying to make a bathymetric map with contours extracted from Lidar data at 1 m resolution. The extracted contours have a lot of artifacts like dangles and islands. First I used ...
4
votes
1answer
474 views

Topology problems with QGIS/GRASS

*edited file links below I'm working on several NGO projects at the moment, all of which are reliant on being able to use a district level map with some 490+ features, and I am running into some ...
4
votes
1answer
246 views

Programmatic raster-vector calculation

I currently use GRASS' r.mapcalc to find the difference between vector and raster data using a loop and temporary files and layers. Is it possible to do the core calculation between raster with a ...
4
votes
1answer
4k views

Importing shapefile in grass

I have very simple shapefile, which consists of couple of polygons, and I wanted to snap boundaries automatically. Unfortunately qgis doesn't have such function, but grass has according this answer: ...
4
votes
1answer
164 views

GRASS r.grow doesn't seem to change raster values at all

I have a raster map in GRASS that looks like this: The red cells have a value of 1, the yellow cells have a value of 0. I am trying to use the r.grow command to 'fill in' the gaps in the red lines,...
4
votes
1answer
383 views

Multishading: bring them together to one Raster-Image

I made a multi-hillshade with 4 different light-directions and colors and stacked one above the other, each with its own transparency. Now I want to "save" the result in one raster-image. Whats the ...
4
votes
1answer
67 views

GRASS GIS temporal raster individual layer statistical summary

I have created a temporal raster in GRASS GIS which has 90 layers. I would like to extract the mean of each raster layer and export it as text file. Right now I have to export the rasters as GeoTiffs ...
4
votes
1answer
190 views

How to use grass.script in MacOS

I have installed Python and Grass6.4 using Macports. When I tried to use "import grass.script" in python environment, it gives "no module found" error. I'd spend much time to fixed it but could not ...
4
votes
2answers
428 views

95 percent volume contour

I generated, from point data, a kernel density map using GRASS, and I would like to identify the 95% volume contour in it. Is it possible in GRASS? Thank you
4
votes
1answer
981 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 ...
4
votes
2answers
380 views

Autocorrelated DEM with QGIS or Grass

I was wondering if there is a way to make an Autocorrelated DEM within QGIS or Grass. I am looking to do this with stereo aerial photography. I am able to do this with a number of COTS tools, but I ...
4
votes
2answers
226 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 ...
4
votes
1answer
353 views

How can I avoid reprojection gaps when merging DEM rasters?

I have two raster DEMs in same resolution I want to bring together. I was using the merge-function in SAGA, GRASS and QGIS but I always get the following result: What do I need? Where could the ...
4
votes
1answer
216 views

Help installing add-on in GRASS, I get an error message

My Grass gives me this error message, Grass_info_error(4816,1):'make' required. Please install 'make' first. This happens when I attempt to fetch an add-on (r.viewshed). What am I doing wrong? and ...
4
votes
1answer
162 views

How are r.horizon results aligned?

I used r.horizon to calculate horizon on a raster every 10° without any offset. I have got 36 files now. Is the first file from 0° to 10° (then centered on azimuth=5°) or is it centered on 0°, in ...
4
votes
1answer
2k views

Convert shapefile lines to a polygon in GRASS

I have a shapefile of a map that is the outline of a number of islands. I would like to convert the lines into polygons (ie all islands filled in) using GRASS. I searched on how to do this with GRASS ...
4
votes
1answer
61 views

Reshape polygon to boundary of other polygon

I have two polygons. The first one has a white background and brown boundary. To othr has the pink background. how is it possible to reshape to first polygon to the boundary of the other polygon?
4
votes
1answer
47 views

What is the “t” in i.landsat.toar

I'm using GrassGis 7.0.0 for Landsat imagery. In the description of i.Landsat.toar under dos3 and dos4 is: TAUz = exp[-t/sin(e)] What is "t"? I cannot find any description about what it is. Can ...
4
votes
0answers
130 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 ...
4
votes
0answers
336 views

Error when using r.watershed in QGIS 2.10.1 with Grass

I am running r.watershed within QGIS processing the I get the error below. I draw your attention to: GRASS_INFO_WARNING(2205,1): Subprocess failed with exit code 256 GRASS_INFO_END(2205,1) ...
4
votes
0answers
157 views

What open source solution would work best for auto extracting features from satellite images? [duplicate]

Possible Duplicate: Feature Extraction - Land cover I have been looking for an open source solution which would allow me to define a region (or collection of images) and extract features from ...
3
votes
1answer
3k 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 ...