AddOns/GRASS 6

From GRASS-Wiki
Revision as of 09:51, 16 October 2012 by ⚠️Landa (talk | contribs)
Jump to navigation Jump to search

Back to the main AddOnsAddOns / GRASS 7AddOns / GRASS 5AddOns / GRASS 4

See also

svn co https://svn.osgeo.org/grass/grass-addons/grass6/

Vector add-ons

See also

svn co https://svn.osgeo.org/grass/grass-addons/grass6/vector

v.adehabitat.clusthr, v.adehabitat.kernelUD, v.adehabitat.mcp

Tools to calculate home ranges of animals
Author: Clement Calenge

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/vector/adehabitat

v.append

v.append is a shell script combining two vector files AND their associated attribute tables. The vector files should be of the same type and, for best results, should have identically formatted attribute tables.
Note: also module v.patch can be used for this task.
Author: Michael Barton

v.autokrige

v.autokrige achieves automatic ordinary kriging from GRASS sites (vector point data), using R with spgrass6 (RGRASS) and automap packages.
Author: Mathieu Grelier

v.breach

v.breach creates vector maps of lines and points of continously lowering elevation down the input watercourses, based on the input raster DEM.
Author: Maciej Sieczka

v.colors

v.colors moved into main archive

v.count.points.sh

v.count.points.sh counts point features in areas, generates table good as input to d.vect.chart.
Author: Stefano Costa

v.digatt

v.digatt (shell script) Interactively assign numeric table attributes to series of vector objects. It is meant to be effective by avoiding to type in the attribute value for all single objects again and again. The user is prompted for typing in an attribute value which is assigned to all objects selected by mouseclick afterwards. Next the display is redrawn after updating the table column. Zooming allows to change the region before the old value can be reused or a new one can be typed in (or copied by mouse from another object) in order to assign it to the next series of objects etc. It is tested not very extensively yet. Therefore better work with a copy of your map and consider using v.digit or d.what.vect -e alternatively. screenshot.
Author: Andreas Philipp

v.dip

v.dip creates points of thickness vectors from the vectors of strike and dip angles. The v.dip is the main ANSI C core program. Program so-called v.dip can run without GRASS environment.
Author: Marcin Slodkowski

v.flip

v.flip flips the direction of selected vector lines (redundant since GRASS 6.3 - there is "v.edit tool=flip").
Author: Maciej Sieczka

v.group

v.group generates a new vector map with the same geometry as an existing map. The new map has categories and a table based on grouping by the values in certain columns of the existing map's table. The values in these columns are preserved in the table for the new map. It's like a v.reclass that preserves data.
Author: Cedric Shock

v.in.gama

Converts GNU GaMa XML output file to a GRASS vector map layer.
Author: Martin Landa
svn co https://svn.osgeo.org/grass/grass-addons/grass6/vector/v.in.gama

v.in.geodesic

v.in.geodesic is a shell script which will create a new vector map containing a great circle line. The user may either define a beginning and end coordinate, or define a starting coordinate along with initial azimuth and desired line length.
Author: Hamish Bowman

v.in.geoplot

v.in.geoplot converts a Geoplot ASCII export file to a GRASS vector map layer.
Author: Benjamin Ducke
svn co https://svn.osgeo.org/grass/grass-addons/grass6/vector/v.in.geoplot

v.in.gshhs

v.in.gshhs imports GSHHS shorelines into a GRASS vector map. GSHHS data are automatically reprojected to the current location.
Authors: several, updated to GRASS 6 by Markus Metz

v.in.marxan

v.in.marxan is a python script that imports Marxan output data for display in a vector grid file prepared using v.out.marxan.
see also the Marxan
Author: Trevor Wiens

v.in.mbsys_fnv

v.in.mbsys_fnv imports MB-System navigation files into a GRASS vector map. You can choose from swath area coverage, track lines (including outer port/starboard edges), all bounds as points, etc. An attribute database is created containing the vital statistics of the specified feature such as track length or swath coverage (geodesic), start stop time and location, pitch, roll, heave, etc. See also the #v.in.p190 addon.
Author: Hamish Bowman

v.in.ncdc

v.in.ncdc imports an NCDC stn file (station data) into a GRASS vector map.
Author: Huidae Cho

v.in.osm

v.in.osm: OpenStreetMap import into GRASS. Yet only supports deprecated API 0.4, will be modified to work with API 0.5 some time soon.
Author: Jannis Achstetter
See also osm2grass.sh by H Bowman

v.in.osm2

v.in.osm2: OpenStreetMap import into GRASS. Supports current API 0.6, downloads using the Xapi interface and imports using GpsBabel 1.3.5 or newer. GpsBabel restricts to either nodes or ways being imported at a time, not both. Use v.patch to rejoin them. (work in progress)
Author: Hamish Bowman

v.in.ovl

v.in.ovl is a shell script that imports an ASCII vector file created with TOP10|25|50 or similar products.
Author: Peter Löwe

v.in.p190

v.in.p190 is a shell script that imports 'Centre of Source' "S" navigation data from seismic P1/90 (UKOOA) data files and writes it either GRASS vector points or vector lines format. Optionally it will export the navigation data into .csv text files as well. Currently in the functional prototype stage, some assembly is required. See inside the shell script for details. For working with SEG-Y data, see also the #v.in.mbsys_fnv addon.
Author: Hamish Bowman

v.in.ply

  • GRASS 6: v.in.ply is a shell script that imports a PLY file and writes it as GRASS vector points. For a much more advanced version, see the GRASS 7 version.
Author: Markus Neteler
  • GRASS 7: v.in.ply is a C program that imports a PLY file and writes it as GRASS vector map.
Author: Markus Metz

v.in.postgis

v.in.postgis Create a GRASS layer from any sql query on PostGIS data.
Author: Mathieu Grelier

v.in.redwg

v.in.redwg imports DWG files into GRASS.
Author: Rodrigo Rodrigues da Silva
svn co https://svn.osgeo.org/grass/grass-addons/grass6/vector/v.in.redwg

v.krige

v.krige aims to integrate R functions for kriging (packages automap, gstat, geoR) in a trasparent way. Moved into trunk/devbr6 code (r40048)
Author: Anne Ghisla, as Google Summer of Code 2009 project
See also GRASS_AddOns#v.autokrige by Mathieu Grelier

v.lda.py

  • Spatial Analysis Tools
v.lda.py is a Python script for calculating Ian Johnson's (U. Sidney) Local Density Analysis values. This can be used in two ways. When only one vector points file is entered, it serves to measure clustering of point data at different neighborhood radii. When two different point files are entered, it measures the the co-occurence of the points from the two files. There is an option to export the data into a cvs format file for easy plotting in a spreadsheet or statistical program like R.

v.nn.py

  • Spatial Analysis Tools
v.nn.py is a Python script for calculating the nearest neighbor coefficient of a single vector points file--as an index of clustering--or of two points files--to provide an index of the correspondence between the points in one file and points in a different file.

v.ldm

v.ldm Shell script to compute "Linear Directional Mean" of vector lines, to display LDM graphics on the graphic monitor, and optionally to save it to vector line and update attribute table with LDM parameters.
See this link for full LDM description.
Author: Alexander Muriy

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/vector/v.ldm/

v.line.center

v.line.center creates a points vector map with each point located in the middle of the length of the input vector line.
Author: Maciej Sieczka

v.lmeasure

