full_index(1grass)
๐ full_index โ the GRASS 8.5.0 Reference Manual, but make it make sense ๐
okay bestie, so this is the manual page full_index(1grass) from the GRASS User's Manual. It's literally the master list of every command that ships with GRASS 8.5.0, sorted by family. Let's get into it โจ
๐ธ GRASS 8.5.0 Reference Manual ๐ธ
Geographic Resources Analysis Support System, which everyone just calls GRASS, is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies. no cap, it really gets around ๐
This reference manual details the use of modules distributed with Geographic Resources Analysis Support System (GRASS), an open source (GNU GPLed), image processing and geographic information system (GIS). Go back to help overview ๐ซถ
๐ Display commands (d.*)
these ones make pretty pictures on your screen. main character energy, all of them ๐
d.backgroundโ Fills the graphics display frame with user defined color.d.barscaleโ Displays a barscale on the graphics monitor.d.colorlistโ Outputs a list of all available display colors.d.colortableโ Displays the color table associated with a raster map layer.d.correlateโ Prints a graph of the correlation between raster maps (in pairs).d.eraseโ Erases the contents of the active graphics display frame with user defined color.d.fontโ Selects the font in which text will be displayed on the user's graphics monitor.d.fontlistโ Lists the available fonts.d.frameโ Manages display frames on the user's graphics monitor.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.graphโ Program for generating and displaying simple graphics on the display monitor.d.gridโ Overlays a user-specified grid in the active display frame on the graphics monitor.d.hisโ Displays the result obtained by combining hue, intensity, and saturation (HIS) values from user-specified input raster map layers.d.histogramโ Displays a histogram in the form of a pie or bar chart for a user-specified raster map.d.infoโ Displays information about the active display monitor.d.labelsโ Displays text labels (created withv.label) to the active frame on the graphics monitor.d.legendโ Displays a legend for a 2D or 3D raster map in the active frame of the graphics monitor.d.legend.vectโ Displays a vector legend in the active graphics frame.d.linegraphโ Generates and displays simple line graphs in the active graphics monitor display frame.d.monโ Controls graphics display monitors from the command line.d.northarrowโ Displays a north arrow on the graphics monitor.d.out.fileโ Saves the contents of the active display monitor to a graphics file.d.pathโ Finds shortest path for selected starting and ending node.d.polarโ Draws polar diagram of angle map such as aspect or flow directions.d.profileโ Plots profile of a transect.d.rast.arrowโ Draws arrows representing cell aspect direction for a raster map containing aspect data.d.rast.editโ Edits cell values in a raster map.d.rastโ Displays user-specified raster map in the active graphics frame.d.rast.legโ Displays a raster map and its legend on a graphics window.d.rast.numโ Overlays cell category values on a raster map displayed in the active graphics frame.d.redrawโ Redraws the content of currently selected monitor.d.rgbโ Displays three user-specified raster maps as red, green, and blue overlays in the active graphics frame.d.rhumblineโ Displays the rhumbline joining two longitude/latitude coordinates.d.shadeโ Drapes a color raster over an shaded relief or aspect map.d.textโ Draws text in the active display frame on the graphics monitor using the current font.d.titleโ Create a TITLE for a raster map in a form suitable for display withd.text.d.to.rastโ Saves the contents of the active display monitor to a raster map.d.vect.chartโ Displays charts of vector data in the active frame on the graphics monitor.d.vectโ Displays user-specified vector map in the active graphics frame.d.vect.thematicโ Displays a thematic vector map in the active graphics frame.d.what.rastโ Allows the user to interactively query raster map layers at user-selected locations.d.what.vectโ Allows the user to interactively query vector map layers at user-selected locations.d.whereโ Identifies the geographic coordinates associated with point locations given in display coordinates.
๐ฆ Database commands (db.*)
your attribute tables' whole support system ๐
db.columnsโ List all columns for a given table.db.connectโ Prints/sets general DB connection for current mapset.db.copyโ Copy a table.db.createdbโ Creates an empty database.db.databasesโ Lists all databases for a given driver and location.db.describeโ Describes a table in detail.db.driversโ Lists all database drivers.db.dropcolumnโ Drops a column from selected attribute table.db.dropdbโ Removes an existing database.db.droptableโ Drops an attribute table.db.executeโ Executes any SQL statement.db.in.ogrโ Imports attribute tables in various formats.db.loginโ Sets user/password for DB driver/database.db.out.ogrโ Exports attribute tables into various formats.db.selectโ Selects data from attribute table.db.tablesโ Lists all tables for a given database.db.testโ Test database driver, database must exist and set bydb.connect.db.univarโ Calculates univariate statistics on selected table column.
โจ General commands (g.*)
the generalists. they do a lil bit of everything and we're obsessed ๐
g.accessโ Controls access to the current mapset for other users on the system.g.cairocompโ Overlays multiple X Pixmaps.g.copyโ Creates copies of maps and other elements.g.dirsepsโ Internal GRASS utility for converting directory separator characters.g.download.locationโ Download GRASS project (location) from the web.g.download.projectโ Download GRASS project from the web.g.extension.allโ Rebuilds or removes all locally installed GRASS Addons extensions.
okay we're like a third of the way through bestie, keep scrolling, there's so much more ๐
g.extensionโ the lil plugin manager bestie ๐ installs, updates and ditches GRASS Addons extensions inside your local GRASS install.g.filenameโ prints out GRASS data base file names for you ๐g.findetcโ goes hunting for GRASS support files ๐g.findfileโ hunts down GRASS data base files and sets variables for the shell while it's at it โจg.gisenvโ shows you your current GRASS variable settings and lets you change them ๐ ๏ธg.gui.animationโ an animation tool for a whole series of raster and vector maps, or for a space time raster or vector dataset ๐ฌg.gui.datacatalogโ your browse / modify / manage hub for GRASS maps ๐๏ธg.gui.dbmgrโ launches the graphical attribute table manager ๐g.gui.gcpโ georectifies a map and lets you manage Ground Control Points ๐g.gui.gmodelerโ the Graphical Modeler, iconic, no notes ๐งฉg.guiโ launches a GRASS graphical user interface (GUI) session ๐ฅ๏ธg.gui.iclassโ supervised classification of imagery data, but make it a GUI ๐g.gui.image2targetโ georectifies a map and manages Ground Control Points, this time for 3D correction ๐งg.gui.mapswipeโ compares two maps interactively by swiping a visibility bar back and forth ๐g.gui.photo2imageโ fixes up the scanning distortions of a paper photo ๐ธg.gui.psmapโ the tool for making hardcopy map outputs ๐จ๏ธg.gui.rdigitโ interactive editing and digitizing of raster maps โ๏ธg.gui.rlisetupโ the configuration tool forr.limodules โ๏ธg.gui.timelineโ compares temporal datasets by plotting their temporal extents out in a little plot ๐g.gui.tplotโ plots the values of temporal datasets ๐g.gui.vdigitโ interactive editing and digitization of vector maps ๐๏ธg.listโ lists the GRASS data base files that are available for whatever data type you asked for, optionally filtered with a search pattern ๐g.manualโ displays the manual pages of GRASS modules, meta bestie ๐g.mapsetโ switches to another mapset, or just tells you which one you're in ๐g.mapsetsโ modifies or reports your current mapset search path ๐งญg.messageโ prints a message, warning, progress info, or fatal error the GRASS way ๐ฌg.mkfontcapโ generates the font configuration file by scanning a bunch of directories for fonts ๐คg.parserโ hands GRASS scripts automated parser, GUI, and help support ๐ซถg.pnmcompโ overlays multiple PPM image files, stacking them up ๐ฅg.ppmtopngโ converts between PPM/PGM and PNG image formats ๐g.projโ prints or modifies GRASS projection information files, in various co-ordinate system descriptions ๐g.regionโ manages the boundary definitions for the geographic region, aka where your world ends ๐บ๏ธg.removeโ removes data base element files from your current mapset using a search pattern ๐๏ธg.renameโ renames data base element files in your current mapset โ๏ธg.search.modulesโ searches in GRASS modules using keywords ๐g.tempfileโ creates a temporary file and prints its file name ๐g.versionโ displays GRASS version info, so you know what era you're living in ๐ท๏ธ
๐๏ธ Imagery commands (i.*) ๐๏ธ
okay this whole squad is about imagery, and it is so much, bestie ๐ธ
i.albedoโ computes broad band albedo from surface reflectance โ๏ธi.aster.toarโ calculates Top of Atmosphere Radiance / Reflectance / Brightness Temperature from ASTER DN ๐ฐ๏ธi.atcorrโ does atmospheric correction using the 6S algorithm ๐ซ๏ธi.band.libraryโ prints the available semantic label information used for multispectral data ๐ท๏ธi.biomassโ computes biomass growth, which is the precursor of crop yield calculation ๐ฑi.ccaโ Canonical components analysis (CCA) program for image processing ๐i.clusterโ generates spectral signatures for land cover types in an image using a clustering algorithm ๐งฉi.colors.enhanceโ auto-balances the colors for RGB images ๐จi.eb.etaโ actual evapotranspiration for the diurnal period (Bastiaanssen, 1995) ๐งi.eb.evapfrโ computes evaporative fraction and root zone soil moisture ๐พi.eb.hsebal01โ computes sensible heat flux iteration SEBAL 01 ๐ฅi.eb.netradโ net radiation approximation (Bastiaanssen, 1995) โ๏ธi.eb.soilheatfluxโ soil heat flux approximation (Bastiaanssen, 1995) ๐ก๏ธi.emissivityโ computes emissivity from NDVI, the generic method for sparse land โจi.evapo.mhโ computes evapotranspiration using the modified or original Hargreaves formulation, 2001 ๐i.evapo.pmโ computes potential evapotranspiration with the hourly Penman-Monteith ๐ค๏ธi.evapo.ptโ computes evapotranspiration with the Priestley and Taylor formulation, 1972 ๐ฆi.evapo.timeโ computes temporal integration of satellite ET actual (ETa) following the daily ET reference (ETo) from meteorological station(s) ๐i.fftโ Fast Fourier Transform (FFT) for image processing, math girlies rise ๐งฎi.gensigโ generates statistics fori.maxlikfrom a raster map ๐i.gensigsetโ generates statistics fori.smapfrom a raster map ๐i.groupโ creates, edits, and lists groups of imagery data ๐ฏi.his.rgbโ transforms raster maps from HIS (Hue-Intensity-Saturation) color space to RGB (Red-Green-Blue) color space ๐i.ifftโ Inverse Fast Fourier Transform (IFFT) for image processing ๐i.image.mosaicโ mosaics several images together and extends the colormap ๐งฑi.in.spotvgtโ imports SPOT VGT NDVI data into a raster map ๐ฅi.landsat.accaโ performs Landsat TM/ETM+ Automatic Cloud Cover Assessment (ACCA) โ๏ธi.landsat.toarโ calculates top-of-atmosphere radiance or reflectance and temperature for Landsat MSS/TM/ETM+/OLI ๐ฐ๏ธi.maxlikโ classifies the cell spectral reflectances in imagery data ๐ฌi.modis.qcโ extracts quality control parameters from MODIS QC layers ๐งชi.oifโ calculates the Optimum-Index-Factor table for spectral bands ๐ฏi.ortho.cameraโ selects and modifies the imagery group camera reference file ๐ทi.ortho.elevโ selects or modifies the target elevation model โฐ๏ธi.ortho.initโ interactively creates or modifies entries in a camera initial exposure station file for an imagery group referenced by a sub-block ๐๏ธi.ortho.photoโ the menu driver for the photo imagery programs ๐บ๏ธi.ortho.rectifyโ orthorectifies an image using the image to photo coordinate transformation matrix ๐i.ortho.targetโ selects or modifies the imagery group target ๐ฏi.ortho.transformโ does the coordinate-transformation math based on your control points โจi.pansharpenโ image fusion algorithms that sharpen a multispectral image using high-res panchromatic channels, bestie ๐i.pcaโ principal components analysis, but make it image processing ๐i.rectifyโ rectifies an image by computing a coordinate transformation for every single pixel, using the control points ๐i.rgb.hisโ transforms raster maps out of RGB (Red-Green-Blue) color space and into HIS (Hue-Intensity-Saturation) ๐i.segmentโ sniffs out segments (objects) from imagery data, iconic behavior fri.signaturesโ manage your imagery classification signature files ๐ซถi.smapโ contextual image classification via sequential maximum a posteriori (SMAP) estimation, no capi.spectralโ displays the spectral response at whatever locations you point at in a group or images, lowkey magical โจi.targetโ targets an imagery group to a GRASS location and mapset ๐ฏi.tasscapโ performs the Tasseled Cap (Kauth Thomas) transformation, slayi.topo.corrโ computes topographic correction of reflectance, the terrain said fix your lighting ๐i.viโ calculates all the different types of vegetation indices ๐ธi.zcโ zero-crossing "edge detection" raster function for image processing, periodt
๐ Miscellaneous commands (m.*)
m.cogoโ a simple little utility that converts bearing and distance measurements into coordinates, and vice versa ๐งญm.measureโ measures the lengths and areas of features, measuring tape but make it GIS ๐m.nviz.imageโ creates a 3D rendering of your GIS data, main character energy fr โจm.nviz.scriptโ creates a fly-through script to run in NVIZ, cinematic vibes ๐ฆm.projโ converts coordinates from one projection to another (it's acs2csfrontend) ๐m.transformโ computes a coordinate transformation based on the control points ๐
๐ PostScript commands (ps.*)
ps.mapโ produces hardcopy PostScript map output, yes we're printing it, iconic ๐
๐ฅ Raster commands (r.*)
r.basins.fillโ generates watershed subbasins raster maps ๐r.blendโ blends the color components of two raster maps by a given ratio, mixing like a perfume girlie ๐r.bufferโ makes a raster map showing buffer zones around cells that hold non-NULL category values โจr.buffer.lowmemโ same energy asr.buffer: raster map showing buffer zones around cells with non-NULL category values, but this one is the low-memory variant for when your RAM is struggling ๐ญr.buildvrtโ builds a VRT (Virtual Raster) from your list of input raster maps ๐งr.carveโ generates stream channels โฐ๏ธr.categoryโ manages category values and labels tied to user-specified raster map layers ๐ท๏ธr.circleโ creates a raster map with concentric rings around a given point, target acquired ๐ฏr.clumpโ recategorizes data in a raster map by grouping cells that form physically discrete areas into unique categories ๐ซถr.coinโ tabulates the mutual occurrence (coincidence) of categories for two raster map layers ๐ชr.colorsโ creates/modifies the color table associated with a raster map, glow up time ๐จr.colors.outโ exports the color table associated with a raster map ๐r.colors.stddevโ sets color rules based on stddev from a raster map's mean value ๐r.compositeโ combines red, green and blue raster maps into one single composite raster map ๐r.compressโ compresses and decompresses raster maps, squeeze it bestie ๐๏ธr.contourโ produces a vector map of specified contours from a raster map ๐๏ธr.costโ creates a raster map showing the cumulative cost of moving between different geographic locations on an input raster map whose cell category values represent cost ๐ธr.covarโ outputs a covariance/correlation matrix for your user-specified raster map layer(s) ๐r.crossโ creates a cross product of the category values from multiple raster map layers โ๏ธr.describeโ prints a terse list of the category values found in a raster map layer ๐r.distanceโ locates the closest points between objects in two raster maps ๐r.drainโ traces a flow through an elevation model or cost surface on a raster map ๐งr.externalโ links GDAL-supported raster data as a pseudo GRASS raster map ๐r.external.outโ redirects raster output to a file using the GDAL library instead of storing it in GRASS raster format ๐คr.fill.dirโ filters and generates a depressionless elevation map plus a flow direction map from a given elevation raster map ๐ณ๏ธr.fill.statsโ rapidly fills 'no data' cells (NULLs) of a raster map with interpolated values (IDW), fast fr โกr.fillnullsโ fills no-data areas in raster maps using spline interpolation ๐งฉr.flowโ constructs flowlines ๐r.geomorphonโ calculates geomorphons (terrain forms) and their associated geometry using a machine vision approach ๐๏ธr.grow.distanceโ generates a raster map containing distances to the nearest raster features and/or the value of the nearest non-null cell ๐r.growโ generates a raster map layer with contiguous areas grown by one cell ๐ฑr.gwflowโ numerical calculation program for transient, confined and unconfined groundwater flow in two dimensions ๐งr.hisโ generates red, green and blue (RGB) raster map layers by combining hue, intensity and saturation (HIS) values from your user-specified input raster map layers ๐จr.horizonโ computes horizon angle height from a digital elevation model ๐r.importโ imports raster data into a GRASS raster map using the GDAL library, reprojecting on the fly โจr.in.asciiโ converts a GRASS ASCII raster file to a binary raster map ๐r.in.asterโ georeferences, rectifies, and imports Terra-ASTER imagery and relative DEMs usinggdalwarp๐ฐ๏ธr.in.binโ imports a binary raster file into a GRASS raster map layer ๐ฅr.in.gdalโ imports raster data into a GRASS raster map using the GDAL library ๐บ๏ธr.in.gridatbโ imports aGRIDATB.FORmap file (TOPMODEL) into a GRASS raster map ๐ฆr.in.matโ imports a binary MAT-File (v4) to a GRASS raster ๐งฎr.in.pngโ pulls in a PNG image that is not georeferenced. pixels go brr, coords irrelevant ๐r.in.polyโ builds raster maps out of ASCII files full of polygon / line / point data. old-school file format, still serving looks ๐r.in.srtmโ imports SRTM HGT files straight into a raster map. elevation data, welcome home ๐r.in.wmsโ downloads and imports data from OGC WMS and OGC WMTS web mapping servers. it's giving "shopping spree but for tiles" ๐๏ธr.in.xyzโ makes a raster map from a whole assemblage of many coordinates, using univariate statistics. so many points, one map, iconic โจr.infoโ outputs basic info about a raster map. the little "who is she" moment ๐ซถr.kappaโ calculates the error matrix and kappa parameter so you can assess how accurate your classification result actually is. receipts, basically ๐งพr.lakeโ fills a lake at a given point up to a given level. flood it, bestie ๐r.latlongโ creates a latitude/longitude raster map. classic, timeless, no notes ๐r.li.cwedโ calculates the contrast weighted edge density index on a raster map ๐ฅr.li.daemonโ the support module that keepsr.lilandscape index calculations running behind the scenes. the backstage crew ๐r.li.dominanceโ calculates dominance's diversity index on a raster map ๐r.li.edgedensityโ calculates the edge density index on a raster map, using a 4 neighbour algorithm. neighbor-watching, but make it science ๐r.liโ the landscape structure analysis package overview. start here, it's the group chat pinned message ๐r.li.mpaโ calculates the mean pixel attribute index on a raster map โญr.li.mpsโ calculates the mean patch size index on a raster map, with a 4 neighbour algorithm ๐ฆr.li.padcvโ calculates the coefficient of variation of patch area on a raster map. stats girlies rise ๐ญr.li.padrangeโ calculates the range of patch area size on a raster map ๐r.li.padsdโ calculates the standard deviation of patch area on a raster map. the SD never lies ๐r.li.patchdensityโ calculates the patch density index on a raster map, using a 4 neighbour algorithm ๐r.li.patchnumโ calculates the patch number index on a raster map, using a 4 neighbour algorithm. counting patches fr fr ๐ขr.li.pielouโ calculates Pielou's diversity index on a raster map ๐ธr.li.renyiโ calculates Renyi's diversity index on a raster map ๐r.li.richnessโ calculates the richness index on a raster map ๐r.li.shannonโ calculates Shannon's diversity index on a raster map ๐งr.li.shapeโ calculates the shape index on a raster map โจr.li.simpsonโ calculates Simpson's diversity index on a raster map ๐r.mapcalcโ the raster map calculator. THE main character of GRASS raster math ๐r.mapcalc.simpleโ calculates a brand new raster map from a simpler.mapcalcexpression. mapcalc but chill ๐r.maskโ creates a raster mask that limits your raster operations. keeps things contained, boundaries are healthy ๐งr.mask.statusโ reports whether a raster mask is present or absent. vibe check for your mask โr.mfilterโ performs a raster map matrix filter ๐งฎr.modeโ finds the mode of values in a cover map, within the areas that share the same category value in a user-specified base map ๐r.neighborsโ makes every cell's category value a function of the category values of the cells around it, then stores the new cell values in an output raster map layer. it's giving "you are the company you keep" ๐ซr.nullโ manages the NULL-values of a given raster map. null is a valid lifestyle ๐ณ๏ธr.object.geometryโ calculates geometry parameters for raster objects ๐r.out.asciiโ converts a raster map layer into a GRASS ASCII text file ๐r.out.binโ exports a GRASS raster to a binary array ๐พr.out.gdalโ exports GRASS raster maps into any format GDAL supports. so many options, so many slays ๐r.out.gridatbโ exports a GRASS raster map to aGRIDATB.FORmap file (TOPMODEL). niche and proud of it ๐ซถr.out.matโ exports a GRASS raster to a binary MAT-File ๐งr.out.mpegโ converts a raster map series into an MPEG movie. cinema ๐ฌr.out.pngโ exports a GRASS raster map as a non-georeferenced PNG image. screenshots for the timeline ๐ธr.out.povโ converts a raster map layer into a height-field file for POV-Ray ๐๏ธr.out.ppmโ converts a GRASS raster map to a PPM image file ๐ผ๏ธr.out.ppm3โ converts 3 GRASS raster layers (R, G, B) to a PPM image file. three layers, one image, full color fantasy ๐r.out.vrmlโ exports a raster map to the Virtual Reality Modeling Language (VRML). we're going 3D, no cap ๐ถ๏ธr.out.vtkโ converts raster maps into the VTK-ASCII format ๐งชr.out.xyzโ exports a raster map to a text file as x,y,z values, based on cell centers ๐r.packโ exports a raster map as a GRASS specific archive file. travel-sized map ๐ฆr.param.scaleโ extracts terrain parameters from a DEM โฐ๏ธr.patchโ creates a composite raster map layer by using known category values from one (or more) map layer(s) to fill in the areas of "no data" in another map layer. gap-filling, but make it cartography ๐งฉr.pathโ traces paths from starting points, following the input directions. follow the yellow brick road ๐ฃ๏ธr.planeโ creates a raster plane map given a dip (inclination), an aspect (azimuth) and one point ๐r.profileโ outputs the raster map layer values that lie on user-defined line(s). cross-section moment โ๏ธr.projโ re-projects a raster map from a given project to the current project ๐r.quantโ produces the quantization file for a floating-point map ๐ฏr.quantileโ computes quantiles using two passes. two rounds, worth it ๐r.random.cellsโ generates random cell values with spatial dependence ๐ฒr.randomโ creates randomly placed raster cells or vector points. chaos, your choice โจr.random.surfaceโ generates random surface(s) with spatial dependence ๐r.reclass.areaโ reclasses a raster map by whether it's greater or less than a user specified area size (in hectares) ๐r.reclassโ reclassifies a raster map based on category values ๐ท๏ธr.recodeโ recodes categorical raster maps ๐r.regionโ sets the boundary definitions for a raster map ๐บ๏ธr.regression.lineโ calculates a linear regression from two raster maps:y = a + b*x๐r.regression.multiโ calculates a multiple linear regression from raster maps ๐r.reliefโ creates a shaded relief map from an elevation map (DEM). instant glow-up ๐r.reportโ reports statistics for raster maps ๐งพr.resamp.bsplineโ performs bilinear or bicubic spline interpolation with Tykhonov regularization ๐r.resamp.filterโ resamples raster map layers using an analytic kernel ๐งr.resamp.interpโ resamples a raster map to a finer grid using interpolation ๐ฌr.resamp.rstโ reinterpolates and optionally computes topographic analysis from an input raster map into a new raster map (possibly at a different resolution), using regularized spline with tension and smoothing โจr.resamp.statsโ resamples raster map layers to a coarser grid using aggregation ๐งบr.resampleโ GRASS raster map layer data resampling capability. the O.G. ๐ซr.rescale.eqโ rescales the range of category values in a raster map layer, but make it โจhistogram-equalizedโจ โ the vibe check is that your value distribution gets remapped along an equalized curve, periodt.r.rescaleโ plain old rescales the range of category values in a raster map layer. no fancy equalizing, just a glow-up from one range to another ๐r.rgbโ splits one raster map into three: red, green and blue maps. it's giving "divide and conquer" ๐r.rosโ generates rate of spread raster maps ๐ฅ (yes, literally "ros" = rate of spread, no cap).r.semantic.labelโ manages semantic label information attached to a single raster map, or to a whole list of raster maps if you're feeling extra.r.series.accumulateโ each output cell value becomes an accumulation function of the values sitting in the corresponding cells of your input raster map layers ๐งฎ so like, stacking across layers.r.seriesโ same idea, but the output cell value is just a function of the corresponding input cells (not an accumulation). the classic "do math across a bunch of rasters" tool, iconic behavior.r.series.interpโ interpolates raster maps that live (temporally or spatially) in between your input rasters, at specific sampling positions ๐ฆr.shadeโ drapes a color raster over a shaded relief or aspect map. aesthetic layering honestly โจr.sim.sedimentโ sediment transport and erosion/deposition simulation using the path sampling method (SIMWE). dirt science but make it simulation ๐r.sim.waterโ overland flow hydrologic simulation using the path sampling method (SIMWE). water go splash ๐r.slope.aspectโ generates raster maps of slope, aspect, curvatures and partial derivatives from an elevation raster map. the terrain-analysis multitasker that ate ๐r.smooth.edgepreserveโ smoothing with anisotropic diffusion. keeps the edges sharp while calming everything else down ๐งr.solute.transportโ numerical calculation program for transient, confined and unconfined solute transport in two dimensions. yes that's the whole description, yes it's a mouthful, love that for it.r.spreadโ simulates elliptically anisotropic spread. things spreadingโฆ anisotropicallyโฆ in an ellipse-ish way ๐r.spreadpathโ recursively traces the least cost path backwards, to the cells from which the cumulative cost was determined. detective work fr ๐r.statisticsโ calculates category or object oriented statistics.r.statsโ generates area statistics for a raster map. the OG of "how much of each thing do I have".r.stats.quantileโ computes category quantiles using two passes. two passes because one was simply not enough ๐ถโโ๏ธ๐ถโโ๏ธr.stats.zonalโ calculates category or object oriented statistics, the accumulator-based kind.r.stream.extractโ performs stream network extraction. rivers, but derived ๐โจr.sunโ solar irradiance and irradiation model. sunbathing, numerically โ๏ธr.sunhoursโ calculates solar elevation, solar azimuth, and sun hours.r.sunmaskโ calculates cast shadow areas from sun position and an elevation raster map. shadows, but computed ๐ซฅr.supportโ allows creation and/or modification of raster map layer support files. backstage pass to a raster's metadata ๐๏ธr.support.statsโ updates raster map statistics.r.surf.areaโ prints an estimation of surface area for a raster map.r.surf.contourโ generates a surface raster map from rasterized contours.r.surf.fractalโ creates a fractal surface of a given fractal dimension. infinitely detailed and unbothered ๐r.surf.gaussโ generates a raster map using a gaussian random number generator ๐r.surf.idwโ provides surface interpolation from raster point data by Inverse Distance Squared Weighting.r.surf.randomโ produces a raster surface map of uniform random deviates with a defined range ๐ฒr.terraflowโ performs flow computation for massive grids. MASSIVE grids, it said it ๐r.textureโ generates images with textural features from a raster map.r.thinโ thins non-null cells that denote linear features in a raster map layer. slimming down your lines, respectfully ๐ชr.tileโ splits a raster map into tiles.r.tilesetโ produces tilings of the source projection for use in the destination region and projection. reprojection-friendly tiling, iykyk.r.timestampโ modifies a timestamp for a raster map โฐr.to.rast3โ converts 2D raster map slices into one 3D raster volume map.r.to.rast3elevโ creates a 3D volume map based on 2D elevation and value raster maps.r.to.vectโ converts a raster map into a vector map. glow-up across data types ๐r.topidxโ creates a topographic index (wetness index) raster map from an elevation raster map.r.topmodelโ simulates TOPMODEL, which is a physically based hydrologic model.r.transectโ outputs raster map layer values lying along user defined transect line(s) ๐r.univarโ calculates univariate statistics from the non-null cells of a raster map. the stats bestie.r.unpackโ imports a GRASS specific raster archive file (packed withr.pack) as a raster map ๐ฆr.uslekโ computes the USLE Soil Erodibility Factor (K).r.uslerโ computes the USLE R factor, Rainfall erosivity index ๐ง๏ธr.viewshedโ computes the viewshed of a point on an elevation raster map. what can you see from there? answered ๐r.volumeโ calculates the volume of data "clumps".r.walkโ creates a raster map showing the anisotropic cumulative cost of moving between different geographic locations on an input raster map whose cell category values represent cost ๐ฅพr.water.outletโ creates watershed basins from a drainage direction map.r.watershedโ calculates hydrological parameters and RUSLE factors.r.what.colorโ queries colors for a raster map layer ๐จr.whatโ queries raster maps on their category values and category labels.
๐ฆ 3D raster commands (r3.*) ๐ฆ
okay bestie, we're going 3D now, three-dimensional raster data, main character energy ๐
r3.colorsโ creates/modifies the color table associated with a 3D raster map ๐r3.colors.outโ exports the color table associated with a 3D raster map.r3.cross.rastโ creates a cross section 2D raster map from a 3D raster map based on a 2D elevation map โ๏ธr3.flowโ computes 3D flow lines and 3D flow accumulation.r3.gradientโ computes the gradient of a 3D raster map and outputs the gradient components as three 3D raster maps.r3.gwflowโ numerical calculation program for transient, confined groundwater flow in three dimensions. groundwater but make it 3D ๐งr3.in.asciiโ converts a 3D ASCII raster text file into a (binary) 3D raster map.r3.in.binโ imports a binary raster file into a GRASS 3D raster map.r3.in.v5dโ import 3-dimensional Vis5D files.r3.in.xyzโ create a 3D raster map from an assemblage of many coordinates using univariate statistics.r3.infoโ outputs basic information about a user-specified 3D raster map layer. the โจget to know youโจ command.r3.mapcalcโ raster map calculator ๐งฎr3.maskโ establishes the current working 3D raster mask.r3.mkdspfโ creates a display file from an existing 3D raster map according to specified threshold levels.
okay bestie we're still deep in 3D raster land and honestly? it's giving voxel couture ๐ here's the rest of the crew:
r3.neighborsโ takes every single voxel value and makes it a function of all the voxel values hanging out around it, then drops those shiny new values into an output 3D raster map ๐ซถ neighborhood gossip but for voxelsr3.nullโ explicitly creates the 3D NULL-value bitmap file. like, you're literally telling it "bestie, make the null bitmap" and it doesr3.out.asciiโ converts a 3D raster map layer into an ASCII text file โจr3.out.binโ exports a GRASS 3D raster map out to a binary arrayr3.out.netcdfโ exports a 3D raster map as a netCDF file ๐r3.out.v5dโ exports a GRASS 3D raster map into a 3-dimensional Vis5D filer3.out.vtkโ converts 3D raster maps into the VTK-ASCII format ๐ฆr3.retileโ retiles an existing 3D raster map, with x, y and z tile sizes that you get to define. your tiles, your rules ๐r3.statsโ generates volume statistics for 3D raster maps ๐r3.supportโ lets you create and/or modify 3D raster map layer support filesr3.timestampโ modifies a timestamp for a 3D raster map โฐr3.to.rastโ converts 3D raster maps to 2D raster maps. dimensionality reduction, iconic behaviorr3.univarโ calculates univariate statistics from the non-null cells of a 3D raster map ๐งฎ
๐ธ Temporal commands (t.*) ๐ธ
welcome to the time zone โณ โ this is where maps get timestamps and start having a whole timeline arc:
t.connectโ prints and/or sets the general temporal GIS database connection for the current mapset ๐t.copyโ creates a copy of a space time raster datasett.createโ creates a space time dataset โจt.infoโ lists info about space time datasets and mapst.listโ lists the space time datasets and maps that are registered in the temporal database ๐t.mergeโ merges several space time datasets into one single space time dataset. friendship bracelet energy, they all become one ๐ซถt.rast.accdetectโ detects accumulation patterns in temporally accumulated space time raster datasets that were created byt.rast.accumulatet.rast.accumulateโ computes cyclic accumulations of a space time raster dataset ๐t.rast.aggregate.dsโ aggregates data of an existing space time raster dataset using the time intervals of a second space time raster dataset. two datasets, one schedule ๐t.rast.aggregateโ aggregates the maps of a space time raster dataset temporally, by a granularity that you definet.rast.algebraโ applies temporal and spatial operations on space time raster datasets using temporal raster algebra ๐ง โจt.rast.colorsโ creates and/or modifies the color table associated with each raster map of the space time raster dataset ๐จt.rast.contourโ produces a space time vector dataset of specified contours from a space time raster datasett.rast.exportโ exports a space time raster dataset ๐ฆt.rast.extractโ extracts a subset out of a space time raster datasett.rast.gapfillโ replaces the gaps in a space time raster dataset with interpolated raster maps ๐ no more holes bestiet.rast.importโ imports a space time raster datasett.rast.listโ lists the registered maps of a space time raster datasett.rast.mapcalcโ performs spatio-temporalmapcalcexpressions on temporally sampled maps of space time raster datasets โญt.rast.neighborsโ performs a neighborhood analysis for each map in a space time raster datasett.rast.out.vtkโ exports a space time raster dataset as a VTK time series ๐ฆt.rast.seriesโ runs the different aggregation algorithms fromr.serieson all of the raster maps in a space time raster dataset, or just a subset of themt.rast.to.rast3โ converts a space time raster dataset into a 3D raster mapt.rast.to.vectโ converts a space time raster dataset into a space time vector datasett.rast.univarโ calculates univariate statistics from the non-null cells for each registered raster map of a space time raster dataset ๐งฎt.rast.whatโ samples a space time raster dataset at specific vector point coordinates and writes the output tostdoutusing different layoutst.rast3d.algebraโ applies temporal and spatial operations on space time 3D raster datasets using temporal 3D raster algebra ๐งt.rast3d.extractโ extracts a subset of a space time 3D raster datasett.rast3d.listโ lists the registered maps of a space time raster3d datasett.rast3d.mapcalcโ performsr3.mapcalcexpressions on the maps of sampled space time 3D raster datasetst.rast3d.univarโ calculates univariate statistics from the non-null cells for each registered 3D raster map of a space time 3D raster datasett.registerโ assigns timestamps and registers raster, vector and raster3d maps in a space time dataset โฐt.removeโ removes space time datasets from the temporal database ๐๏ธt.renameโ renames a space time datasett.sampleโ samples the input space time dataset(s) with a sample space time dataset and prints the result tostdoutt.selectโ selects maps from space time datasets by their topological relationships to other space time datasets, using temporal algebra ๐t.shiftโ shifts the maps of a space time dataset temporallyt.snapโ snaps the maps of a space time dataset temporally ๐ธt.supportโ modifies the metadata of a space time datasett.topologyโ lists the temporal topology of a space time datasett.unregisterโ unregisters raster, vector and raster3d maps from the temporal database, or from one specific space time datasett.upgradeโ upgrades the version of the temporal database โฌ๏ธt.vect.algebraโ applies temporal and spatial operations on space time vector datasets using temporal vector algebrat.vect.db.selectโ prints attributes of vector maps registered in a space time vector datasett.vect.exportโ exports a space time vector dataset as a GRASS specific archive file ๐ฆt.vect.extractโ extracts a subset of a space time vector datasett.vect.importโ imports a space time vector dataset from a GRASS specific archive filet.vect.listโ lists the registered maps of a space time vector datasett.vect.observe.strdsโ observes specific locations in a space time raster dataset over a period of time, using vector points ๐t.vect.univarโ calculates univariate statistics of attributes for each registered vector map of a space time vector datasett.vect.what.strdsโ stores raster map values at the spatial and temporal positions of vector points as vector attributes โจ
v.bufferโ makes a buffer around vector features of whatever type you tell it ๐ draws a lil halo around your points/lines/areas, periodt.v.build.allโ rebuilds topology on every single vector map in the current mapset. all of them. the whole squad. no map left behind ๐ซถv.buildโ creates topology for a vector map. the moment your map gets its structures together โจv.build.polylinesโ builds polylines out of lines or boundaries, bc sometimes you want the glow-up from "many little things" to "one long thing" ๐ธv.categoryโ attaches, deletes, or just reports vector categories to/from/of map geometry. it's giving category management main character energy ๐v.centroidsโ adds the missing centroids to closed boundaries. not me fixing your incomplete areas ๐ (affectionately)v.classโ classifies attribute data, like for thematic mapping ๐จv.cleanโ the toolset for cleaning topology of a vector map. a whole lil spa day for your geometry ๐งv.clipโ extracts features of the input map that overlay features of the clip map. scissors but for geometries โ๏ธv.clusterโ performs cluster identification. finds the friend groups in your data ๐v.colorsโ creates and/or modifies the color table attached to a vector map. aesthetic customization, obsessed ๐v.colors.outโ exports that color table associated with a vector map. taking the palette outside for a walk ๐ฆv.db.addcolumnโ adds one (or more!) columns to the attribute table connected to a given vector map.v.db.addtableโ creates and connects a brand new attribute table to a given layer of an existing vector map. new table, who dis โจv.db.connectโ prints and/or sets the DB connection for a vector map to its attribute table. it's giving matchmaker ๐ซถv.db.dropcolumnโ drops a column from the attribute table connected to a given vector map. bye bestie, we won't miss u ๐v.db.droprowโ removes a vector feature from a vector map through attribute selection. filtered, literally.v.db.droptableโ removes the existing attribute table of a vector map. whole table gone. no cap.v.db.joinโ joins a database table to a vector map table. two tables, one destiny ๐v.db.reconnect.allโ reconnects attribute tables for all vector maps in the current mapset over to a new database. everybody moving together ๐v.db.renamecolumnโ renames a column in the attribute table connected to a given vector map. glow-up for a single column name โจv.db.selectโ prints vector map attributes. just showing u the receipts ๐งพv.db.univarโ calculates univariate statistics on a selected table column for a GRASS vector map. numbers, but make it cute ๐v.db.updateโ updates a column in the attribute table connected to a vector map. glow-up, but for data ๐v.decimateโ decimates a point cloud. fewer points, same vibes ๐v.delaunayโ creates a Delaunay triangulation from an input vector map containing points or centroids ๐ฆv.dissolveโ dissolves adjacent or overlapping features that share a common category number or attribute. merging besties ๐ซถv.distanceโ finds the nearest element in vector map 'to' for elements in vector map 'from'. literally "who's closest to me" energy ๐ญv.drapeโ converts 2D vector features to 3D by sampling an elevation raster map. putting your flat data on stilts โจv.editโ edits a vector map, letting you add, delete, and modify selected vector features. hands-on, main character mode ๐v.externalโ creates a new pseudo-vector map as a link to an OGR-supported layer or a PostGIS feature table. linked, not imported ๐v.external.outโ defines the vector output format. choose your fighter ๐v.extractโ selects vector features from an existing vector map and creates a new vector map containing only the selected features. the chosen ones ๐v.extrudeโ extrudes flat vector features into 3D vector features with a defined height. standing up, periodt ๐v.fill.holesโ fills holes in areas by keeping only the outer boundaries. filling the gaps, no drama ๐ซถv.generalizeโ performs vector based generalization. simplifying, but intellectually โจv.hullโ produces a 2D/3D convex hull for a given vector map. wrapping your data up like a lil present ๐v.importโ imports vector data into a GRASS vector map using the OGR library, and reprojects on the fly. multitasking queen ๐v.in.asciiโ creates a vector map from an ASCII points file or an ASCII vector file.v.in.dbโ creates a new vector (points) map from a database table that contains coordinates.v.in.dxfโ converts a file in DXF format to a GRASS vector map ๐ฆv.in.e00โ imports an E00 file into a vector map.v.in.geonamesโ imports geonames.org country files into a vector points map ๐v.in.linesโ imports ASCIIx,y[,z]coordinates as a series of lines.v.in.mapgenโ imports Mapgen or Matlab-ASCII vector maps into GRASS.v.in.ogrโ imports vector data into a GRASS vector map using the OGR library. the classic โจv.in.regionโ creates a vector polygon from the current region extent. your region, but as a polygon ๐v.in.wfsโ importsGetFeaturefrom a WFS server.v.infoโ outputs basic information about a vector map. the lil intro card ๐v.kcvโ randomly partitions points into test and train sets. splits them up like "you go left, you go right" ๐v.kernelโ generates a raster density map from a vector points map.v.labelโ creates paint labels for a vector map from attached attributes ๐ท๏ธv.label.saโ creates optimally placed labels for vector map(s). placement, but make it perfect ๐v.lidar.correctionโ corrects thev.lidar.growingoutput. it's the last of the three algorithms for LIDAR filtering ๐v.lidar.edgedetectionโ detects the object's edges from a LIDAR data set.v.lidar.growingโ building contour determination plus the Region Growing algorithm for determining the building inside ๐v.lrs.createโ creates a linear reference system. the LRS origin story โจv.lrs.labelโ creates stationing from input lines and a linear reference system.v.lrs.segmentโ creates points/segments from input lines, a linear reference system, and positions read fromstdinor a file.v.lrs.whereโ finds line id and realkm+offsetfor given points in a vector map using a linear reference system. where am i, but mathematically ๐v.mkgridโ creates a vector map of a user-defined grid. grids, but you decide the shape ๐ฒv.neighborsโ a neighborhood analysis tool for vector point maps ๐๏ธv.net.allocโ allocates subnets for the nearest centers.v.net.allpairsโ computes the shortest path between all pairs of nodes in the network. everybody, to everybody ๐ญv.net.bridgeโ computes bridges and articulation points in the network ๐v.net.centralityโ computes degree, centrality, betweeness, closeness and eigenvector centrality measures in the network ๐v.net.componentsโ computes strongly and weakly connected components in the network.v.net.connectivityโ computes vertex connectivity between two sets of nodes in the network.v.net.distanceโ computes the shortest distance via the network between the given sets of features ๐v.net.flowโ computes the maximum flow between two sets of nodes in the network ๐v.netโ performs network maintenance ๐ ๏ธv.net.isoโ slices up subnets into nearest-center zones using cost isolines โ๏ธ like "who's closest and what's it gonna cost you".v.net.pathโ finds the shortest path across your vector network, the classic "fastest route home" energy ๐ฃ๏ธv.net.salesmanโ makes a cycle that hits all the given nodes, aka the Traveling salesman problem going โจ full circle โจv.net.spanningtreeโ computes the minimum spanning tree for the network ๐ณ literally tree coded.v.net.steinerโ builds a Steiner tree for the network plus the terminals you hand it.v.net.timetableโ finds the shortest path using timetables โฐ schedule-aware, very "I checked the bus app" of it.v.net.visibilityโ does visibility graph construction ๐ who can see whom.v.normalโ tests vector points for normality ๐ is your data behaving or is it giving chaos.v.out.asciiโ exports a vector map into a GRASS ASCII vector representation ๐ค old school but iconic.v.out.dxfโ exports a vector map to DXF file format ๐ CAD besties rise.v.out.ogrโ exports a vector map layer to basically any of the supported OGR vector formats, so many options, so versatile ๐v.out.postgisโ exports a vector map layer straight into a PostGIS feature table ๐ database girlies, this one's for you.v.out.povโ converts GRASSx,y,zpoints into POV-Rayx,z,yformat ๐จ y and z really swapped places, no notes.v.out.svgโ exports a vector map to an SVG file ๐ผ๏ธ crisp, scalable, gorgeous.v.out.vtkโ converts a vector map to VTK ASCII output ๐ฌ visualization pipeline food.v.outlierโ removes outliers from vector point data ๐งน cleaning house, we love a glow-up.v.overlayโ overlays two vector maps with clip, intersection, difference, symmetrical difference, and union operators ๐๏ธ five flavors of "how do these two maps relate".v.packโ exports a vector map as a GRASS specific archive file ๐ฆ tuck it in, ship it out.v.parallelโ creates a parallel line to the input vector lines โ๏ธ side by side, matching.v.patchโ creates a whole new vector map by combining other vector maps together ๐งฉ fusion dance.v.perturbโ random location perturbations of vector points ๐ฒ small chaos, on purpose.v.profileโ vector map profiling tool, it just wants to get to know your map on a deeper level ๐v.projโ re-projects a vector map from one project into the current project ๐ moving coordinates is a whole journey.v.qcountโ gives you indices for quadrat counts of vector point lists ๐ข grid-by-grid counting.v.randomโ generates random 2D/3D vector points โจ spontaneous, unpredictable, main character.v.rast.statsโ calculates univariate statistics from a raster map based on a vector map, then uploads those stats into new attribute columns ๐ two data types holding hands.v.reclassโ changes vector category values on an existing vector map according to SQL query results or a value in an attribute table column ๐ท๏ธ renaming the vibes.v.rectifyโ rectifies a vector by computing a coordinate transformation for every object based on the control points ๐ anchor points, do your thing.v.reportโ reports geometry statistics for vector maps ๐๏ธ the receipts.v.sampleโ samples a raster map at vector point locations ๐งช little taste tests at each point.v.segmentโ creates points/segments from input vector lines and positions โ๏ธ chop chop.v.selectโ selects features from vector map (A) by features from another vector map (B) ๐ฏ B decides what stays in A, messy but effective.v.splitโ splits vector lines into shorter segments ๐ช smaller pieces, easier to handle.v.supportโ updates vector map metadata ๐ housekeeping, but make it essential.v.surf.bsplineโ performs bicubic or bilinear spline interpolation with Tykhonov regularization ใฐ๏ธ smooth surfaces, fancy math words, we respect it.v.surf.idwโ provides surface interpolation from vector point data using Inverse Distance Squared Weighting ๐ nearby points get more say.v.surf.rstโ performs surface interpolation from a vector points map using splines ๐ buttery smooth terrain.v.timestampโ modifies a timestamp for a vector map ๐ฐ๏ธ time is a social construct but timestamps are real.v.to.3dโ transforms 2D vector features into 3D ๐ z-axis unlocked.v.to.dbโ populates attribute values from vector features ๐พ geometry goes into the table.v.to.linesโ converts vector polygons or points into lines โ everything becomes a line today.v.to.pointsโ creates points along input lines in a new vector map with 2 layers ๐๐ layered and ready.v.to.rastโ converts (rasterizes) a vector map into a raster map ๐ฒ vector to pixels, the classic glow-up.v.to.rast3โ converts a vector map, points only, into a 3D raster map ๐ง points only, bestie, don't try anything else.v.transformโ performs an affine transformation (shift, scale and rotate) on a vector map ๐ slide it, stretch it, spin it.v.typeโ changes the type of vector features ๐ same feature, new identity.v.univarโ calculates univariate statistics of vector map features ๐ mean, spread, the whole statistical moment.v.unpackโ imports a GRASS specific vector archive file, the kind packed withv.pack, back in as a vector map ๐ฆโก๏ธ๐บ๏ธ the unboxing video.v.vect.statsโ counts points in areas and calculates statistics from point attributes ๐งฎ how many, and what are they like.v.vol.rstโ interpolates point data into a 3D raster map using the regularized spline with tension (RST) algorithm ๐ 3D surfaces with tension, very dramatic, very effective.v.voronoiโ creates a Voronoi diagram constrained to the extents of the current region, from an input vector map containing points or centroids ๐ธ๏ธ every point gets its own territory, periodt.v.whatโ queries a vector map at given locations โ point at a spot, get answers back.v.what.rastโ uploads raster values at the positions of vector points to the table ๐ฅ raster values, delivered to your table.v.what.rast3โ uploads 3D raster values at the positions of vector points to the table ๐ง๐ฅ same energy, third dimension.v.what.strdsโ uploads space time raster dataset values at the positions of vector points to the table โณ๐ฅ space, time, and raster all at once, iconic.v.what.vectโ uploads vector values at the positions of vector points to the table ๐บ๏ธ๐ฅ vector-to-vector, no middleman.
okay and that's literally the end of the index bestie, we made it ๐ if you need to find your way around:
- Main index
- Topics index
- Keywords index
- Graphical index
- Full index
ยฉ 2003โ2026 GRASS Development Team, and this whole thing lives in the GRASS 8.5.0 Reference Manual ๐ซถ thanks for scrolling all the way down with me, you absolute legend ๐ โจ
๐ฆ where this page comes from
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms