GRASS logo

NAME

r.out.tiff - Exports a GRASS raster map to a 8/24bit TIFF image file.

KEYWORDS

raster, export

SYNOPSIS

r.out.tiff
r.out.tiff --help
r.out.tiff [-pwl] input=name output=name [compression=string] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

-p
TIFF Palette output (8bit instead of 24bit).
-w
Output TIFF world file
-l
Output Tiled TIFF
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

input=name [required]
Name of input raster map
output=name [required]
Name for output TIFF file
compression=string
TIFF file compression
Options: none, packbit, deflate, lzw
Default: none

Table of contents

DESCRIPTION

Note: this module is superseded by r.out.gdal.

r.out.tiff converts a GRASS raster map to a TIFF raster map. Output may be 8 or 24 bit (TrueColor). Optionally, a TIFF World file compatible with ESRI's and other's products may be output.

The program prompts the user for the name of a GRASS raster map, an output TIFF file, whether an 8 or 24 bit format is desired, and whether or not to create a TIFF world file. Currently only uncompressed, packpit, or deflate TIFF files are written. These output formats are known to be compatible with r.in.tiff.

The output filename will always have the suffix .tif, and the Tiff World file (if requested) .tfw. Any .tif or .tiff suffix (case insensitive) specified in the output filename will be discarded.

When writing with "-l" option, tiles are written at 128x128 pixels. For programs that can utilize tiles, it can help speed up some drawing operations.

The user may adjust region and resolution before export using g.region.

A better choice to export GRASS raster data might be r.out.gdal.

SEE ALSO

g.region, r.in.gdal, r.out.gdal

AUTHOR

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

GRASS 5.0 team

SOURCE CODE

Available at: r.out.tiff source code (history)

Latest change: Monday Jan 30 19:52:26 2023 in commit: cac8d9d848299297977d1315b7e90cc3f7698730


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

© 2003-2024 GRASS Development Team, GRASS GIS 8.3.3dev Reference Manual