GRASS AddOns/id

From GRASS-Wiki
Jump to navigation Jump to search

This page is in progress of translating to Bahasa Indonesia.


Halaman ini berisi tentang referensi dari kontribusi pengguna dan add-on (software GRASS GIS dapat diunduh di sini).

Repositori kode sumber AddOns

Kode sumber AddOns disimpan dalam situs repositori SVN GRASS-AddOns .

Perintah untuk memeriksa:

svn checkout https://svn.osgeo.org/grass/grass-addons/ grass-addons

Silakan kontak milis grass-dev jika Anda ingin modul Anda disimpan di sana.

Menambahkan sesuatu yang baru

Silakan umumkan add-on Anda lewat milis pengguna GRASS sehingga yang lain akan dapat mengetahui pekerjaan Anda.

Hak salin dan informasi lisensi

Tolong pastikan untuk memasukkan hak salin dan informasi lisensi dalam komentar header dari kode sumber Anda sehingga yang lain dapat tahu bagaimana cara menggunakan, memperbaiki, memodifikasi dan mendistribusikan ulang pekerjaan Anda.

misal. pada bagian paling atas skrip shell:

#!/bin/sh
############################################################################
#
# MODULE:       v.in.e00
#


# AUTHOR(S):    Markus Neteler, Otto Dassau
#
# PURPOSE:      Import E00 data into a GRASS vector map
#               Imports single and split E00 files (.e00, .e01, .e02 ...)
#
# COPYRIGHT:    (c) 2004, 2005 GDF Hannover bR, http://www.gdf-hannover.de
#
#               This program is free software under the GNU General Public
#               License (>=v2). Read the file COPYING that comes with GRASS
#               for details.
#
#############################################################################
#
# REQUIREMENTS:
#      -  avcimport: http://avce00.maptools.org

[dilanjutkan oleh skrip]


Standar pengkodean

Silakan lihat di Shell script standar pengkodean skrip Shell sebelum mengunggahnya di sini.

Ada juga standar pengkodean yang lain untuk modul dengan bahasa C, Tcl/Tk, and Python(?) yang ada di kode sumber GRASS.

Mendokumentasikan kode Anda

Anda dapat memiliki sebuah templat halaman bantuan yang dihasilkan secara otomatis dengan command line parser GRASS dengan pilihan baris perintah --html-description. Silakan lihat juga halaman bantuan g.parser

Add-ons lain-lain

  • utm_which_zone.sh adalah sebuah skrip shell untuk menentukan zone UTM zone dari input berkas berformat Lat/Lon. Add-on ini membutuhkan instalasi Octave atau Matlab terlebih dahulu. Sebuah version shell-only tersedia yang hanya membutuhkan awk.
    Authors: Hamish Bowman (Octave part), Markus Neteler (shell script wrapper), Daniel Calvelo (versi sh+awk)


  • Skrip Perl untuk konversi data dari dan ke berkas Excel dan PostgreSQL :

pg2xls.pl membaca data dari PostreSQL dan menghasilkan workbook Excel; xls2sql.pl membaca berkas Excel dan menghasilkan pernyataan SQL untuk dimasukkan ke dalam sebuah RDBMS. Kedua skrip membutuhkan modul dari CPAN, terutama Spreadsheet::ParseExcel untuk xls2sql.pl dan Spreadsheet::WriteExcel::FromDB dan ketergantungannya untuk pg2sql.pl. Periksa header dari kode sumber untuk informasi lebih lanjut.
Authors: Daniel Calvelo (xls2sql.pl), Markus Neteler (pg2xls.pl)


  • dbf2sql adalah sebuah skrip Perl untuk menterjemahkan tabel dbf ke dalam sebuah perintah SQL. Tabel dbf dibaca dengan menggunakan perintah dbfdump dari modul dbd-xbase-perl (dbd::xbase dan getopt::long harus diinstal terlebih dahulu dari CPAN). Ada banyak masalah, jika kolom terakhir dari tabel merupakan karakter. Diharapkan saran untuk perbaikan!
    Author:Wolfgang Qual


  • azimuth2.c adalah sebuah program C yang kecil untuk menghitung azimuth dan panjang garis vektor yang diekspor oleh GRASS sebagai berkas ASCII (seperti ini: v.out.ascii input=vector output=ascii format=standar). Program ini bermanfaat untuk membuat rose diagram dari peta lineament. Perbaikan dari kode aslinya dilakukan atas saran Örs Téglásy, Hungary.
    Author: Carlos Henrique Grohmann

GRASS 5.x

Vector add-ons untuk GRASS 5

