Note: This document is for an older version of GRASS GIS that is outdated. You should upgrade, and read the current manual page.
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
Available at: r.describe source code (history)
Latest change: Thu Feb 3 11:10:06 2022 in commit: 73413160a81ed43e7a5ca0dc16f0b56e450e9fef
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2022 GRASS Development Team, GRASS GIS 8.0.3dev Reference Manual