GRASS PROGRAMS BY FUNCTION
GRASS Version 5.0
GENERAL PROGRAMS
Start the point-and-click user interface for GRASS
tcltkgrass
General location and mapset management commands
g.access Control access to your mapset by other users
g.gisenv Query present location and mapset
g.mapsets Query presently accessible mapsets or change access
g.setproj List or change projection information for the location
Copy, list, remove, rename maps, icons, labels, regions, groups, or 3dviews
g.copy Copy maps, icons, labels, regions, groups, or 3dviews
g.list List the maps, icons, labels, regions, groups, or 3dviews
g.remove Remove maps, icons, labels, regions, groups, or 3dviews
g.rename Rename maps, icons, labels, regions, groups, or 3dviews
Help
g.help GRASS interactive help
g.version Interactively list information about the GRASS version
Misc.
g.tempfile Creates a temporary file and prints the file name. Designed for shell scripts that need to use large temporary files. GRASS provides a mechanism for temporary files that does not depend on /tmp.
INPUT/OUTPUT PROGRAMS
Input or import data into GRASS
Into raster maps
i.in.erdas Creates raster files from ERDAS files.
m.in.e00 Input Arc/Info .e00 files
m.in.stf1.tape Filter to extract lines from a text file based on column contents, especially for Bureau of the Census STF1 files
m.lulc.USGS Creates raster map layers from a Composite Theme Grid (CTG) file created by m.lulc.read . m.lulc.read extracts the CTG data from an ASCII landuse/landcover (lulc) CTG format file supplied by the USGS
m.lulc.read Extracts Landuse/Landcover data in the ASCII Composite Theme Grid (CTG) data format distributed by the USGS in to a working file for m.lulc.USGS
m.sdts.read Reads files in ISO 8211 (FIPS 123) format and dumps contents to screen and/or file
m.strip99s Strips the no data, '99', areas out and replaces them with spaces (after raster import with r.in.miads)
m.tiger.region Finds geographic region information for U.S. Census Bureau TIGER input data
r.in.arc Convert an ESRI ARC/INFO ascii raster file (GRID) into a (binary) raster map layer.
r.in.ascii Convert an ASCII raster text file into a (binary) raster map layer.
r.in.bin Import a binary raster file.
r.in.doq Import digitial orthophotographs into GRASS raster map
r.in.dted Imports DTED I & DTED II into GRASS Lat-Lon location
r.in.elas Import an ELAS raster file into a GRASS raster map
r.in.gdal Import GDAL supported raster file into a binary raster map layer
r.in.gridatb Imports GRIDATB.FOR map file (TOPMODEL) into GRASS raster map
r.in.ll Converts raster data referenced using latitude and longitude coordinates to a UTM-referenced map layer in GRASS raster format
r.in.miads Imports SCS MIADS format raster data into GRASS raster map layer
r.in.png Import non-georeferenced PNG format Image into GRASS raster file.
r.in.poly Create raster maps from ascii polygon/line data files in the current directory
r.in.ppm Converts an ASCII/BINARY PPM image file to a GRASS raster file
r.in.shape Read an ArcView Shapefile (polygons and lines)
r.in.sunrast Converts a SUN raster file to a GRASS raster file
r.in.tang Imports Tangent raster data into GRASS raster map layer
r.in.tiff Imports a TIFF (8 or 24 bit) raster file into GRASS raster file(s)
r.in.utm Imports an utm raster map into a GRASS raster map layer.
Into site lists
s.in.ascii Convert an ASCII listing of site locations into a GRASS site list file.
s.in.dbf Import a dBase table of site locations into a GRASS site list file.
s.in.shape Read an ArcView Shapefile with points or multipoint shapes
Into vector maps
v.import This program performs all of the processes that are needed to convert ASCII DLG files, binary DLG files, ASCII SCS-GEF files, ASCII ARC Ungenerate files, ASCII DXF files, and ASCII vector files into binary vector files.
v.in.arc Imports vector data in ARC/INFO ungenerate format into GRASS.
v.in.ascii Converts ASCII vector map layers into binary vector map layers.
v.in.atlas Imports vector maps from Atlas GIS??
v.in.dlg Converts an ASCII USGS DLG-3 Optional file to a binary GRASS vector (dig) file.
v.in.dlg.scs Developed to handle DLG-3 ASCII import of data, specifically a DLG WITHOUT category/attribute codes. DLG files with this affliction will require a flat ASCII file having a 1 to 1 correspondence between DLG area number and a text label.
v.in.dlg2 Converts an ASCII or binary USGS DLG-3 (bdlg) file to a binary GRASS vector (dig) file.
v.in.dxf Converts files in DXF format to ASCII or binary GRASS vector file format.
v.in.dxf3d Converts the Z values of DXF files to attribute GRASS vector file format.
v.in.gshhs Import Global Self-consistant Hierarchical High-resolution Shoreline (GSHHS) data
v.in.mif Import of MapInfo vector files
v.in.poly This program creates a vector map of polygons of specified radius around center points which may be input as coordinate pairs from a file or from standard input.
v.in.sdts Imports SDTS vector data, conforming to the Topological Vector Profile, into GRASS, creating GRASS vector map(s) and associated attribute files ready to be installed in a relational database.
v.in.shape Read an ArcView Shapefile
v.in.tig.basic This program creates a GRASS vector map in the current mapset (UTM or Lat-Long locations only) with labelled line segments constructed from the end points (nodes) from the Type 1 TIGER file records and shape points from the Type 2 TIGER file.
v.in.tig.lndmk This program creates a GRASS site or vector map of Census "Landmark" features in the current mapset (UTM or Lat-Long locations only) with labelled points, areas or lines constructed from the TIGER file records. Each point or area Landmark is a record in the Type 7 TIGER/Line file for a county.
v.in.transects Imports "transects" into a GRASS vector map. A transect is a line (or an area) which is described by a starting coordinate, a direction or azimuth, (or backward, forward, rightside, and leftside distances from the line transect), and a length (in meters or feet).
Input US Census data
m.in.stf1.tape Filter to extract lines from a text file based on column contents, especially for Bureau of the Census STF1 files
m.tiger.region Finds geographic region information for U.S. Census Bureau TIGER input data
v.apply.census This program reads a previously selected subset of STF1 or PL94-171 U.S. Census Bureau demographic records (see m.in.stf1.tape), and creates a site list or vector file.
v.in.tig.basic This program creates a GRASS vector map in the current mapset (UTM or Lat-Long locations only) with labelled line segments constructed from the end points (nodes) from the Type 1 TIGER file records and shape points from the Type 2 TIGER file.
v.in.tig.lndmk This program creates a GRASS site or vector map of Census "Landmark" features in the current mapset (UTM or Lat-Long locations only) with labelled points, areas or lines constructed from the TIGER file records. Each point or area Landmark is a record in the Type 7 TIGER/Line file for a county.
Input US Geological Survey (USGS) or US Military digital elevation data
m.bsplit Splits a large (greater than 1,048,000 megabyte) binary file into smaller portions.
m.dem.examine Provides a terse description of USGS Digital Elevation Model (DEM) data files stored on 1/2-inch magnetic tape
m.dem.extract Extracts USGS Digital Elevation Model (DEM) data from 1/2-inch magnetic tape
m.dmaUSGSread Extracts digital terrain elevation data (DTED) produced by the Defense Mapping Agency (DMA) but supplied by the USGS (in a different tape format) on 1/2-inch magnetic tape.
m.dted.examine Provides a terse description of level 1 and 2 digital terrain elevation data (DTED) files produced and distributed by the Defense Mapping Agency (DMA) on 1/2-inch magnetic tapes
m.dted.extract Extracts digital terrain elevation data (DTED - levels 1 and 2) produced and supplied by the Defense Mapping Agency (DMA) on 1/2-inch magnetic tapes
m.examine.tape Provides a description of the files on a 1/2-inch magnetic tape.
m.flip Flips elevation data extracted from systems that retrieve data by rows from south to north
m.futil Merge 2 ascii files, re-arrange the column order of an ascii file, or divide an ascii file.
m.rot90 Rotate a raster map 90 degrees
Output or export data from GRASS
From a raster map
r.out.arc Converts a raster map layer into an ESRI ARCGRID file
r.out.ascii Converts a raster map layer into an ASCII text file
r.out.bin Exports a GRASS raster to a binary array. Can also output GMT compatible header or BIL world and header files
r.out.elas Export a GRASS raster map layer to an ELAS raster file
r.out.gridatb Exports GRASS raster map to GRIDATB.FOR map file (TOPMODEL)
r.out.mpeg Raster File Series to MPEG Conversion Program.
r.out.png Export GRASS raster as non-georeferenced PNG image format
r.out.pov Converts a raster map layer into a height-field file for POVRAY.
r.out.ppm Converts a GRASS raster file to a PPM image file at the pixel resolution of the CURRENTLY DEFINED REGION
r.out.rlc Exports a GRASS raster to a RLC encoded binary file.
r.out.tga Exports a GRASS raster file to a 24bit TGA file
r.out.tiff Exports a GRASS raster file to a 8/24bit TIFF image file at the pixel resolution of the currently defined region. Can also output a TIFF world file or a tiled TIFF
r.out.xyz Export GRASS raster files into xyz format.
From a site list
s.out.ascii Converts a GRASS site list file into an ASCII listing of site locations and their descriptions.
s.out.e00 Write an Arc-Info point coverage in e00 format.
From a vector map
v.export Converts binary vector files into formatted ASCII files for transfer to other computer systems.
v.out.arc Exports GRASS vector files to ARC/INFO's "ungenerate" file format.
v.out.ascii Converts a binary GRASS vector map layer into an ASCII GRASS vector map layer.
v.out.atlas Exports vector maps to Atlas GIS format??
v.out.dlg Converts binary GRASS vector data to DLG-3 Optional vector data format.
v.out.dxf Generates an ASCII DXF (AutoCad) file from a GRASS vector ASCII file.
v.out.e00 Write an Arc-Info line/polygon coverage in e00 format
v.out.idrisi A quick and dirty export routine from GRASS to IDRISI.
v.out.mapinfo Convert site, line, area data to MapInfo format??
v.out.mif Exports GRASS vector maps to MapInfo vector file
v.out.moss Converts GRASS site, line, or area data into MOSS import format.
v.out.sdts Creates an SDTS dataset conforming to the Topological Vector Profile from a GRASS vector map layer.
v.out.shape Export GRASS vectors files to ESRI Shapefile format.
v.sdts.dq.cp The program provides assistance for the preparation of the five data quality report modules (Lineage, Positional Accuracy, Attribute Accuracy, Logical Consistency, and Completeness) required in an SDTS transfer dataset.
v.sdts.meta This menu-driven Tcl/Tk program enables the user to prepare and install supplementary metadata and data quality reports for a vector map preceding the creation of an SDTS transfer dataset.
v.sdts.meta.cp The program provides assistance for the preparation of supplemental metadata for an SDTS export dataset.
COORDINATE/MAP PROJECTION PROGRAMS
m.datum.shift Datum shift program. Return geographic coordinates based on a different datum than the one used to obtain the original coordinates.
m.gc2ll Convert geographic to lat.-long. coordinates
m.ll2gc Convert lat.-long. to geographic coordinates
m.ll2u Convert lat.-long. to UTM coordinates
m.proj General projection utility for raster maps
m.region.ll Converts UTM coordinates falling within the current geographic
region to geographic (latitude/longitude) coordinates.
m.u2ll Convert UTM coordinates to lat.-long. coordinates
r.proj Re-project a raster map from one location to the current location (no datum transformation yet)
s.proj Allows the user to re-project a sites file from one location to the current location (no datum transformation yet).
v.proj Allows a user to convert a vector map in a specified mapset of a specified location (different from current) with projection of input location to the vector map in a current mapset of current location with projection of current location (both projections are defined by corresponding PROJ_INFO files).
DATABASE PROGRAMS
d.ask Prompts the user to select a GRASS data base file from among files displayed in a menu on the graphics monitor.
d.db Displays points from database table in the display window.
d.what.db View/edit attributes of selected DB site.
db.columns List all columns for a given table
db.connect Connect to the database through DBMI
db.createdb Create an empty database
db.databases List all databases for a given driver
db.describe Describe a table (in detail)
db.drivers List all installed DBMI drivers
db.dropdb Remove a database
db.droptable Remove a table from database
db.execute Execute any SQL statement
db.select Select data from database
db.tables List all tables for a given database
g.ask Prompts the user for the names of GRASS data base files
g.filename Prints GRASS data base file names
g.findfile Searches for GRASS data base files and sets variables for the shell
v.db.reclass Changes vector category values for an existing vector map according to results of SQL queries.
v.to.db Load values (e.g., category, label, area) from a vector map to a database.
DISPLAY PROGRAMS
Start, stop, and erase display windows and the frames inside display windows
d.erase Erase the contents of the active display frame with user-defined color.
d.frame Manages display frames on the user's graphics monitor. Create, erase, or select a frame for output.
d.mon To establish and control use of a graphics display monitor.
nviz Visualization and animation tool for GRASS data
Add maps to display window in 2-D
General
d.display Interactively display maps and map elements (e.g., barscale).
Composite maps
d.his Produces and displays a raster map layer combining hue, intensity, and saturation (his) values from user-specified input raster map layers.
d.rgb Produces and displays a false color composite from 3 raster maps representing red, green, and blue
Database table
d.db Displays points from database table in the display window.
Raster maps
d.rast Display a raster map and raster overlays in the display window.
Site lists/points
d.icons Displays points, as icons, at user-defined locations in the active display frame on the graphics monitor.
p.icons Display/Paint icon generator
d.points Displays points from a file in the display window.
d.site.labels Labels points from a sites file in the display window.
d.sites Displays points from a sites file in the display window.
d.sites.qual Displays points from a sites file in the display window; identical to d.sites except adds the possibility of using rules to select a subset of the sites for display.
Vector maps
d.vect Display a vector map in the display window.
d.vect.cats Display one category of a vector map in the display window.
d.vect.labels Labels vectors using the attribute value or the category value. Performs automated placement of labels for a vector map on the current graphics monitor.
Add maps to display window in 3-D
Raster maps
d.3d Displays three-dimensional images based on raster map layers
Add graphic elements to the display window
d.graph Program for generating and displaying simple graphics to the graphics display monitor.
d.mapgraph Generates and displays simple graphics on map layers drawn in the active graphics monitor display frame.
Add map elements (e.g., barscale) to the display window
d.barscale Displays a barscale on GRASS monitor.
d.scale Displays a barscale on GRASS monitor (seems to be identical to d.barscale.
d.colortable To display the color table associated with a raster map layer.
d.geodesic Displays a geodesic line, tracing the shortest distance between two geographic points along a great circle, in a longitude/latitude data set.
d.grid Overlays a user-specified grid in the active display frame on the graphics monitor.
d.legend Add a graphic legend to the display window.
d.leg.thin Improved version of d.legend that allows:
- Thinning the categories to be represented in the legend
- Displaying a continuous gradient of all categories in the legend
- Interactive mouse placement of the smooth gradient box.
d.rhumbline Display a rhumbline for a longitude/latitude data set.
Add histograms, linegraphs, or profile plots to the display window
d.histogram Displays a histogram in the form of a pie or bar chart for a user-specified raster file.
d.linegraph Display a linegraph for x versus y data on the display window.
d.profile Interactive profile plotting utility with optional output.
Add text to the display window
d.font Selects the font in which text will be displayed on the user's graphics monitor.
d.label Creates and displays text labels in the active display frame on the graphics monitor.
d.labels Interactively (only) place labels on the display window.
d.menu Creates and displays a menu within the active frame on the graphics monitor.
d.paint.labels Add labels stored in a labels file (from d.labels) to the display window.
d.text Add text of a particular size and color at a specific place on the display window.
d.title Add a title of a particular size and color.
p.icons This program allows the user to create and maintain icons which are used by the p.map and d.icons commands to depict sites.
p.labels This module allows the user to create or modify labels files. These labels files, which are stored in the database, define text information for printing with p.map and for graphics display with d.paint.labels.
Interactively pan, zoom, or otherwise change the region in the display window
d.extend Set window region from currently displayed raster, vector and sites maps with largest map region.
d.pan Pan (move spatially) or zoom a raster, vector, or site map
d.zoom Zoom a raster. vector, or site map
Manually zoom or otherwise change the region in the display window
g.region Set region to match default region, any map, particular north, south, east, or west limits, or change the resolution, or save the present region
Get information about cell resolution and change cell resolution
g.region Get information about resolution or change the resolution of the present region
m.qcalc Calculate a table showing (1) cell size in square feet, acres, and hectares, (2) acres in square feet, hectares, and cells, (3) hectares in square feet, acres, and cells. The user specifies a range of values (e.g., 1 to 10) and these conversions are shown in a table for each value in the range.
Get information from the display window
d.area Obtains area/perimeter information on vector polygons.
d.measure Measures the lengths and areas of features drawn by the user
in the active display frame on the graphics monitor.
d.what.rast Allows the user to interactively query the category contents of multiple raster map layers at user-specified locations within the current geographic region.
d.what.sites Allows the user to interactively query site list descriptions.
d.what.vect Allows the user to interactively query a vector map layer at user-selected locations within the current geographic region.
d.where Allows the user to interactively query the geographic coordinates of a point on the display window.
Adjust colors of maps in display window
d.colorlist Output a list of all available display colors with a configurable separator
d.colormode Allows the user to establish whether a map will be displayed using its own color table or the fixed color table of the graphics monitor.
d.colors Interactive changes in colors on the display window.
Display and edit information for small parts of raster maps
d.rast.arrow Display directional information from a raster map.
d.rast.edit Interactively edit an integer raster map
d.rast.num Display the values in a small area of an integer raster map.
Geographically register or adjust the coordinates for a map
d.fix.ortho Interactively shift a map in east and/or north directions
Save commands sufficient to re-create the current display window
d.save Create a list of commands for recreating screen graphics.
IMAGERY PROGRAMS
Image group management
i.group Create or modify sets of raster maps that make up a group.
i.target This program targets an imagery group to a GRASS database
Input maps to imagery groups from files
i.in.erdas Creates raster files from ERDAS files.
Input maps to imagery groups from tapes
i.tape.mss
i.tape.mss.h An imagery function that extracts header information from LANDSAT Multispectral Scanner (MSS) imagery data stored on half-inch tape
i.tape.other An imagery function that extracts scanned aerial imagery (NHAP, etc.) and satellite imagery (TM, SPOT, etc) from half-inch or 8mm tape.
i.tape.slc ERS1.SAR.SLC CEOS file tape extraction (ERS RADAR data extractor).
i.tape.spot An imagery function that extracts SPOT imagery from half-inch tape.
i.tape.tm An imagery function that extracts LANDSAT Thematic Mapper (TM) imagery from half-inch tape.
i.tape.tm.fast An imagery function that extracts Thematic Mapper (TM) imagery from tape media
Output images to other image processing programs
i.out.erdas Output an imagery group or maps in ERDAS format
Image statistical analysis
i.cca Canonical components analysis (cca) program for image processing.
i.fft Fast Fourier Transform (FFT) for image processing.
i.ifft Inverse Fast Fourier Transform for image processing.
i.pca Principal components analysis (pca) program for image processing.
i.shape Performs spatial shape identification and classification on a raster map.
i.texture Calculate 14 measures of image texture for a raster map.
Image classification and accuracy assessment
i.class Supervised classification?
i.cluster An imagery function that generates spectral signatures for land cover types in an image using a clustering algorithm. The resulting signature file is used as input for i.maxlik, to generate an unsupervised image classification.
i.gensig Generates statistics for i.maxlik from raster map layer.
i.gensigset Generate statistics for i.smap from raster map layer.
m.ipf Iterative proportional fitting for error matrices. Uses an error or confusion matrix produced by r.coin or r.kappa, smooths zero counts, and does iterative proportional fitting to normalize the matrix.
m.kappa Calculate error matrix and kappa parameter for accuracy assessment of classification result
r.kappa Calculate error matrix and kappa parameter for accuracy assessment of classification result.
i.maxlik An imagery function that classifies the cell spectral reflectances in imagery data based on the spectral signature information generated by either i.cluster, i.class, or i.gensig.
i.smap An imagery function that performs contextual image classification using sequential maximum a posteriori (SMAP) estimation.
Image feature mapping
i.rvi.prediction Calculates ground features, e.g. plant cover, by remote sensing data using a given regression model
r.rvi.prediction Calculates ground features, e.g. plant cover, by remote sensing data using a given regression model.
Make composite maps from maps in an imagery group or from several raster maps
i.colors Allows the user to interactively assign red, green, and blue colors to the band files in an imagery group while viewing the display of the combined bands on the graphics monitor
i.composite An imagery function that creates a color composite image from three imagery band files specified by the user.
i.grey.scale An imagery function that assigns a histogram contrast stretch grey scale color table to a raster map layer.
i.his.rgb Convert a histogram-intensity-saturation set of maps to a red-green-blue set of maps.
i.quantize An interactive imagery function that creates a raster map layer whose color table is based on the red, green, and blue color values present in existing, user-specified imagery group files.
i.rgb.his Convert a red-green-blue set of maps to a histogram-intensity, saturation set of maps.
r.composite Combines red, green and blue map layers into a single composite map layer.
r.his Generates red, green and blue raster map layers combining hue, intensity, and saturation (his) values from user-specified input raster map layers
Image registration and orthorectification
i.ortho.photo Interactively orthorectify maps in an imagery group
i.points An imagery function that enables the user to mark coordinate system points 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.rectify.
i.points3 An imagery function that enables the user to mark coordinate system points on an image to be rectified and then input the coordinates of each point for determination of transformation parameters. The transformation parameters are needed as input for the GRASS program i.rectify3
i.rectify Spatially register an image to geographic coordinates
i.vpoints Identifies coordinate pairs of points from a vector map or keyboard entry and corresponding points in an image.
Edge detection
i.zc Zero-crossing "edge detection" raster function for image processing.
GENERAL RASTER PROGRAMS
Get summary information about a single raster map
r.cats Prints category values and labels associated with user-specified raster map layers.
r.describe Prints terse list of category values found in a raster map layer.
r.info Outputs basic information about a user-specified raster map layer
r.report Reports acres, hectares, or number of cells as well as miles, meters, or kilometer for each category in a raster map layer.
r.stats Generates area statistics for raster map layers. Can print total area, number of cells, percent cover for each category. Can also print category value, row, and column, as well as easting and northing for each cell.
r.sum Sums up the raster cell values.
r.surf.area Surface area estimation for rasters.
Get information about a single raster map at specific points
d.what.rast Allows the user to interactively query the category contents of multiple raster map layers at user-specified locations within the current geographic region.
r.what Queries raster map layers on their category values and category labels at specific easting and northing locations, which are typed in.
s.sample Sample a raster file at site locations.
Get information about a single raster map along transects or profiles
r.profile Outputs the raster map layer values lying on user-defined line(s)
r.transect Outputs raster map layer values lying along user defined transect line(s). Can output the raw values or the median or average.
Get information from two or more raster maps
Given a base map, get information for corresponding areas in a cover map
r.average Finds the average of values in a cover map within areas assigned the same category value in a user-specified base map.
r.median Finds the median of values in a cover map within areas assigned the same category value in a user-specified base map
r.mode Finds the mode of values in a cover map within areas assigned the same category value in a user-specified base map
r.statistics Category or object oriented statistics. Can calculate distribution, average, mode, median, standard deviation, variance, skewness, kurtosis, minimum, maximum, and sum for cells in a cover map given categories in a user-specified base map.
r.volume Calculates the volume of data "clumps", and (optionally) produces a GRASS site_lists file containing the calculated centroids of these clumps.
Quantify the relationship between two or more raster maps
r.coin Tabulates the mutual occurrence (coincidence) of categories for two raster map layers.
r.covar Outputs a covariance/correlation matrix for user-specified raster map layer(s).
r.distance Locates the closest points between objects in two raster maps.
m.ipf Iterative proportional fitting for error matrices. Uses an error or confusion matrix produced by r.coin or r.kappa, smooths zero counts, and does iterative proportional fitting to normalize the matrix.
Create new raster maps by digitizing on screen
r.digit Digitize on screen to produce a raster map.
Create new raster maps by reclassing, rescaling, or resampling
r.reclass Creates a new map layer whose category values are based upon the user's reclassification of categories in an existing raster map layer.
r.reclass.scs SCS version of r.reclass; only operates as interactive program
r.recode Rescale data with range a:b to a new range and adjust category values to fit the new range.
r.resample GRASS raster map layer data resampling capability. Often this is run after r.reclass in order to create a separate new map, since r.reclass simply creates a reclass table relative to the original map.
r.rescale.eq Rescales histogram equalized the range of category values in a raster map layer
Create new raster maps by quantitative or logical analysis
r.binfer Bayesian expert system development program.
r.infer Outputs a raster map layer whose category values represent the application of user-specified criteria (rules statements) to other raster map layers' category values.
r.mapcalc Raster map calculator to add, subtract, multiply, divide and do many other calculations on raster maps
Create new raster maps by combining other raster maps
r.combine Allows category values from several raster map layers to be combined.
r.cross Creates a cross product of the category values from multiple raster map layers.
r.mapcalc Raster map calculator to add, subtract, multiply, divide and do many other calculations on raster maps
r.patch Creates a composite raster map layer by using known category values from one (or more) map layer(s) to fill in areas of "no data" in another map layer
r.weight Weight provides the researcher with a computer driven mathematical method for doing weighted map overlays. Landscape characteristics are assigned weights, each location's characteristics then yield a total weight based on the sum of the weights assigned to its characteristics.
r.weight.new New version of r.weight??
r.weight2 r.weight2 is the non-interactive version of r.weight. Both programs allow the user to assign numeric values (i.e., "weights") to individual category values within raster map layers. These weights are then distributed locationally throughout a raster map layer based on the distribution of the categories with which they are associated.
Create new raster maps by spatial analysis
r.buffer Creates a raster map layer showing buffer zones surrounding cells that contain non-NULL category values.
r.circle Creates a raster map containing concentric rings around a given point.
r.clump Recategorizes data in a raster map layer by grouping cells that form physically discrete areas into unique categories.layer.
r.grow Generates an output raster map layer with contiguous areas grown by one cell (pixel).
r.neighbors Replace a cell value with the standard deviation, variance, diversity, or interspersion value in windows of size from 1-25 cells (odd values only)
Create new raster maps that are random
r.random Creates a raster map layer and site list file containing randomly located sites.
r.random.cells Generates random cell values with spatial dependence.
r.random.surface Generates random surface(s) with spatial dependence
r.surf.gauss GRASS module to produce a raster map layer of gaussian deviates whose mean and standard deviation can be expressed by the user. It uses a gaussian random number generator from Press, Flannery, Teukolsky and Vetterling (1988) - Numerical Recipes in C.
r.surf.random GRASS module to produce a raster map layer of uniform random deviates whose range can be expressed by the user. It uses the random number generator described in Press, Flannery, Teukolsky and Vetterling (1988) - Numerical Recipes in C.
Use a mask to restrict analysis to a particular part of the map
r.mask Create and destroy raster MASK files for highlighting and operating on particular map categories
r.mask.points Examines and filters lists of points constituting lines to determine if they fall within current region and mask and optionally an additional raster map.
Interpolate or smooth a raster map
r.bilinear Bilinear interpolation utility for raster map layers.
r.mfilter Raster file matrix filter.
r.neighbors Makes each cell category value a function of the category values assigned to the cells around it, and stores new cell values in an output raster map layer. Can use average, median, mode, minimum, maximum in windows of odd sizes from 1-25 cells.
r.surf.contour Surface generation program from rasterized contours.
r.surf.idw Surface interpolation utility for raster map layers.
r.surf.idw2 Surface generation program.
Convert raster maps to site lists or vector maps
Convert raster maps to site lists
r.to.sites Converts point data in a GRASS raster map layer into a GRASS site_lists file.
r.volume Calculates the volume of data "clumps", and (optionally) produces a GRASS site_lists file containing the calculated centroids of these clumps.
Convert raster maps to vector maps
r.contour Produces a GRASS binary vector map of specified contours from GRASS raster map layer.
r.line Creates a new binary GRASS vector (v.digit) file by extracting linear features from a thinned raster file
r.poly Extracts area edges from a raster map layer and converts data to GRASS vector format.
r.thin Thins non-zero cells that denote linear features in a raster map layer.
Raster utilities: Modify color tables, compress maps, quantize, create support files
r.colors Creates/Modifies the color table associated with a raster map
r.colors.paint Create/modify colors for a particular printer
r.compress Compress/uncompress a raster map.
r.quant This routine produces the quantization file for a floating-point map
r.support Allows the user to create and/or modify raster map layer support files. Note: Interactive mode offers more functionality than command line mode. Can use this program to update the header file, histogram and range files, category files, color table, history file, or create or reset the null file for a raster map.
r.timestamp Print/add/remove a timestamp for a raster map.
Change the projection of a raster map
r.proj Re-project a raster map from one location to the current location (no datum transformation yet)
SPECIALIZED RASTER PROGRAMS