Opened 7 years ago

Closed 3 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: grass-dev@…
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 Changed 7 years ago by hamish

CPU: UnspecifiedAll
Keywords: r.colors r.category added
Version: unspecifiedsvn-trunk

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

comment:2 Changed 7 years ago by hamish

maybe adding an option to copy-everything from another raster to r.support?

comment:3 Changed 5 years ago by neteler

There is also r.colors.out in GRASS 7.

You question is a bit unclear (to me), any use case?

comment:4 Changed 3 years ago by martinl

Milestone: 7.0.07.0.5

comment:5 Changed 3 years ago by martinl

Resolution: wontfix
Status: newclosed

No activity last 2 years, closing, feel free to reopen if needed.

Note: See TracTickets for help on using tickets.