v.lmeasure and v.revlmeasure are two perl scripts that place equidistant vector points along a given arbitrary vector line starting from the beginning or end of the vector line, respectively. Resulting vector points are labeled with the distance from origin.
Author: Mats Schuh

v.mainchannel

v.mainchannel is a shell script which finds the main channel of a basin starting from the vector file of the stream network.
Author: Ivan Marchesini, Annalisa Minelli

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/vector/v.strahler/v.mainchannel.sh

v.mk_circle

v.mk_circle is a program to create a closed vector at a user defined location and size. The program supports output of different shapes, open boundaries and closed centroids, and will accept multiple locations and sizes from an ASCII file or standard input. GRASS 7 version is also available.
Author: Bob Covill

v.mkhexgrid

v.mkhexgrid is a python script that creates a hexagonal grid the size of the selected region using user specified side lengths or areas. This has been updated 2011-09-14.
Author: Trevor Wiens

v.out.ascii.db

v.out.ascii.db is a shell script for exporting vector point data coordinates and selected attribute columns to either a file or to the console.
Superseded in GRASS 6.4 by the new v.out.ascii columns= option.
Author: Hamish Bowman

v.out.ascii.mat

v.out.ascii.mat is a shell script for exporting vector polygon and polyline data into an ASCII text file suitable for loading into Matlab (or Octave).
Author: Hamish Bowman

v.out.geoserver

v.out.geoserver is a shell script for exporting vector data to GeoServer directly. It uses: v.out.ogr, curl, zip and GeoServer REST interface.
Author: Pawel Netzel

v.out.gmt

v.out.gmt is a shell script that exports a polygon vector file into GMT xy file. psbasemap code was copied from Hamish's r.out.gmt.
Author: Huidae Cho, Hamish Bowman, Dylan Beaudette

v.out.kml

v.out.kml is a shell script that exports a vector file into a KML file for Google Earth or Worldwind. see also r.out.kml and r.out.gmap
Author: Peter Löwe

v.out.marxan

v.out.marxan is a python script that prepares vector layers and exports GRASS vector attributes and adjacency information as Marxan input files. Output from Marxan simulations can be imported using v.in.marxan.
see also the Marxan
Author: Trevor Wiens

v.out.ply

v.out.ply is a shell script that exports a GRASS vector points cloud into a PLY file.
Author: Markus Neteler

v.out.svg

v.out.svg is a module that exports SVG notation along with optional attribute data directly from GRASS 6.x vector layers. Now part of grass6-svn.
Author: Klaus Förster

v.points.cog

v.points.cog is a shell script which will create a new point at the center of gravity of each cluster of input points or centroids, grouped by attribute. Among other things this is useful for labeling swarms of points.
Author: Hamish Bowman

v.profile

v.profile is vector map profiling tool similar to r.profile. This module will print out distance and attributes to points/lines along profiling line. It's also usefull to determine places where raster profile crosses vector features (i.e. where to place river marker on river walley crossection).
Author: Maris Nartiss

v.random.cover

v.random.cover is a shell script for creating random points constrained within an irregularly shaped vector area. (v.random places points only in current region rectangle). Optionally the user can upload raster values at the points. See also 'r.random cover= vector_output='
Author: Hamish Bowman

v.rasterbounds

v.rasterbounds is a shell script for creating polygon-vector file of rasterfile boundaries. The best version of GRASS is 6.1+. If you are using GRASS < 6.1, you have to be in the same mapset as your raster maps are from.
Author: Jachym Cepicky

v.rast.stats2

v.rast.stats2 is an adapted version of the GRASS module v.rast.stats. It uses the grass addon r.univar.zonal to speed up calculation of univariate statistics from a GRASS raster map based on vector polygons.
Authors: Markus Neteler, Otto Dassau

v.sample.buffer

  • Currently unavailable. Being re-written in python. Target for inclusion in addons svn is January 2011

v.sample.buffer is a shell script that samples rasters in buffers of a specified size around features in a specified vector file. Sampling results are added as attributes to the vector file. This script was designed for sampling vegetation indices and DEM derived attributes for bird point counts. Sampling results can be one or more basic statistics such as mean, range, max, etc.

Author: Trevor Wiens

v.select.region

v.select.region is a shell script that prints out the names of all vectors matching an input search pattern that has geometry (points, line, areas) that fall within a region bounded by an existing vector map, or within the current Grass region.
Author: Eric Patton

v.selmany

v.selmany is a shell script that allows to interactively select a set of vector objects on a given layer, then assign them attribute values in a connected database table. The script runs on the command line prompt and within a graphic monitor ; it does not work with DBF driver.
Author: Vincent Bain

v.surf.icw

v.surf.icw is an IDW interpolation method using true distance cost instead of euclidean shortest distance, i.e. as the fish swims around an island not as the bird flies. This will cleanly travel around hard barriers and a cost surface map may be used to model expensive-cross barriers. Input data points do not need direct line of sight to be considered, but should be kept to less than one hundred as the module becomes very computationally expensive. A number of radial basis function options are available. (screenshot)
Author: Hamish Bowman

v.surf.idwpow

v.surf.idwpow integrates the common v.surf.idw algorithm with the exponential parameter for the distance weights
Author: Giovanni Allegri

v.surf.krige [deprecated: use v.autokrige instead]

v.surf.krige is a script that do a surface interpolation from vector point data by Kriging method. The interpolated value of a cell is determined by using an omnidirectional variogram model fitted starting from model parameter given by user shown from the experimental semi variogram produced by v.variogram. The script can perform also the Leave-One-out cross validation to test the variogram model "fitted by eye" and an automatic fitted variogram model. The cross validation helps the user to choose the best variogram model to interpolate own data.
Author: Pierluigi De Rosa.

v.strahler

v.strahler is a module that calculates the Strahler Order for all lines of a given dendritic network.
Author: Florian Kindl. Available via SVN or g.extension:
svn co https://svn.osgeo.org/grass/grass-addons/grass6/vector/v.strahler

v.swathwidth

v.swathwidth creates a vector map representing the sea bottom coverage of a multibeam (swath) sonar survey.
(Screenshots)
Authors: David Finlayson, Hamish Bowman

v.thickness

v.thickness creates points of thickness vectors from the vectors of strike and dip angles.The v.thickness is GUI GRASS script for v.dip.
Author: Marcin Slodkowski

v.transect.kia

v.transect.kia calculates kilometric abundance indexes (KIA), a common indirect presence index used in wildlife monitoring along line transect surveys.
Path lenghts can be corrected by draping on a DEM, different type of point objects can be weighted according to their relative importance, and paths can be segmented using a further polygon vector (to calculate, say, abundances per elevation range or per habitat class).
The module is written in bash and needs a GRASS install compiled with sqlite support.
Author: Clara Tattoni and Damiano G. Preatoni

v.transects

v.transects is a python script that creates a set of equidistant lines (transects) that are perpendicular to an input vector line file. Points and quadrilateral areas are alternative outputs.
Author: Eric Hardin

v.trees3d

v.trees3d is a module for making 3D trees from input vector point file.
Author: Jachym Cepicky


v.triangle

