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: 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 by hamish, 12 years ago

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 by hamish, 12 years ago

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

comment:3 by neteler, 10 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 martinl, 8 years ago

Milestone: 7.0.07.0.5

comment:5 by martinl, 8 years ago

Resolution: wontfix
Status: newclosed

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

Note: See TracTickets for help on using tickets.