Note: This document is for an older version of GRASS GIS that has been discontinued. 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: Monday Nov 18 20:15:32 2019 in commit: 1a1d107e4f6e1b846f9841c2c6fabf015c5f720d
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
© 2003-2023 GRASS Development Team, GRASS GIS 7.8.9dev Reference Manual