Raster add-ons untuk GRASS 5

  • r.gmtg Perangkat pemodelan air bawah tanah untuk GRASS. Sebuah modul yang menggunakan MODFLOW dalam GRASS.
    Author: Jaime Carrera


  • r.terracost Pendekatan scalable untuk menghitung jarak permukaan berbiaya terendah pada grid masif. For GRASS 5.3.
    Lead author: Laura Toma

GRASS 6.x

Vector add-ons

Lihat juga

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

v.append

v.append adalah sebuah skrip shell untuk menggabungkan dua berkas vektor DAN tabel atribut yang menyertainya. Berkas vektor hendaknya merupakan vektor dengan tipe yang sama dan untuk hasil terbaik, harus memiliki tabel atribut berformat yang identik.

Author: Michael Barton

v.breach

v.breach membuat peta vektor garis dan titik secara kontinyu ke arah elevasi yang lebih rendah dari input watercourses, berbasis data input DEM raster.

Author: Maciej Sieczka

v.colors

v.colors adalah sebuah skrip shell untuk mengisi sebuah GRASSRGB berbasis kolom pada basisdata numerik dan sebuah berkas aturan r.colors rules file. Bekerja sepertir.colors, tetapi untuk peta vektor.

Author: Hamish Bowman

v.count.points.sh

v.count.points.sh menghitung fitur titik dalam sebuah area, menghasilkan tabel yang bermanfaat sebagai input untuk d.vect.chart.

Author: Stefano Costa

v.digatt

v.digatt (shell script)

Menambahkan atribut tabel numerik secara interaktif ke dalam kumpulan obyek vektor. Add-on ini dibuat agar proses pemasukan atribut dapat dilakukan secara efektif sehingga tidak perlu untuk mengetik atribut setiap obyek secara berulang. Pengguna diminta untuk mengetik dalam sebuah nilai atribut yang akan diterapkan pada semua obyek yang terpilih dengan klik tetikus. Selanjutnya, display akan ditampilkan ulang setelah proses pembaharuan kolom tabel. Zooming memungkinkan untuk merubah region sebelum nilai lama diterapkan atau nilai baru diketik (atau disalin dari obyek lain). Add-on ini belum dites secara ekstensif. Oleh karena itu, akan lebih baik, sebelum melakukan pembaharuan data vektor, hendaknya Anda menyalin ke dalam vektor baru. Atau jika masih ragu gunakan saja d.what.vect -e dan masukkan data atribut satu per satu. screenshot.

Author: Andreas Philipp

v.dip

v.dip membuat vektor titik ketebalan dari vektor strike dan dip angles. v.dip adalah program inti ANSI C. v.dip dapat berjalan tanpa GRASS.

Author: Marcin Slodkowski

v.flip

v.flip membalik arah dari garis vektor terpilih (redundant karena sejak GRASS 6.3 - ada fungsi "v.edit tool=flip").

Author: Maciej Sieczka

v.group

v.group menghasilkan sebuah peta vektor baru dengan geometri yang sama dengan peta yang sudah ada. Peta yang baru ini memiliki kategori dan tabel berdasarkan pengelompokkan nilai dalam kolom tertentu dari tabel peta yang sudah ada. Nilai dari kolom ini tetap dipertahankan dalam tabel untuk peta baru. Add-on ini seperti v.reclass yang tetap mempertahankan data yang lama.

Author: Cedric Shock

v.in.gama

v.in.gama mengubah berkas keluaran XML GNU GaMa ke dalam layer peta vektor GRASS.

Author: Martin Landa

v.in.ncdc

v.in.ncdc mengimpor sebuah berkas stn (station data) NCDC ke dalam peta vektor GRASS.

Author: Huidae Cho

v.in.osm

v.in.osm: mengimpor OpenStreetMap ke dalam GRASS. Hanya mendukung API 0.4, akan dimodifikasi segera agar dapat berfungsi di API 0.5.

Author: Jannis Achstetter

Lihat juga osm2grass.sh oleh H Bowman

v.in.ovl

v.in.ovl adalah sebuah skrip shell yang mengimpor sebuah berkas vektor ASCII dari TOP10|25|50 atau produk yang serupa.

Author: Peter Löwe

v.lda

v.lda is a shell script for calculating Ian Johnson's (U. Sidney) Local Density Analysis values to measure clustering of point data at different neighborhood radii. There is an option to create a simple line graph of the results. There have been reports of problems creating the line graph on Cygwin installations of GRASS.

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.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.
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.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.

Author: Peter Löwe

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.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.sample.buffer

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.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 within a few dozen 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

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:
svn co https://svn.osgeo.org/grass/grass-addons/vector/v.strahler

v.swathwidth

v.swathwidth creates a vector map representing the sea bottom coverage of a multibeam (swath) sonar survey.