v.triangle -- front-end for <Triangle> utility (http://www.cs.cmu.edu/~quake/triangle.html) of J.R. Shewchuk.

Makes exact Delaunay triangulations, constrained Delaunay triangulations, conforming Delaunay triangulations and high-quality triangular meshes. In GIS terminology, it produces 2D TIN, optionally with "breaklines". For more details see GRASS-wiki page TIN with breaklines.

Author: Alexander Muriy

v.trimesh

v.trimesh creates a triangular mesh from a vector map using areal constraints for refinement. It uses Jonathan Shewchuk's Triangle library.
Author: Jaime Carrera

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/vector/v.trimesh/

v.to.averline

v.to.averline is a shell script to find "average" line(s) of input vector map. It works with simple algorithm stated here (2 methods -- average distance to vectors sampling or average number of vectors segments).
Author: Alexander Muriy

v.to.equidist

v.to.equidist is a shell script that generates vector points or line segments along a given vector line(s) with the equal distances (uses v.segment)
Author: Alexander Muriy

v.what.rast.buffer

v.what.rast.buffer is a script that calculates univariate statistics of raster map(s) from buffers around vector points. Results are written to a file. Resolution is taken from each input map.
see also the StarSpan software
Author: Hamish Bowman

v.variogram

  • [deprecated: use v.autokrige instead]
v.variogram is a script that create an omnidirectional experimental semi-variogram. This scripts require R-statistics software installed on your machine. Now the script is updated to run on spgrass6 >= 0.3 and sp >= 0.9 reply.
Author: Ivan Marchesini, Pierluigi De Rosa.

v.vect.stats

v.vect.stats counts the number of points falling into each polygon and optionally calculates statistics from numeric point attributes for each polygon. v.vect.stats is a C module for GRASS 6.4 and 6.5 (see enclosed patch for 6.5, applies also to 6.4.2) and included in GRASS 7.
Author: Markus Metz

AniMove

AniMove is software for analysis of animal movement and ranging behaviour using QGIS+GRASS+R.
Authors: Support by Faunalia.it

Utilities

Shapemerge
shpmerge merges all the shapefiles in the current directory into a single output shapefile
Authors: Perrygeo

Raster add-ons

See also:

svn co http://svn.osgeo.org/grass/grass-addons/grass6/raster

Raplat

GRASS-RaPlaT: The Radio Planning Tool for GRASS GIS system developed by support of Slovenian largest mobile operator Mobitel. It is especially designed for radio coverage calculation of GSM/UMTS systems, but can be applied also to other wireless systems in the frequency range 400 MHz – 2.4 GHz (e.g. TETRA, WiFi). Its structure is modular and characterized by high level of flexibility and adaptability.

* Documentation: http://commsys.ijs.si/en/component/content/article/54-software/149-user-manual
* Software: http://commsys.ijs.si/en/software/grass-raplat
Author: Department of Communication Systems, Jozef Stefan Institue, Jamova 39, SI-1000 Ljubljana, Slovenia

r.area

r.area Very simple module. Calculate area size (in cells) for every individual category in input raster map and write number of cells as the value of each cell in the area. Optionally write a binary coverage map and set a minimum area threshold. Works well with r.clump.
Author: Jarek Jasiewicz

r.basin

r.basin Generates the main morphometric parameters of the basin starting from the digital elevation model and the coordinates of the basin's closing section (see wiki for howto).
Author: Margherita Di Leo, Massimo Di Stefano

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.basin/

r.bilateral

r.bilateral Bilateral filter is an edge-preserving filter, which combines domain and range filtering. It is written in C language.
Author: Jachym Cepicky

r.broscoe

r.broscoe.sh calculates waerden test and t test statistics for some values of threshold area on a single basin, according to A.J.Broscoe theory (1959). Dependence: v.strahler package.
Authors: Ivan Marchesini, Annalisa Minelli

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/vector/v.strahler/

r.boxcount

r.boxcount and r.boxcount.sh calculate the fractal dimension for a given map. These are versions for grass6 of Mark Lake's modules for grass43.
Authors: Mark Lake, grass6 port: Florian Kindl.

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.boxcount/
svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.boxcount.sh/

r.burn.frict

r.burn.frict converts vector geometries to raster cells, using a simple anti-aliasing method to close "gaps" between diagonal cells. Useful for "burning" vector geometries into a friction surface, making sure that simulated movement does not "slip" through converted cells that have only diagonal neighbours.
Author: Benjamin Ducke
svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.burn.frict

r.clump2

r.clump2 is a C module similar to r.clump. Differences are: diagonally adjacent cells are also clumped but can be excluded, NULL (nodata) cells are always excluded, and selective clumping with start coordinates is supported.
Author: Markus Metz
svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.clump2

r.colors.out_sld

r.colors.out_sld is a shell script used to export the color table associated with a raster map layer to an OGC SLD XML file, for use with GeoServer and the ilk.
Author: Hamish Bowman

r.colors.out_vtk

r.colors.out_vtk is a shell script used to export the color table associated with a raster map layer to a VTK XML file. (see also Help with 3D)
Author: Hamish Bowman

r.colors.quantiles

r.colors.quantiles is a shell script used to create raster colors rules based on nquantiles. It uses R and spgrass6 package (RGRASS).
Authors: Mathieu Grelier

r.colors.stddev

r.colors.stddev moved into main archive

r.connectivity.distance

r.connectivity.distance is a shell script, which is - as a part of the r.connectivity.* tool-chain - intended to make connectivity analysis based on graph-theory more easily available to conservation planning. r.connectivity.distance computes the (cost) distance between all habitat patches of an input vector map within a user defined euclidean distance threshold.
See also #r.connectivity.network and #r.connectivity.corridors
Author: Stefan Blumentrath, NINA

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.connectivity.distance/

r.connectivity.network

r.connectivity.network is a shell script, which is - as a part of the r.connectivity.* tool-chain - intended to make connectivity analysis based on graph-theory more easily available to conservation planning. r.connectivity.network performs the (core) network analysis and computes connectivity measures for a set of habitat patches based on graph-theory (usig the igraph-package in R).
See also #r.connectivity.distance and #r.connectivity.corridors
Author: Stefan Blumentrath, NINA

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.connectivity.network/

r.connectivity.corridors

r.connectivity.corridors is a shell script, which is - as a part of the r.connectivity.* tool-chain - intended to make connectivity analysis based on graph-theory more easily available to conservation planning. r.connectivity.corridors computes corridors between habitat patches for edges from r.connectivity.network based on (cost) distance raster maps from r.connectivity.distance and assigns user defined weight to the corridors.
See also #r.connectivity.distance and #r.connectivity.network
Author: Stefan Blumentrath, NINA

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.connectivity.corridors/

r.convergence

r.convergence calculate topographic convergence index, useful to detect lineamets represented by chanell/ridge system
Author: Jarek Jasiewicz

r.cpt2grass

r.cpt2grass is a GRASS script for importing a GMT .cpt color table into GRASS. It can save to a text file suitable for r.colors or automatically apply the color table to a raster map.
For a large collection of GMT .cpt files see http://sview01.wiredworkplace.net/pub/cpt-city/
Other palette ideas from Univ. Oregon and NASA/Goddard's OceanColor (latter partially translated for use with GRASS on the grass-addons SVN).
Author: Hamish Bowman

r.csr

r.csr integrates several Grass programs to produce colored, shaded-relief rasters in one step. Accepts single or multiple elevation/bathymetry maps as input; optionally will fill data holidays with 3x3 median filter, multiple times, if required; can apply color maps from a) input raster, b) another raster in MAPSET, or c) from a rules file; otherwise, rainbow colorbar is applied. Output colored, shaded-relief rasters can optionally be exported to tiff format if the appropriate flag is given. Shading parameters can be modified, though useful defaults are given.
Author: Eric Patton

r.cva

r.cva is a cumulative viewshed analysis module. It is an advanced version of the r.los program.
Author: Mark Lake

