r3.to.group
Convert a 3D raster map to imagery group
r3.to.group [-a] input=name group=name [subgroup=name] [basename=basename] [type=string] [multiply=float] [add=float] [--overwrite] [--verbose] [--quiet] [--qq] [--ui]
Example:
r3.to.group input=name group=name
grass.script.run_command("r3.to.group", input, group, subgroup=None, basename=None, type=None, multiply=None, add=None, flags=None, overwrite=False, verbose=False, quiet=False, superquiet=False)
Example:
gs.run_command("r3.to.group", input="name", group="name")
Parameters
input=name [required]
Name of input 3D raster map
group=name [required]
Name of input imagery group
subgroup=name
Name of input imagery subgroup
basename=basename
Name for output basename raster map(s)
type=string
Type of raster map to be created
Storage type for resultant raster map
Allowed values: CELL, FCELL, DCELL
CELL: Integer
FCELL: Single precision floating point
DCELL: Double precision floating point
multiply=float
Value to multiply the raster values with
Coefficient a in the equation y = ax + b
add=float
Value to add to the raster values
Coefficient b in the equation y = ax + b
-a
Add to group or subgroup if it already exists
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--qq
Very quiet module output
--ui
Force launching GUI dialog
input : str, required
Name of input 3D raster map
Used as: input, raster_3d, name
group : str, required
Name of input imagery group
Used as: input, group, name
subgroup : str, optional
Name of input imagery subgroup
Used as: input, subgroup, name
basename : str, optional
Name for output basename raster map(s)
Used as: output, raster, basename
type : str, optional
Type of raster map to be created
Storage type for resultant raster map
Allowed values: CELL, FCELL, DCELL
CELL: Integer
FCELL: Single precision floating point
DCELL: Double precision floating point
multiply : float, optional
Value to multiply the raster values with
Coefficient a in the equation y = ax + b
add : float, optional
Value to add to the raster values
Coefficient b in the equation y = ax + b
flags : str, optional
Allowed values: a
a
Add to group or subgroup if it already exists
overwrite: bool, optional
Allow output files to overwrite existing files
Default: False
verbose: bool, optional
Verbose module output
Default: False
quiet: bool, optional
Quiet module output
Default: False
superquiet: bool, optional
Very quiet module output
Default: False
DESCRIPTION
r3.to.rast converts a 3D raster map to imagery group.
NOTES
If group already exists and the user does not want to add to it, the group needs to be removed first.
EXAMPLES
g.region
r3.to.rast
SEE ALSO
AUTHOR
Vaclav Petras, NCSU GeoForAll Lab
SOURCE CODE
Available at: r3.to.group source code
(history)
Latest change: Thursday Feb 20 20:36:19 2025 in commit 158e314