raster(1grass)
๐ raster โ GRASS User's Manual ๐
okay so bestie, welcome to the GRASS 8.5.0 Reference Manual โจ and no, we are not doing a boring intro, we're doing a cute intro, but it's still the same intro, so buckle up ๐
๐ธ GRASS 8.5.0 Reference Manual ๐ธ
Geographic Resources Analysis Support System, which literally everyone calls GRASS, is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. It's currently used in academic and commercial settings around the world, plus by a lot of governmental agencies and environmental consulting companies. likeโฆ a global icon, fr fr ๐
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 to Raster introduction | topics ๐ฆ
Go back to help overview ๐ซ
๐ Raster commands ๐
this is the roster, bestie. every raster module, in order, no skips, no cuts, all of them ๐
r.basins.fillโ generates a watershed subbasins raster map ๐r.blendโ blends the color components of two raster maps by a given ratior.bufferโ creates a raster map showing buffer zones surrounding cells that contain non-NULL category valuesr.buffer.lowmemโ same energy as the buffer one: a raster map of buffer zones surrounding cells with non-NULL category values, but the low memory versionr.buildvrtโ builds a VRT (Virtual Raster) from the list of input raster maps โจr.carveโ generates stream channelsr.categoryโ manages category values and labels associated with user-specified raster map layersr.circleโ creates a raster map containing concentric rings around a given point ๐ฏr.clumpโ recategorizes data in a raster map by grouping cells that form physically discrete areas into unique categoriesr.coinโ tabulates the mutual occurrence (coincidence) of categories for two raster map layersr.colorsโ creates/modifies the color table associated with a raster map ๐จr.colors.outโ exports the color table associated with a raster mapr.colors.stddevโ sets color rules based on stddev from a raster map's mean valuer.compositeโ combines red, green and blue raster maps into a single composite raster mapr.compressโ compresses and decompresses raster mapsr.contourโ produces a vector map of specified contours from a raster mapr.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 costr.covarโ outputs a covariance/correlation matrix for user-specified raster map layer(s)r.crossโ creates a cross product of the category values from multiple raster map layersr.describeโ prints terse list of category values found in a raster map layerr.distanceโ locates the closest points between objects in two raster mapsr.drainโ traces a flow through an elevation model or cost surface on a raster mapr.externalโ links GDAL supported raster data as a pseudo GRASS raster map ๐r.external.outโ redirects raster output to file utilizing GDAL library rather than storing in GRASS raster formatr.fill.dirโ filters and generates a depressionless elevation map and a flow direction map from a given elevation raster mapr.fill.statsโ rapidly fills 'no data' cells (NULLs) of a raster map with interpolated values (IDW)r.fillnullsโ fills no-data areas in raster maps using spline interpolationr.flowโ constructs flowlinesr.geomorphonโ calculates geomorphons (terrain forms) and associated geometry using machine vision approach ๐คr.grow.distanceโ generates a raster map containing distances to nearest raster features and/or the value of the nearest non-null cellr.growโ generates a raster map layer with contiguous areas grown by one cellr.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 combining hue, intensity and saturation (HIS) values from user-specified input raster map layersr.horizonโ computes horizon angle height from a digital elevation modelr.importโ imports raster data into a GRASS raster map using GDAL library and reprojects on the flyr.in.asciiโ converts a GRASS ASCII raster file to binary raster mapr.in.asterโ georeference, rectify, and import Terra-ASTER imagery and relative DEMs usinggdalwarpr.in.binโ import a binary raster file into a GRASS raster map layerr.in.gdalโ imports raster data into a GRASS raster map using GDAL libraryr.in.gridatbโ imports GRIDATB.FOR map file (TOPMODEL) into a GRASS raster mapr.in.matโ imports a binary MAT-File(v4) to a GRASS rasterr.in.pngโ imports non-georeferenced PNG format image ๐ผ๏ธr.in.polyโ creates raster maps from ASCII polygon/line/point data filesr.in.srtmโ imports SRTM HGT files into raster mapr.in.wmsโ downloads and imports data from OGC WMS and OGC WMTS web mapping servers ๐r.in.xyzโ creates a raster map from an assemblage of many coordinates using univariate statisticsr.infoโ outputs basic information about a raster map โน๏ธr.kappaโ calculates error matrix and kappa parameter for accuracy assessment of classification resultr.lakeโ fills lake at given point to given levelr.latlongโ creates a latitude/longitude raster mapr.li.cwedโ calculates contrast weighted edge density index on a raster mapr.li.daemonโ support module forr.lilandscape index calculationsr.li.dominanceโ calculates dominance's diversity index on a raster mapr.li.edgedensityโ calculates edge density index on a raster map, using a 4 neighbour algorithmr.liโ landscape structure analysis package overviewr.li.mpaโ calculates mean pixel attribute index on a raster mapr.li.mpsโ calculates mean patch size index on a raster map, using a 4 neighbour algorithm
โฆand bestie, we are so not done, the list keeps going ๐ keep scrolling energy, you got this ๐
r.li.padcvโ calculates the coefficient of variation of patch area on a raster map โจ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 ๐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 ๐ข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, periodt ๐งฎr.mapcalc.simpleโ calculates a new raster map from a simpler.mapcalcexpression โจr.maskโ creates a raster mask for limiting raster operations ๐ญr.mask.statusโ reports whether a raster mask is present or absent ๐r.mfilterโ performs a raster map matrix filter ๐งฝ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.neighborsโ makes each cell category value a function of the category values assigned to the cells around it, and stores the new cell values in an output raster map layer ๐ซr.nullโ manages NULL-values of a given raster map ๐ณ๏ธ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 GDAL supported formats ๐r.out.gridatbโ exports a GRASS raster map to aGRIDATB.FORmap file (TOPMODEL) ๐r.out.matโ exports a GRASS raster to a binary MAT-File ๐ฆr.out.mpegโ converts a raster map series to an MPEG movie ๐ฌr.out.pngโ exports a GRASS raster map as a non-georeferenced PNG image ๐ผ๏ธ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 ๐r.out.vrmlโ exports a raster map to the Virtual Reality Modeling Language (VRML) ๐ถ๏ธ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 ๐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 areas of "no data" in another map layer ๐ฉนr.pathโ traces paths from starting points following input directions ๐งญr.planeโ creates a raster plane map given dip (inclination), aspect (azimuth) and one point โ๏ธr.profileโ outputs the raster map layer values lying on user-defined line(s) ๐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 ๐r.random.cellsโ generates random cell values with spatial dependence ๐ฒr.randomโ creates randomly placed raster cells or vector points ๐ฏr.random.surfaceโ generates random surface(s) with spatial dependence ๐ซ๏ธr.reclass.areaโ reclasses a raster map 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 linear regression from two raster maps:y = a + b*x๐r.regression.multiโ calculates multiple linear regression from raster maps ๐r.reliefโ creates a shaded relief map from an elevation map (DEM) ๐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 to a new raster map (possibly with 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 ๐r.rescale.eqโ rescales, histogram equalized, the range of category values in a raster map layer ๐r.rescaleโ rescales the range of category values in a raster map layer ๐๏ธr.rgbโ splits a raster map into red, green and blue maps โค๏ธ๐๐r.rosโ generates rate of spread raster maps ๐ฅr.semantic.labelโ manages semantic label information assigned to a single raster map or to a list of raster maps ๐ท๏ธr.series.accumulateโ makes each output cell value an accumulation function of the values assigned to the corresponding cells in the input raster map layers โr.seriesโ makes each output cell value a function of the values assigned to the corresponding cells in the input raster map layers ๐งr.series.interpโ interpolates raster maps located (temporal or spatial) in between input raster maps at specific sampling positions ๐ชr.shadeโ drapes a color raster over a shaded relief or aspect map ๐จr.sim.sedimentโ sediment transport and erosion/deposition simulation using the path sampling method (SIMWE) ๐๏ธr.sim.waterโ overland flow hydrologic simulation using the path sampling method (SIMWE) ๐งr.slope.aspectโ generates raster maps of slope, aspect, curvatures and partial derivatives from an elevation raster map ๐r.smooth.edgepreserveโ smoothing with anisotropic diffusion ๐ซงr.solute.transportโ does the numerical math for transient, confined AND unconfined solute transport in 2D. yes it's a whole mouthful, it's hydrology bestie ๐งชr.spreadโ simulates spread that's elliptically anisotropic. ellipse vibes only โจr.spreadpathโ traces the least cost path backwards, recursively, to the cells that determined the cumulative cost. detective work fr ๐ต๏ธr.statisticsโ calculates statistics that are either category oriented or object oriented ๐r.statsโ generates area statistics for a raster map. the OG stats girlie ๐r.stats.quantileโ computes category quantiles, and it does it in two passes. two passes, no shortcuts ๐คr.stats.zonalโ category or object oriented statistics again but make it accumulator-based ๐r.stream.extractโ performs the whole stream network extraction thing ๐r.sunโ the solar irradiance and irradiation model โ๏ธ main character energy, literally the sunr.sunhoursโ spits out solar elevation, solar azimuth, and sun hours ๐r.sunmaskโ calculates cast shadow areas, working off the sun position plus an elevation raster map. shadow work ๐ซฅr.supportโ lets you create and/or modify raster map layer support files. yes it's giving file maintenance but someone has to ๐r.support.statsโ updates raster map statistics ๐r.surf.areaโ prints an estimation of the surface area for a raster map ๐r.surf.contourโ generates a surface raster map out of rasterized contours ๐r.surf.fractalโ creates a fractal surface with whatever fractal dimension you hand it ๐ฆr.surf.gaussโ makes a raster map using a gaussian random number generator ๐ฒr.surf.idwโ surface interpolation from raster point data using Inverse Distance Squared Weighting. idw girlies rise ๐r.surf.randomโ produces a raster surface map of uniform random deviates within a range you define ๐ฐr.terraflowโ performs flow computation for massive grids. big data but it's terrain ๐r.textureโ generates images with textural features pulled from a raster map ๐งถr.thinโ thins the non-null cells that denote linear features in a raster map layer. skinny legend era ๐r.tileโ splits a raster map into tiles ๐งฉr.tilesetโ produces tilings of the source projection so they work in the destination region and projection ๐บ๏ธr.timestampโ modifies a timestamp for a raster map โฐr.to.rast3โ converts 2D raster map slices into one 3D raster volume map. glow up from 2D to 3D ๐ฅr.to.rast3elevโ creates a 3D volume map based on a 2D elevation raster map plus a 2D value raster map ๐๏ธr.to.vectโ converts a raster map into a vector map. raster to vector pipeline slay ๐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 that lie along transect line(s) you define โก๏ธr.univarโ calculates univariate statistics from the non-null cells of a raster map. the stats bestie everyone borrows notes from ๐r.unpackโ imports a GRASS specific raster archive file (one packed withr.pack) as a raster map ๐ฆr.uslekโ computes the USLE Soil Erodibility Factor (K) ๐ชจr.uslerโ computes the USLE R factor, aka the Rainfall erosivity index ๐ฆ๏ธr.viewshedโ computes the viewshed of a point on an elevation raster map ๐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 ๐
Main index ยท Topics index ยท Keywords index ยท Graphical index ยท Full index
ยฉ 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual
okay bestie that's the whole index, we ate and left no crumbs ๐ this was raster(1grass) from the GRASS 8.5.0 Reference Manual, ยฉ 2003-2026 GRASS Development Team โ go run some raster tools, no cap ๐โจ
๐ฆ 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