Opened 12 years ago
Closed 8 years ago
#1732 closed enhancement (wontfix)
r.colors feature request (add flag to copy categories without having to run r.category separately)
Reported by: | voncasec | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 7.0.5 |
Component: | Raster | Version: | svn-trunk |
Keywords: | r.colors, r.category | Cc: | |
CPU: | All | Platform: | All |
Description
Often times when I use the r.colors function to copy colors from an existing rater color table, I repeat the process using the r.category function to copy the associated categories.
It would be nice to have a flag in r.colors that allows the user to copy the categories at the same time from the selected raster layer instead of having to run r.colors and r.category separately.
Change History (5)
comment:1 by , 12 years ago
CPU: | Unspecified → All |
---|---|
Keywords: | r.colors r.category added |
Version: | unspecified → svn-trunk |
comment:2 by , 12 years ago
maybe adding an option to copy-everything from another raster to r.support?
comment:3 by , 11 years ago
There is also r.colors.out in GRASS 7.
You question is a bit unclear (to me), any use case?
comment:4 by , 8 years ago
Milestone: | 7.0.0 → 7.0.5 |
---|
comment:5 by , 8 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
No activity last 2 years, closing, feel free to reopen if needed.
I suggest this is best dealt with using a wrapper script, rather than adding cat label support to r.colors and color support to r.cats, etc., ad infinitum.
regards, Hamish