NAME
r.colors.out - Exports the color table associated with a raster map.
KEYWORDS
raster,
color table,
export
SYNOPSIS
r.colors.out
r.colors.out --help
r.colors.out [-p] map=name [rules=name] format=name color_format=name [--overwrite] [--help] [--verbose] [--quiet] [--ui]
Flags:
- -p
- Output values as percentages
- --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:
- map=name [required]
- Name of raster map
- rules=name
- Path to output rules file
- If not given write to standard output
- format=name [required]
- Output format
- Options: plain, json
- Default: plain
- plain: Plain text output
- json: JSON (JavaScript Object Notation)
- color_format=name [required]
- Color format
- Color format for output values.
- Options: rgb, hex, hsv, triplet
- Default: hex
- rgb: output color in RGB format
- hex: output color in HEX format
- hsv: output color in HSV format (experimental)
- triplet: output color in colon-separated RGB format
r.colors.out allows the user to export the color table for a
raster map to a file which is suitable as input
to
r.colors.
r.colors.out map=el_D782_6m rules=rules.txt
r.colors map=el_D783_6m rules=rules.txt
r.colors.out map=el_D782_6m rules=rules.json format=json
r.colors
Glynn Clements
SOURCE CODE
Available at:
r.colors.out source code
(history)
Latest change: Wednesday Nov 06 05:05:37 2024 in commit: 760d763d9ee991a43d9ed34e1a37d15a5bf3f19b
Main index |
Raster index |
Topics index |
Keywords index |
Graphical index |
Full index
© 2003-2024
GRASS Development Team,
GRASS GIS 8.5.0dev Reference Manual