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 ratio
  • r.buffer โ€” creates a raster map showing buffer zones surrounding cells that contain non-NULL category values
  • r.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 version
  • r.buildvrt โ€” builds a VRT (Virtual Raster) from the list of input raster maps โœจ
  • r.carve โ€” generates stream channels
  • r.category โ€” manages category values and labels associated with user-specified raster map layers
  • r.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 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 ๐ŸŽจ
  • 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 a single composite raster map
  • r.compress โ€” compresses and decompresses raster maps
  • 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 user-specified raster map layer(s)
  • r.cross โ€” creates a cross product of the category values from multiple raster map layers
  • r.describe โ€” prints terse list of 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 file utilizing GDAL library rather than storing in GRASS raster format
  • r.fill.dir โ€” filters and generates a depressionless elevation map and 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)
  • r.fillnulls โ€” fills no-data areas in raster maps using spline interpolation
  • r.flow โ€” constructs flowlines
  • r.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 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 combining hue, intensity and saturation (HIS) values from 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 GDAL library and reprojects on the fly
  • r.in.ascii โ€” converts a GRASS ASCII raster file to binary raster map
  • r.in.aster โ€” georeference, rectify, and import Terra-ASTER imagery and relative DEMs using gdalwarp
  • r.in.bin โ€” import a binary raster file into a GRASS raster map layer
  • r.in.gdal โ€” imports raster data into a GRASS raster map using GDAL library
  • r.in.gridatb โ€” imports GRIDATB.FOR map file (TOPMODEL) into a GRASS raster map
  • r.in.mat โ€” imports a binary MAT-File(v4) to a GRASS raster
  • r.in.png โ€” imports non-georeferenced PNG format image ๐Ÿ–ผ๏ธ
  • r.in.poly โ€” creates raster maps from ASCII polygon/line/point data files
  • r.in.srtm โ€” imports SRTM HGT files into raster map
  • r.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 statistics
  • r.info โ€” outputs basic information about a raster map โ„น๏ธ
  • r.kappa โ€” calculates error matrix and kappa parameter for accuracy assessment of classification result
  • r.lake โ€” fills lake at given point to given level
  • r.latlong โ€” creates a latitude/longitude raster map
  • r.li.cwed โ€” calculates contrast weighted edge density index on a raster map
  • r.li.daemon โ€” support module for r.li landscape index calculations
  • r.li.dominance โ€” calculates dominance's diversity index on a raster map
  • r.li.edgedensity โ€” calculates edge density index on a raster map, using a 4 neighbour algorithm
  • r.li โ€” landscape structure analysis package overview
  • r.li.mpa โ€” calculates mean pixel attribute index on a raster map
  • r.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 simple r.mapcalc expression โœจ
  • 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 a GRIDATB.FOR map 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 sun
  • r.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 with r.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