Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
NAME
r.null.all - Manages NULL values of raster maps in a mapset or their subset.
KEYWORDS
raster,
map management,
null data,
no-data
SYNOPSIS
r.null.all
r.null.all --help
r.null.all [-fincrzd] [setnull=val[-val][,val[-val],...]] [null=float] [pattern=expression[,expression,...]] [exclude=string[,string,...]] [matching=string] [--help] [--verbose] [--quiet] [--ui]
Flags:
- -f
- Only do the work if the map is floating-point
- -i
- Only do the work if the map is integer
- -n
- Only do the work if the map doesn't have a NULL-value bitmap file
- -c
- Create NULL-value bitmap file validating all data cells
- -r
- Remove NULL-value bitmap file
- -z
- Re-create NULL-value bitmap file (to compress or uncompress)
- -d
- Dry run
- Map names to be checked or processed will be printed (does not take into account other flags)
- --help
- Print usage summary
- --verbose
- Verbose module output
- --quiet
- Quiet module output
- --ui
- Force launching GUI dialog
Parameters:
- setnull=val[-val][,val[-val],...]
- List of cell values to be set to NULL
- null=float
- The value to replace the null value by
- pattern=expression[,expression,...]
- Map name search pattern (default: all)
- exclude=string[,string,...]
- Map name exclusion pattern (default: none)
- matching=string
- Search pattern syntax
- Options: all, wildcards, basic, extended
- Default: all
- all: Match all (no pattern needed)
- wildcards: Use wildcards (glob pattern)
- basic: Use basic regular expressions
- extended: Use extended regular expressions
r.null.all manages NULL (no-data) values in all raster maps
in the current mapset. Selection can be modified using
pattern
and
exclude options. The option
matching specifies
the type of search pattern use. Python users will find the extended
regular expression syntax (marked as
extended) as most
familiar, while Bash users may want to use
wildcards
(glob patterns).
All the following examples are using the
-d flag to run in a
dry run mode so that no maps are actually modified.
Set all values 1 to NULL in all raster maps in the current mapset:
Change all NULL to zero in all raster maps in the current mapset
which begin with letter t and their name contains at least one other
character (using the extended regular expressions):
r.null.all null=0 pattern="^t.+" matching=extended -d
Set all values 0 to NULL in raster maps in the current mapset
which do not end with the digit 1 (using the wildcards syntax):
r.null.all setnull=0 exclude="*1" matching=wildcards -d
Set all values 0 to NULL in raster maps in the current mapset
which do not end with the digit 1 (using extended regular expressions):
r.null.all setnull=0 exclude=".*1" matching=extended -d
r.null,
g.proj.all,
g.copyall,
g.rename.many
Vaclav Petras,
NCSU GeoForAll LabSOURCE CODE
Available at:
r.null.all source code
(history)
Latest change: Thursday Feb 03 09:32:35 2022 in commit: f17c792f5de56c64ecfbe63ec315307872cf9d5c
Note: This document is for an older version of GRASS GIS that will be discontinued soon. You should upgrade, and read the current manual page.
Main index |
Raster index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2023
GRASS Development Team,
GRASS GIS 8.2.2dev Reference Manual