Available via SVN or g.extension:

 svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.cva/

r.denoise

r.denoise denoises (smooths/despeckles) topographic data, particular DEMs derived from radar data (including SRTM), using Xianfang Sun's denoising algorithm. It is designed to preserve sharp edges and to denoise with minimal changes to the original data. See the manual pages for details. Further information on Sun's denoising algorithm, including an example, is available here.
Author: John Stevenson

r.dominant_dir.m and r.calc_terraflow_dir.m

dominant_dir.m and calc_terraflow_dir.m are two Matlab scripts for determining the dominant flow direction from a r.terraflow MFD map and converting into a GRASS aspect map for use with d.rast.arrow, etc.
Author: Hamish Bowman

r.diversity

r.diversity calculates selected diversity indices by calling various r.li commands.This script uses the Pielou, Renyi, Shannon and Simpson indices. The output is a map for each index.
Author: Luca Delucchi, Duccio Rocchini

r.eucdist

r.eucdist creates a raster map estimating the euclidean distance from known cells.
Author: David Finlayson

r.forestfrag

r.forestfrag.sh creates forest fragmentation index from a GRASS raster map (where forest=1, non-forest=0) based on a method developed by Riitters et. al (2000). So far only running/tested on GRASS 6.4 and only with 3x3 moving window (shell-script has to be adjusted for other window-sizes)
Author: Maning Sambale, Stefan Sylla

r.fragment

r.fragment fragments a raster into a user-defined set of smaller tiles according to an input number of rows and columns.
Author: Eric Patton

r.fuzzy

r.fuzzy Calculates membership of every cell in raster according membership function defined by user.
Author: Jarek Jasiewicz


r.fuzzy.logic

r.fuzzy.logic Perform fuzzy operators (AND, OR, NOT, IMP) on membership's map using T-norms and T-conorms for 6 most popular families.
Author: Jarek Jasiewicz

r.fuzzy.system

r.fuzzy.system Perform full fuzzy clasificationwith 6 most popular fuzzy logic families and few methods of deffuzification.
Author: Jarek Jasiewicz
svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.fuzzy.system

r.game_of_life

r.game_of_life is a shell script which runs Conway's classic Game of Life using GRASS raster modules. It is meant to demonstrate how easy it is to program cellular automata in GRASS as well as various 3D raster volume and time series visualization techniques.
Author: Hamish Bowman

r.gauss

r.gauss is Gaussian and Laplacian of Gaussian filter for GRASS. It is written in C language.
Author: Jachym Cepicky

r.gradgrid4

gradgrid4 is a tool for interpolating values of discrete data points to a raster map, applying a local regression approach with a predictor raster. The model is based on shell and python scripts as well as an R batchfile. It was tested on Fedora Core 6 with GRASS 6.2.1 and R 2.5.1, but should work under most UNIX systems. After unzipping the gradgrid4 folder, store it at any place in your local file system. In the subfolder docs you can find a manual and a publication draft with a detailed description of the concept and the example of an application. The subfolder testloc constitutes a GRASS location with test data.
Author: Martin Mergili

r.hazard.flood

r.hazard.flood is an implementation of a fast procedure to detect flood prone areas. The exposure to flooding may be delineated by adopting a topographic index (TIm) computed from a DEM. The portion of a basin exposed to flood inundation is generally characterized by a TIm higher than a given threshold, tau. The threshold is automatically determinated from the cellsize. The proposed procedure may help in the delineation of flood prone areas especially in basins with marked topography. The use of the modified topographic index should not be considered as an alternative to standard hydrological-hydraulic simulations for flood mapping, but it may represent a useful and rapid tool for a preliminary delineation of flooding areas in ungauged basins and in areas where expensive and time consuming hydrological-hydraulic simulations are not affordable or economically convenient.
Author: Margherita Di Leo

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.hazard.flood/

r.hydrodem

r.hydrodem applies hydrological conditioning (sink removal) to a required input elevation map. If the conditioned elevation map is going to be used as input elevation for r.watershed, only small sinks should be removed and the amount of modifications restricted with the mod option. For other modules such as r.terraflow or third-party software, full sink removal is recommended.

Author: Markus Metz

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass7/raster/r.hydrodem/

r.in.ign

r.in.ign imports raster data from IGN WMS-C stream service. Yet an uncompleted version, briefly documented here.
Author: Vincent Bain

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.in.ign/

r.in.mb

r.in.mb is a "GRASS/MB-System program designed to import mbio compatible multibeam sonar data directly into the GRASS GIS. The program is a modified version of r.in.xyz. Instead of reading an ASCII XYZ file, r.in.mb reads an MB-System compatible list file." It can do automatic reprojection and minor hole filling. Options for restricting data according to line length, speed, acrosstrack width, beam number and survey mode (Simrad only). The default is to import bathymetry data, but optionally amplitude or sidescan sonar data can be loaded instead. GRASS 7 version is also available.
Author: Bob Covill

r.in.onearth

r.in.onearth for download and import satellite images direct from the NASA OnEarth WMS server into GRASS.
Authors: Soeren Gebbert, Markus Neteler, Hamish Bowman

r.in.srtm.region

r.in.srtm.region for download and import of SRTM for the current region. If needed, tiles are patched together and optionally holes interpolated.
Author: Markus Metz

r.in.swisstopo

r.in.swisstopo for importing swisstopo digital elevation model data into GRASS raster maps.
Author: Jürgen Hansmann

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.in.swisstopo/

r.in.wms (.py)

r.in.wms for download and import maps direct from WMS servers into GRASS. This script is written in Python Programming language. Note GRASS 6.2+ provides a shell script version of r.in.wms, take care of which one is actually being run.
Author: Jachym Cepicky

r.in.xyz.auto

r.in.xyz.auto runs the r.in.xyz module, automatically setting up the region extent for you. For useful output it is strongly recommended to manually set the region resolution and bounds yourself instead of using this script.
Author: Hamish Bowman

r3.in.xyz

r3.in.xyz creates a 3D raster map from an assemblage of many coordinates using univariate statistics. It is the 3D version of r.in.xyz.
Author: Hamish Bowman

r.inund.fluv

r.inund.fluvThis command allows to obtain a fluvial potentially inundation map given a high-resolution DTM of the area surrounding the river and a water surface profile calculated through an 1-D hydrodinamic model.


Authors: Roberto Marzocchi, Bianca Federici, Domenico Sguerso

r.isoregions

r.isoregions allows isoregions creation from a GRASS raster map.
Authors: Mathieu Grelier

r.interp.mask

r.interp.mask Creates a user-specified buffer around interpolation points that can be used as a MASK to prevent or clip excessive extrapolation artifacts. This works much better than a standard convex hull around the points.
Author: David Finlayson

r.ipso

r.ipso Produces the ipsometric and ipsographic curve related to a digital elevation model and prints the percentiles
Authors: Margherita Di Leo, Massimo Di Stefano, Francesco Di Stefano

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.ipso/

r.li

r.li is a more flexible and faster replacement of the old r.le. Moved into 6.3-SVN.
Authors: Claudio Porta, Davide Spano, Serena Pallecchi, Faunalia

r.local_max.pl

Local maxima is a Perl script for r.mapcalc. It detects local maxima of the image.
Author: Jachym Cepicky

r.mandelbrot

r.mandelbrot is a shell script to calculate the Mandelbrot set.- for GRASS versions 6.X.
Author: Peter Löwe

r.maxent.lambdas

