Note: A new GRASS GIS stable version has been released: GRASS GIS 7.6, available here.
Updated manual page: here
r.describe ignores the current geographic region and mask, and reads the full extent of the input raster map. This functionality is useful if the user intends to reclassify or rescale the data, since these functions (r.reclass and r.rescale) also ignore the current geographic region and mask.
The nv parameter sets the string to be used to represent NULL values in the module output; the default is '*'.
The nsteps parameter sets the number of quantisation steps to divide into the input raster map.
The -d flag can be used to force r.describe to respect the current region extents when repoting raster map categories. The default behavior is to read the full extent of the input raster map.
If the -1 flag is specified, the output appears with one category value/range per line.
The -n flag suppresses the reporting of NULL values.
# Print the full list of raster map categories:
r.describe landcover.30m * 11 21-23 31 32 41-43 51 71 81-83 85 91 92
# Print the raster range only:
r.describe -r landcover.30m 11 thru 92 *
r.describe -n landcover.30m 11 21-23 31 32 41-43 51 71 81-83 85 91 92
# Print raster map categories, one category per line:
r.describe -1 geology * 1 2 3 4 5 6 7 8 9
Last changed: $Date: 2011-11-08 13:24:20 -0800 (Tue, 08 Nov 2011) $
Available at: r.describe source code (history)
Note: A new GRASS GIS stable version has been released: GRASS GIS 7.6, available here.
Updated manual page: here
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2019 GRASS Development Team, GRASS GIS 7.2.4svn Reference Manual