Category Archives: GRASS GIS

Checking the analogies of known places

On the GRASS user email list, a new script for GRASS GIS was just announced; r.finder. The script can be used to check the analogies of places with known characteristics and to show the most similar areas in the region. … Continue reading

Posted in GIS, GRASS GIS, research tools | Tagged , , , | Leave a comment

Find and select duplicate values in your vector attribute table

Suppose you have a vector layer in your GRASS GIS database and you want to find all duplicate values in one of the columns of the attribute table of that layer? If you are using SQLite or PostgreSQL as the … Continue reading

Posted in Data handling, GRASS GIS, SQLite | Tagged , , , , | Leave a comment

Creating polar diagrams with confidence intervals in R

The function r.polar in GRASS GIS allows you to create simple polar diagrams of e.g., the slope aspect or wind directions. These polar diagrams make it easy to spot directional bias, for example in the distribution of the slope aspect … Continue reading

Posted in Data handling, GRASS GIS, R computing environment | Tagged , , , , | Leave a comment

Creating polar diagrams in GRASS GIS

There are so many functions in GRASS GIS that it is easy to miss one or two. One functions I recently came across through this tutorial is the d.polar function. This function draws a polar diagram of angle map such … Continue reading

Posted in GRASS GIS | Tagged , , , , | 2 Comments

If you run out of memory, split up your data

Most functions of GRASS can handle very large data sets. With a few functions you might run out of RAM though. One of these is the r.random.cell. This is a function that generates a random sets of cells with spatial … Continue reading

Posted in Data handling, GIS, GRASS GIS, R computing environment | Tagged , , | Leave a comment

Sexante toolbox for QGIS

QGIS already has very strong analytical capabilities through its GRASS toolbox. Now, this is further extended by a new plugin that offers direct access to the Sextante toolbox. With this toolbox, QGIS can tap into 300+ functions from SAGA GIS … Continue reading

Posted in GIS, GRASS GIS, QGIS | Tagged , , , , , , | 1 Comment

Changes in the r.mapcalc syntax in GRASS GIS 7

After some frustrating failed attempts to do some simple raster calculations in GRASS (version 7.0), I found out there is a small change in the syntax for r.mapcalc in GRASS GIS 7:

Posted in GRASS GIS | Tagged , , | Leave a comment

Add geometry values to vector layer in GRASS GIS

In my previous post I explained how to add geometry values to the attribute table of a vector map in QGIS. You can do the same in GRASS GIS. It is slightly more complicated (don’t worry, it is still easy … Continue reading

Posted in Data handling, GIS, GRASS GIS | Tagged , , , , , | 1 Comment

Start R inside GRASS but keep the terminal prompt

I often run R from within GRASS GIS. For example using R as a scripting language to automate GIS analysis. Or to use statistical models in R on spatial data in GRASS. I used to open R in the terminal. … Continue reading

Posted in GRASS GIS, R computing environment | Tagged , , , , , , | Leave a comment

GRASS GIS: creating cross products of multiple raster map layers

I am looking at vegetation distribution in east Africa, using a map we have developed based on historical vegetation maps from the region, and I wanted to know the surface area per vegetation type per country. In ‘spreadsheet terms’, I … Continue reading

Posted in Data handling, GIS, GIS software, GRASS GIS | Tagged , | 4 Comments