r.maxent.lambdas is a shell script to compute raw and/or logistic prediction maps from a lambdas file produced with MaxEnt 3.3.3e.
See also #r.out.maxent_swd
Author: Stefan Blumentrath, NINA

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.maxent.lambdas/

mcda

mcda suite is a toolset for geographics multi-criteria decision aiding and data analysis based on ELECTRE (r.mcda.electre), REGIME (r.mcda.regime) and FUZZY (r.mcda.fuzzy) algorithm. The module r.roughset is also included for geographics rough set analisys and knowledge discovery based on rough set library. It is written in C language for GRASS versions 6.X.
Author: Gianluca Massei (g_massa@libero.it ) - Antonio Boggia

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/mcda/


r.modis

The r.modis suite is a toolset to import MODIS satellite data in GRASS GIS. It uses the pyModis library and the MODIS Reprojection Tool software to convert, mosaik and process MODIS data. It is written in Python language for GRASS 7, developed during the Google Summer of Code 2011.

See also R.modis:

Author: Luca Delucchi (GSoC mentor: Markus Neteler)

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass7/raster/r.modis/

r.mlv

r.mlv is Mean of least variance filter for GRASS. It is an edge-preserving (or even edge-enhacing) filter, which should serve for removing additive noise from images. It is written in C language.
Author: Jachym Cepicky


r.obstruction, r.planning.static, r.planning.cinematic

r.obstruction, r.planning.static, r.planning.cinematic: r.obstruction creates a polar obstruction map from a DTM. r.planning.static performs a static planning for GPS and Glonass surveys using the obstruction map created with r.obstruction. r.planning.cinematic performs a cinematic planning for GPS and Glonass surveys. (University of Trento, Faculty of Engineering)
Author: Daniele Carli, Dimitri D'Inca', Gianluca Fruet, Domenico Sguerso, Paolo Zatelli

r.out.colorbar

r.out.colorbar is an export program for saving GRASS raster colorbars to an image. The program uses GTK+ and cairographics. Supported export formats are PNG, PDF, and EPS.
Author: Bob Covill

r.out.jpeg

r.out.jpeg is a simple GRASS script to export georeferenced JPEG images from rasters, keeping the associated color table. It is a two-step export: first a ppm file is created, then it is converted to jpeg usgin the "convert" command from ImageMagick
Author: Giovanni Allegri

r.out.geoserver

r.out.geoserver exports GRASS raster layer to GeoServer and publishes it using WMS. The modul is a shell script. It uses: r.out.gdal, curl, xmlstarlet and GeoServer REST interface.
Author: Pawel Netzel

r.out.gmap

r.out.gmap outputs GRASS raster map into set of image tiles

following the tiling scheme of Google Maps and Microsoft Virtual Earth.
Read more in the OSGeo Journal Volume 5 (2009, to appear)
see also r.out.kml and v.out.kml

Author: Tomas Cebecauer

r.out.gmt

r.out.gmt is a GRASS script for exporting a GRASS raster map into a GMT grid file. It also creates a GMT color table from the data and can generate some GMT commands for plotting a postscript file. (code is experimental, but functional)
see also http://169.237.35.250/~dylan/grass_user_group/#GMT_and_GRASS-overview
Authors: Hamish Bowman, Dylan Beaudette

r.out.gmt2

r.out.gmt2 is a modified version of Hamish's r.out.gmt. Added options for title, xlabel, ylabel, comment, and map width. Removed any settings that can be changed by gmtset for more flexibility.
Author: Huidae Cho, Hamish Bowman, Dylan Beaudette

r.out.kap_template

r.out.kap_template is a shell script that exports a raster map into a GeoTiff and a metadata text file suitable for use with KAP (BSB) raster nautical chart converter programs such as tif2bsb (after verifying that you are legally entitled to use such a tool).
This is EXPERIMENTAL software. NOT FOR NAVIGATIONAL USE.
For an easy to use data viewer, see also the OpenCPN free navigational software.
Author: Hamish Bowman

r.out.kml

r.out.kml is a shell script that exports a raster map into a KML file and image for Google Earth or Worldwind. See also v.out.kml and r.out.gmap.
Author: Hamish Bowman

r.out.maxent_swd

r.out.maxent_swd is a shell script to produce a set of SWD files as input to MaxEnt 3.3.3e using r.stats.
See also #r.maxent.lambdas
Author: Stefan Blumentrath, NINA

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.out.maxent_swd/

r.pack

r.pack and r.unpack are two GRASS scripts for transferring raster maps to another computer as a single compressed file including color table etc.
An earlier version has been renamed as r.pack.mat and r.unpack.mat.
Author: Hamish Bowman

r.pi

r.pi (raster patch index) provides various functions to analyse spatial attributes of a landscape. It has a focus on patch-based indices but delivers class-based indices as well. r.le and its successor r.li provide landscape indices.
Authors: Programming: Elshad Shirinov, Scientific concept: Dr. Martin Wegmann

r.prominence

r.prominence calculates the average difference between a central cell and its neighbors. It approximated the terrain 'ruggedness' by looking at average differences in elevation within a given neighborhood.
Author: Benjamin Ducke

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.prominence/

r.refine

r.refine: reduces a DEM to a TIN (takes as input a grid DEM and an error margin and simplifies it to the desired accuracy into a TIN)

Available via the source code repository [1]

Authors: Laura Toma and Jonathan Todd

r.rifs

r.rifs: r.rifs generates a raster map and/or image of a fractal by means of the specified random iterated function system.
Author: Mark Lake

r.roughness

r.roughness.sh is a shell script to calculate the surface roughness of a DEM, using r.surf.area and v.surf.rst. (for GRASS versions 6.1 and above)

r.roughness60 - for GRASS versions 6.0.X

r.roughness.window.area - calculate surface roughness as the ratio of real (surface) area and planar area, using a moving-window approach.

r.roughness.window.vector - calculate surface roughness as vector dispersion, using a moving-window approach. Resulting maps are: Vector Strength (R) and Inverted Fisher's k parameter.

r.roughness.window.vector.html - provisional help page for r.roughness.window.vector.

Author: Carlos Henrique Grohmann

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.roughness/

r.roughset

r.roughset is a module for geographics rough set analisys and knowledge discovery based on rough set library. It is written in C language for GRASS versions 6.X.
Author: Gianluca Massei (g_massa@libero.it ) - Antonio Boggia

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/mcda/r.roughset/

r.seg

r.seg performs image segmentation and discontinuity detection (based on the Mumford-Shah variational model).
The module generates a piece-wise smooth approximation of the input raster map and a raster map of the discontinuities of the output approximation. The discontinuities of the output approximation are preserved from being smoothed.
See here for details and examples.

Available here and with improvements via SVN:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.seg/
Author Alfonso Vitti

r.smoothpatch

r.smoothpatch creates a composite of two rasters using a distance-weighted average across the transition to smooth the edges.
Author: David Finlayson

r.soils.texture

r.soils.texture is a module to define soils texture from sand and clay raster file with a schema text file (now FAO,USDA and ISSS are available). It is written in C language. - for GRASS versions 6.x - For bugs and suggest: g_massa@libero.it
Author: Gianluca Massei

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.soils.texture/

r.split.line

r.split.line is a shell script to split raster into parts with vector line(s).
Author: Alexander Muriy

r.stack

r.stack is a shell script used to patch all the raster maps in a time series (or burst 3D raster) together into a vertical stack, to aid multi-map analyses in modules where group input is not yet available.
Author: Hamish Bowman