Author: David Finlayson

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.trees3d

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

Author: Jachym Cepicky


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

v.variogram

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.

AniMove

AniMove is software for analysis of animal movement and ranging behaviour using QGIS+GRASS+R.

Authors: Support by Faunalia.it

Raster add-ons

See also

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

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.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:

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

r.colors.stddev

r.colors.stddev is a GRASS shell script for creating dynamic color rules for raster maps based on univariate statistics.

Author: Hamish Bowman

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://soliton.vm.bytemark.co.uk/pub/cpt-city/

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 and archived using tar with gzip/bzip2 compression if appropriate flags are given. Shading parameters can be modified, though useful defaults are given.

Author: Eric Patton

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.eucdist

r.eucdist creates a raster map estimating the euclidean distance from known cells.

Author: David Finlayson

r.fragment

r.fragment fragments a raster into a user-defined set of smaller tiles according to an input number of rows and columns. Optionally, a null value threshold can be set to filter out candidate tiles that would have a large percentage of null cells.

Author: Eric Patton

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.in.onearth

r.in.onearth for download and import satellite images direct from the NASA onearth WMS server into GRASS.

Author: Soeren Gebbert

r.in.wms

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.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.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.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.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.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.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.pack

r.pack and r.unpack are two GRASS scripts for transfering raster maps to another computer as a single file.

Author: Hamish Bowman

r.roughness

r.roughness 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

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 only USDA schema). It is written in C language. - for GRASS versions 6.X - For bugs and suggest: g_massa@libero.it

Author: Gianluca Massei

r.surf.nnbathy

r.surf.nnbathy interpolates a surface from a raster input using the nn natural neighbor interpolation library. Provides triangulation, Sibson natural neighbor interpolation and non-Sibsonian interpolation.

Author: Maciej Sieczka

r.tileset

r.tileset generates a list of tiles and sizes in a source projection that cover the region in the current database with appropriate resolution. The size of individual tiles can be constrained. Only tiles intersecting the current region are returned. These tilings are appropriate for requesting data from another projection to meet the specifications of the current region. For example, it could be used to generate tile requests to a latitude / longitude WMS server like this r.tileset -w sourceproj="+init=epsg:4326".

Author: Cedric Shock

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

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/gipe
  • 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.
  • r.usler creates USLE R factor (Rainfall erosivity) from annual precipitations. It has 4 methods, Morgan, Roose, Foster and El-Swaify to choose from. Authors: Natalia Medvedeva and Yann Chemin
  • r.uslek creates USLE K factor (soil erodibility) from sand, clay, silt fractions and organic matter fraction. Based on USDA 1951 (p209) quoted in FAO World Soil CD, and from some generic [soil class+OM] to K conversion table.
  • i.albedo creates Albedo. Albedo is the shortwave surface reflectance in the range of 0.3-3 micro-meters. This module takes Modis, Aster, Landsat or AVHRR individual surface reflectance bands to calculate Albedo. This module is a precursor to r.sun or any Energy-Balance related processing.
  • 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.vi creates a given Vegetation index from a list of 13 of them, most of them only requiring Red and NIR. Updated to accept all types of input data. Authors: Baburao Kamble and Yann Chemin
  • i.vi.mpi is the mpi verion for cluster GRASS GIS education (no speed up here!) Author: Shamim Akhter
  • 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.biomass creates biomass growth map from fPAR, lightuse efficiency, water availability (or evap.fraction), Lat, doy and tsw.

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


General add-ons

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

Imagery add-ons

See also

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

i.atcorr

Atmospheric Correction using Christo Zietsman's implementation of 6s code in C/C++.

Author: Christo Zietsman. Incorporated into GRASS 6.4+

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.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:
  svn co https://svn.osgeo.org/grass/grass-addons/imagery/i.pr

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
Spectral Angle mapping
Author: Markus Neteler. Available via SVN:
  svn co https://svn.osgeo.org/grass/grass-addons/imagery/i.spec.sam/

i.spec.unmix

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

Display add-ons

See also

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

d.edit.rast

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

Author: Huidae Cho

d.frame.quarter

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.

Author: Hamish Bowman

d.frame.split

d.frame.split is similar as d.frame.quarter, but works for 2,4,6,8,9,12, and 16 subframes and gives an option to spread the frames horizontally or vertically. Replacement for d.split and d.frame.quarter. Used in GRASS 7 as d.split.

Author: Hamish Bowman

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

IconSymbols

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

pd-GRASS

pd-GRASS: Parallel Display for GRASS GIS

Author: Alex Sorokine

Postscript add-ons

See also ps.map samples and templates.

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

AreaFillPatterns

  • Hatches for ps.map's vareas

GRASS and UMN Mapserver