Skip to content

r3.retile

Retiles an existing 3D raster map with user defined x, y and z tile size.

r3.retile [-c] input=name output=name [tiledimension=XxYxZ] [--overwrite] [--verbose] [--quiet] [--qq] [--ui]

Example:

r3.retile input=name output=name

grass.script.run_command("r3.retile", input, output, tiledimension="default", flags=None, overwrite=False, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("r3.retile", input="name", output="name")

Parameters

input=name [required]
    Name of input 3D raster map
output=name [required]
    Name of the retiled 3D raster map
tiledimension=XxYxZ
    The dimensions of the tiles used in the output raster3d map (XxYxZ or default: 16x16x8)
    Default: default
-c
    Disable tile caching
--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
output : str, required
    Name of the retiled 3D raster map
    Used as: output, raster_3d, name
tiledimension : str, optional
    The dimensions of the tiles used in the output raster3d map (XxYxZ or default: 16x16x8)
    Used as: XxYxZ
    Default: default
flags : str, optional
    Allowed values: c
    c
        Disable tile caching
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.retile writes a copy of an existing 3D raster map with a user defined number of tiles in x, y and z direction. The precision and the type of the original 3D raster map are used for the new retiled 3D raster map.

SEE ALSO

r3.cross.rast, r3.out.ascii, g.region, r.tile

AUTHOR

Sören Gebbert

SOURCE CODE

Available at: r3.retile source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f