r.stream.angle

r.stream.angle Divide stream network into stright line segments according users input. It extends Module uses as input direction and stream network map produced by r.watershed and stream.extract or custom user input. See description for details.
Author: Jarek Jasiewicz

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.stream.angle

r.stream.basins

r.stream.basins delineate basins according users input. It extends r.water.outlet funcionality to extracting more than one basin at one step. Module uses as input direction map produced stream network produced by r.stream.extract, r.watershed, r.stream order or custom user input. More in tutorial on grass-wiki pages.
Author: Jarek Jasiewicz

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.stream.basins

r.stream.del

r.stream.del Calculates downslope length of first order streams and delete them if it length (in pixels) is lower than the treeshold. It also join false segments left by deletion into one with category of upper. It uses r.watershed direction map and r.watershed stream map as input. The module is added only for r.watershed module, r.stream.extract has deleting short streams build-in. During development of r.stream.* it will be probably abandoned due to duplicate functionality
Author: Jarek Jasiewicz

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.stream.del

r.stream.distance

r.stream.distance Calculates downslope distance and downslope elevation difference between current cell and stream or outlet cells. It uses r.watershed direction map, r.watershed or r.stream.extract stream map and optionally DEM as input.
Author: Jarek Jasiewicz

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.stream.distance

r.stream.extract

r.stream.extract extracts topologically clean stream networks from input elevation and optionally accumulation maps. Output is available as raster and vector and can be used as input for the other r.stream.* modules by Jarek Jasiewicz.
Author: Markus Metz

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.stream.extract

r.stream.order

r.stream.order orders stream network outputed by r.watershed or r.stream.extract according Sthrahler, Shreve, Horton and Hack ordering systems. It require as input stream and direction map and optionally accumulation map. It handle both SFD nad MFD modes but all data must come from the same procedure.
Author: Jarek Jasiewicz, Markus Metz

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.stream.order

r.stream.pos

r.stream.pos Helper module for calculating local stream network properties and linear geostatistics. Mostly To use with R and other grass modules.
Author: Jarek Jasiewicz

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.stream.pos

r.stream.preview

In order to find a value of upslope area to be used as input to extract the river network using r.stream.extract or r.watershed, it is common to proceed by tentatives. r.stream.preview is useful for quickly display results for various tentatives of threshold values.
Author: Margherita Di Leo

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.stream.preview/

r.stream.stats

r.stream.stats calculate Hortonian statistics for Stahler or Horton stream network created by r.stream.order. It uses r.watershed direction map, DEM and r.stream.order's Stahler or Horton stream network as input. It outputs calculated statistics to standard output.
Author: Jarek Jasiewicz

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.stream.stats

r.surf.nnbathy

r.surf.nnbathy interpolates a surface from a raster input using Pavel Sakov's nn natural neighbor interpolation library. Provides triangulation, Sibson natural neighbor interpolation and non-Sibsonian interpolation.
Author: Maciej Sieczka

r.surf.volcano

r.surf.volcano creates an artificial surface resembling a seamount or cone volcano. The user can alter the size and shape of the mountain and optionally roughen its surface. Available decay functions are polynomial, Gaussian, Lorentzian, logarithmic, and exponential.
Author: Hamish Bowman

r.terracost

r.terracost Scalable approach for computing least-cost-path surfaces on massive grid terrains.
Lead author: Laura Toma

Available via SVN or g.extension:

 svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.terracost


r.threshold

r.threshold Finds a first tentative value of upslope area to be used as input to extract the river network using r.stream.extract or r.watershed.

Available via SVN or g.extension:

 svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.threshold

r.tileset

r.tileset moved into main archive

r.to.vect.lines

r.to.vect.lines is a module to sample raster rows at regular intervals and turn them into 3D lines. e.g. to display in NVIZ as a wiggle plot.
It demonstrates the use of ctypes to access the GRASS C libraries from within a Python script. (treat as a work in progress)
Author: Hamish Bowman

r.traveltime

r.traveltime computes the travel time of surface runoff to an outlet. The program starts at the basin outlet and calculates the travel time at each raster cell recursively. A drainage area related threhold considers even surface and also channel runoff. Travel times are derived by assuming kinematic wave approximation. The results can be used to derive a time-area function. This might be usefull for precipitation-runoff calculations (estimation of flood predictions) with a lumped hydrologic model (user-specified unit hydrograph).
Author: Kristian Förster

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.traveltime

r.univar.zonal

Note: This addon is only needed for GRASS 6.3, its functionality has been added to r.univar in 6.4+ and 7.

r.univar.zonal is similar to r.univar, but calculates statistics separately for each category(zone) present in the separate input map used to define zones (zonal statistics). The output can be like the one of r.univar or in easier to read table format and can be written to a file.
Author: Markus Metz

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.univar.zonal

r.viewshed

r.viewshed is a module for extremely fast line of sight analysis (replaces the slow r.los). It is written in C language for GRASS versions 6.X/7.x.
Author: Laura Toma, USA

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.viewshed

Once trac #390 is solved, it will substitute r.los.

r.wavelets

r.wavelets: This package contains wavelets decomposition and reconstruction modules for the GRASS GIS: r.owave.dec computes the orthogonal wavelet transform of a raster map. r.owave.rec reconstructs a raster map from an orthogonal wavelet transform. r.biowave.dec computes the biorthogonal wavelet transform of a raster map. r.biowave.rec reconstructs a raster map from a biorthogonal wavelet transform.
Authors: Members of the University of Trento, Faculty of Engineering

r.wf

r.wf produces the Width Function of a basin. The Width Function W(x) gives the number of the cells in a basin at a flow distance x from the outlet (it is also referred as distance-area function). The distance is not the euclidean one, but it is measured along the flowpath towards the outlet.
Authors: Margherita Di Leo, Massimo Di Stefano, Francesco Di Stefano

Available via SVN or g.extension:

svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.wf/

r.xtent

r.xtent computes a raster map layer representing the Voronoi diagram, weighted Voronoi diagram or a more complex territorial partitioning of space around points (centers) in a vector input map, based on the XTENT formula.
Author: Benjamin Ducke
svn co https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.xtent

r.zc.pl

Zero crossing is a simple Perl script, finds the ,,zero crossings`` from the Laplacian of Gaussian filter (see above). It is really very simple, the edges don't need to be really on that pixel, where they are detected, no interpolation is performed.
Author: Jachym Cepicky

GIPE

The GRASS Image Processing Environment (GIPE) has USLE, Energy-balance and radiance-reflectance correction models.
Author: Yann Chemin (unless specified otherwise).
svn co https://svn.osgeo.org/grass/grass-addons/grass6/imagery/gipe

