GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
r.describe(1) GRASS GIS User's Manual r.describe(1)

r.describe - Prints terse list of category values found in a raster map layer.

raster, metadata

r.describe
r.describe --help
r.describe [-1rndi] map=name [null_value=string] [nsteps=integer] [--help] [--verbose] [--quiet] [--ui]

-1

Print the output one value per line

Only print the range of the data

Suppress reporting of any NULLs

Use the current region

Read floating-point map as integer

Print usage summary

Verbose module output

Quiet module output

Force launching GUI dialog


Name of raster map

String representing NULL value
Default: *

Number of quantization steps
Default: 255

r.describe prints a terse listing of category values found in a user-specified raster map layer.

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.

If the user selects the -r flag, a range of category values found in the raster map layer will be printed. The range is divided into three groups: negative, positive, and zero. If negative values occur, the minimum and maximum negative values will be printed. If positive values occur, the minimum and maximum positive values will be printed. If zero occurs, this will be indicated. The range report will generally run faster than the full list (the default output).

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.

The following examples are from the Spearfish60 sample dataset:

r.describe landcover.30m
* 11 21-23 31 32 41-43 51 71 81-83 85 91 92
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
r.describe -1 geology
*
1
2
3
4
5
6
7
8
9

g.region, r.mask, r.reclass, r.report, r.rescale, r.stats, r.univar

Michael Shapiro, U.S. Army Construction Engineering Research Laboratory

Available at: r.describe source code (history)

Latest change: Tuesday Dec 17 20:17:20 2024 in commit: d962e90c026708a4815ea2b9f46c0e84c17de22d

Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual

GRASS 8.4.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.