Remark: This is progressively moved to main GRASS SVN (aka GRASS 7)

  • r.hydro.CASC2D, ported from GRASS 5.x version, is temporarily here waiting to return to main GRASS.
  • r.soiltex2prop creates porosity, Saturated Hydraulic conductivity (Ksat) and wetting front pressure head (Hf) from percentage of sand and clay after Rawls et al., 1990. This is a must for r.hydro.CASC2D.
  • i.biomass creates biomass growth map from fPAR, lightuse efficiency, water availability (or evap.fraction), Lat, doy and tsw.
  • i.dn2ref.l7, r.dn2ref.ast create top of atmosphere reflectance for Landsat 7ETM+ and ASTER. These modules also have a flag for radiance output. Updated i.dn2ref.l7 to read .met calibration file.
  • i.dn2full.l[5,7] is an attempt to get all bands of Landsat[5,7] calibrated and corrected to either reflectance or temperature, reads only the .met file.
  • i.dn2potrad.l[5,7] is an attempt to get ET potential from DN of Landsat 7 (Careful! No Atmospheric correction!).
  • i.eb.* are a set of 10+ GRASS modules that together perform the main functions of the SEBAL model (Bastiaanssen, 1995). Those functions include (but are not limited to) Soil heat flux, sensible heat flux, net radiation, evaporative fraction at satellite overpass, diurnal actual evapotranspiration, momentum roughness length, etc. These modules are also part of any Energy-Balance related processing.
  • i.evapo.potrad creates diurnal Potential evapotranspiration assuming all net radiation becomes ET, according to SEBAL model (Bastiaanssen, 1995). This module also has a flag for diurnal net radiation as required by SEBAL in i.eb.eta.
  • i.evapo.SENAY creates actual evapotranspiration following the regional method of Senay (2007).
  • i.lmf creates a Local Maximum Fitting on the temporal dimension of the multi-date input dataset, working, but more precision still to be added.
  • i.vi.mpi is the mpi version of i.vi for cluster GRASS GIS education (no speed up here!) Author: Shamim Akhter
  • i.modis.stateqa extracts State Quality Assessment information from Modis 500m (MOD09A) products.
  • i.water creates a Water Mask from NDVI and Albedo, or specifically for Modis: NDVI and Band 7.
  • i.wi creates a given Water Index (only one so far).

HydroFOSS

HydroFOSS - a GIS embedded approach for Free & Open Source Hydrological modeling.
Author: Massimiliano Cannata
svn co https://svn.osgeo.org/grass/grass-addons/HydroFOSS/

Hikereport

python script that computes length, cumulative uphill and downhill, average slopes on an interactively drawn path. Based on r.profile's output.
Author: Stefano Negri
http://tracce.wordpress.com/?attachment_id=71

Misc add-ons

m.eigensystem

m.eigensystem - Computes eigen values and eigen vectors for square matrices.

http://svn.osgeo.org/grass/grass-addons/grass6/misc/m.eigensystem/
Author: Michael Shapiro

Database add-ons

db.join

Table joining: join one table into another through common attributes
Author: Markus Neteler. Available via SVN or g.extension:
  svn co https://svn.osgeo.org/grass/grass-addons/grass6/database/db.join/

or

  g.extension db.join

General add-ons

Compare GRASS maps

g.compare.md5 Script to check if two GRASS maps are identical
Author: Luca Delucchi

GRASS create location scripts

grass_create_location.sh Script to generate a new GRASS location from GIS file (e.g. geoTIFF or SHAPE), wktfile or EPSG code.
Author: Markus Neteler

g.laptop.sh

g.laptop.sh is an interactive shell script to extract raster and vector data from current Location into a new one. Data can be copied or extracted in current or original resolution and region extend. This script was written to extract smaller parts of a GRASS location to be able to present them on a laptop without the necessity to transfer huge data. Maps do not have to be in the same mapset.
Author: Otto Dassau

Readline completion

Readline completion for GRASS commands under the bash shell: grass-complete won't clutter the environment but needs to be installed; grass_rlcompleter.sh needs almost no installation but will pollute the environment. Grass-Complete currently requires Bash version 2.05 for proper install.
Author: Alexandre Sorokine (grass-complete), Daniel Calvelo (grass_rlcompleter.sh)

g.region.point

g.region.point is a shell script which resets the computational region to a square box around a given coordinate. It is intended for use within GRASS scripts to speed up processing by limiting expensive raster calculations to a small area of interest.
Author: Hamish Bowman

g.linke_by_day

g.linke_by_day is a python script for r.sun which interpolates a Linke turbidity value for a given day of the year based on monthly values edited into the script.
Author: Hamish Bowman

g.xlist

g.xlist is a C implementation of g.mlist. g.xlist searches for data files matching a pattern given by wildcards or POSIX Extended Regular Expressions. POSIX regex(3) functions are required.
Author: Huidae Cho

g.xremove

g.xremove is a C implementation of g.mremove. g.xremove removes data files matching a pattern given by wildcards or POSIX Extended Regular Expressions. POSIX regex(3) functions are required.
Author: Huidae Cho

g.region.ll

g.region.ll sets the region in a projected location using longitudes and latitudes.
Author: Alessandro Frigeri

Imagery add-ons

See also

svn co https://svn.osgeo.org/grass/grass-addons/grass6/imagery

GIPE

GIPE (see also above in raster section) provides: i.biomass, i.dn2potrad.l5, i.dn2potrad.l7, i.dn2ref.ast, i.eb.deltat, i.eb.disp, i.eb.eta, i.eb.evapfr, i.eb.g0, i.eb.h0, i.eb.h_SEBAL01, i.eb.h_SEBAL95, i.eb.h_iter, i.eb.molength, i.eb.netrad, i.eb.psi, i.eb.rah, i.eb.rohair, i.eb.ublend, i.eb.ustar, i.eb.wetdrypix, i.eb.z0m, i.eb.z0m0, i.evapo.PT, i.evapo.TSA, i.evapo.potrad, i.evapo.senay, i.evapo.time_integration, i.lmf, i.modis.stateqa, i.sattime, i.vi.grid, i.vi.mpi, i.water, i.wi

svn co https://svn.osgeo.org/grass/grass-addons/gipe/
Author: Yann Chemin

i.despeckle

Applies SAR Speckle Filter to a raster power map. Currently LEE, KUAN, Enhanced Lee and GAMMA filter are implemented.

  g.extension i.despeckle

i.histo.match

Performs histogram matching on the given input images.

svn co https://svn.osgeo.org/grass/grass-addons/grass7/imagery/i.histo.match

Authors: Laura Zampa (PERL version), rewritten and updated by Luca Delucchi, Italy

i.homography

Rectifies an image by computing a coordinate transformation for each pixel in the image based on the control points created by i.linespoints. The approach uses homography extended for corresponding lines.

svn co https://svn.osgeo.org/grass/grass-addons/grass6/imagery/i.homography

Author: Daniel Grasso, Bolzano, Italy, based on code written by Stefano Merler, ITC-irst, Italy

i.linespoints

An imagery command that enables the user to mark coordinate system points as well as lines on an image to be rectified and then input the coordinates of each point for creation of a coordinate transformation matrix. The transformation matrix is needed as input for the GRASS program i.homography.

svn co https://svn.osgeo.org/grass/grass-addons/grass6/imagery/i.linespoints

Author: Daniel Grasso, Bolzano, Italy, based on i.points

i.landsat.dehaze

Bandwise haze correction using tasscap4 (haze) and linear regression of a Landsat scene.

svn co https://svn.osgeo.org/grass/grass-addons/grass6/imagery/i.landsat.dehaze

Author: Markus Neteler

i.landsat.toar

Transform calibrated digital number of Landsat products to top-of-atmosphere radiance or top-of-atmosphere reflectance and temperature (band 6 of the sensors TM and ETM+). Optionally, used to calculate the at-surface radiance or reflectance with atmospheric correction (DOS method).

Available also in GRASS 7 and GRASS 6.5.

svn co https://svn.osgeo.org/grass/grass-addons/grass6/imagery/i.landsat.toar

Author: E. Jorge Tizado

i.landsat.acca

Implements the Automated Cloud-Cover Assessment (ACCA) Algorithm from Irish (2000) with the constant values for pass filter one from Irish et al. (2006). To do this, it needs Landsat band numbers 2, 3, 4, 5, and 6 (or band 61 for Landsat-7 ETM+) which have already been processed from DN into reflectance and band-6 temperature with i.landsat.toar).

Available also in GRASS 7.

svn co https://svn.osgeo.org/grass/grass-addons/grass6/imagery/i.landsat.acca

Author: E. Jorge Tizado

i.landsat.trim

i.landsat.trim is a shell-script for GRASS 6.4.*, that trims the "fringe" from the borders of Landsat images, for each band separately or with the MASK where coverage exists for all bands. Optionally saves vector footprints of trimmed rasters and MASK. Works with Landsat 5, Landsat 7 (SLC-on).
Author: Alexander Muriy

i.points.auto

This module allows a search of GCP's on two raster-maps with differents levels of automation. The manual search is the default search, so it's possible to determine the GCP's manually with the mouse (like i.points). Semiautomated search: The user determines with the mouse some correspondent areas (with a discrete precision) in the two maps and the module searches itself the GCP's in these areas. Automated search: At the start of module the user has to load the maps that the algorithm uses to the search, so it is recommended to use the maps filtered with the filters DIVERSITY or STDDEV (of GRASS) with a window of 3x3 or 5x5 pixels. However, the algorithm sometimes works well with the original maps too.

Note: This code is basically an improved i.points (from 2004). Subsequent changes in i.points haven's been ported here yet.

svn co https://svn.osgeo.org/grass/grass-addons/grass6/imagery/i.points.auto

Authors: based on i.points; additions by Ivan Michelazzi, Luca Miori (MSc theses at ITC-irst); Supervisors: Markus Neteler, Stefano Merler, ITC-irst 2003, 2004. PDF article

i.points.reproj

i.points.reproj is a shell script that will use cs2cs to reproject the target coordinates of a group's POINTS file. By running i.rectify directly to the new target projection, a generation of resampling data loss can be avoided (versus i.rectify + r.proj). On the other hand, i.rectify does not calculate cell resolution well if the map is to be rotated (bug #3296), in those cases i.rectify+r.proj may be the better option.
Author: Hamish Bowman

i.plr.py

Probabilistic Label Relaxation, written in Python
Author: Georg Kaspar

i.pr

Image classification: implements k-NN (multiclass), classification trees (multiclass), maximum likelihood (multiclass), Support Vector Machines (binary), bagging versions of all the base classifiers, AdaBoost for binary trees and support vector machines. It allows feature manipulation (normalization, principal components,...). It also implements feature selection techniques (RFE, E-RFE,...), statistical tests on variables, tools for resampling (cross-validation and bootstrap) and cost-sensitive techniques for trees and support vector machines.
Author: Stefano Merler. Available via SVN or g.extension:
  svn co https://svn.osgeo.org/grass/grass-addons/grass6/imagery/i.pr

i.spec.sam

Spectral Angle mapping
Author: Markus Neteler. Available via SVN or g.extension:
  svn co https://svn.osgeo.org/grass/grass-addons/grass6/imagery/i.spec.sam/

i.spec.unmix

Spectral unmixing
Author: Markus Neteler. Available via SVN or g.extension:
  svn co https://svn.osgeo.org/grass/grass-addons/grass6/imagery/i.spec.unmix/

i.topo.corr

i.topo.corr is used to topographically correct reflectance from imagery files, e.g. obtained with i.landsat.toar (see above), using a sun illumination terrain model. This illumination model represents the cosine of the incident angle, i.e. the angle between the normal to the ground and the sun rays. It can be obtained with r.sun (parameter incidout), and then calculating its cosine with float precision. Correction methods: cosine, minnaert, percent, c-factor.
 --> the module has been included in main GRASS (GRASS 6.4 and later)
Author: E. Jorge Tizado

i.warp

i.warp is a shell script that will use gdalwarp to rectify a raw input image using thin plate splines. The map should be imported into GRASS with r.in.gdal and GCPs set with i.points. Input is the raw image (GeoTIFF, JPEG, etc). Output is a GeoTIFF in the imagery group's target location's map projection. Requires a recent (early 2006) version of GRASS 6.1, or newer.
Author: Hamish Bowman

Display add-ons

See also

svn co http://svn.osgeo.org/grass/grass-addons/grass6/display

d.barb

d.barb is a C module that will draw wind barbs, straw plots, and arrow plots from raster array or sparse vector point data. It can use either direction + magnitude, or u + v components as the input, and can produce a legend key. (work in progress, but it's mostly there)

Author: Hamish Bowman

d.edit.rast

d.edit.rast edits cells in an existing raster map displayed on the current monitor.
Author: Huidae Cho

d.frame.quarter

(obsolete) d.frame.quarter is a shell script that will split the display into four quadrants (or sixths) using d.frame. Individual frames are named uno, dos, tres, cuatro, and full_screen.
Replaced by d.split.frame in main.
Author: Hamish Bowman

d.frame.split

d.frame.split moved into main archive as d.split.frame

d.frontline

d.frontline is a shell script that draws frontlines on the graphics monitor using d.graph module and different types of symbols. Also it optionally saves frontline graphics to d.graph commands file and/or ps.map file (for later use with the "read" ps.map instruction)
Author: Alexander Muriy

d.hyperlink

d.hyperlink is an interactive shell script that allows the viewing of hyperlinked images from a vector's attribute table in an external image viewer. Queries can be made via SQL statements or interactive mouse-clicking. The attribute table must be pre-populated with a column containing the image to link the vector to; the user also specifies the image folder in the current MAPSET where the images are located. The script currently supports gimp, Eye of Gnome, gthumb, gpdf, and Inkscape image viewers.
Author: Eric Patton

d.mark

d.mark is a shell script that quickly displays a marker on the display at a given coordinate.
Author: Hamish Bowman

d.region.box

d.region.box is a shell script that quickly displays a box around the current region.
Author: Hamish Bowman

d.stations

d.stations is a shell script that quickly displays vector points (or sites for GRASS 5.4 and below).
Author: Hamish Bowman

d.varea

d.varea is a shell script that quickly displays vector areas.
Author: Hamish Bowman

d.zoom.keys

d.zoom.keys is a shell (+awk) script that allows to change the current geographic region settings interactively, with a keyboard. Can use navigation in X-monitor (requires <xev> and <xdotool>) or terminal.

NOTE: tested normally only on Linux (Ubuntu 10.04), on other systems <awk> and other tools may behave differently.

Author: Alexander Muriy

Also available via SVN or g.extension:

https://svn.osgeo.org/grass/grass-addons/grass6/display/d.zoom.keys/

pd-GRASS

pd-GRASS: Parallel Display for GRASS GIS
Author: Alex Sorokine


IconSymbols

  • Symbols which can be used with d.vect, d.graph, and ps.map.


p.in.labels

p.in.labels is a program to import ASCII xyz (where z is a label) files as GRASS labels. Reads from stdin or existing file.
Author: Bob Covill


Postscript add-ons

ps.atlas

ps.atlas is a shell script that makes more maps on current region according to input *.psmap file. General map can be stored as vector file. The resulting *.eps maps can be automatically converted to *.pdf files.
Author: Jachym Cepicky

ps.output

ps.output is much like ps.map but with advanced decorations and ability for translucency. Here you can find a tutorial.
Author: Jorge Tizado

AreaFillPatterns

  • Hatches for ps.map's vareas

wxGUI add-ons

GRASS and UMN Mapserver