[GRASS-dev] [GRASS GIS] #3076: r.colors: parameter for scaling of values + output of color table type and range

#3076: r.colors: parameter for scaling of values + output of color table type and
range
-------------------------+-------------------------
Reporter: neteler | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.2.0
Component: Raster | Version: unspecified
Keywords: r.colors | CPU: All
Platform: All |
-------------------------+-------------------------
r.colors would benefit from a few new features

  * flag to output of type of a color table (relative, absolute, ...)
  * flag to output the ranges of all color tables (min, max in case of
absolute tables)
  * parameter for scaling of values

The parameter for scaling of values is useful when storing (big) datasets
as scaled integer maps (factor 10 or 100) rather than floating point. This
parameter would internally scale as requested using a standard (thematic)
color table like e.g. Celsius, avoiding that new "celsius10" or
"celsius100" tables must be hardcoded.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3076&gt;
GRASS GIS <https://grass.osgeo.org>

#3076: r.colors: parameter for scaling of values + output of color table type and
range
--------------------------+--------------------------------
  Reporter: neteler | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.2.0
Component: Raster | Version: unspecified
Resolution: | Keywords: r.colors, gsoc2016
       CPU: All | Platform: All
--------------------------+--------------------------------
Changes (by annakrat):

* keywords: r.colors => r.colors, gsoc2016

Comment:

I suggest to put those first 2 points in a separate ticket and add more
information to it, because it's not clear to me what exactly you want and
why. An example of desired output would be helpful. The last point is
clear I think.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3076#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3076: r.colors: parameter for scaling of values
--------------------------+--------------------------------
  Reporter: neteler | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.2.0
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.colors, gsoc2016
       CPU: All | Platform: All
--------------------------+--------------------------------
Changes (by neteler):

* version: unspecified => svn-trunk

Old description:

r.colors would benefit from a few new features

* flag to output of type of a color table (relative, absolute, ...)
* flag to output the ranges of all color tables (min, max in case of
absolute tables)
* parameter for scaling of values

The parameter for scaling of values is useful when storing (big) datasets
as scaled integer maps (factor 10 or 100) rather than floating point.
This parameter would internally scale as requested using a standard
(thematic) color table like e.g. Celsius, avoiding that new "celsius10"
or "celsius100" tables must be hardcoded.

New description:

r.colors would benefit from a new parameter for the scaling of values:

The parameter for scaling of values is useful when storing (big) datasets
as scaled integer maps (factor 10 or 100) rather than floating point. This
parameter would internally scale as requested using a standard (thematic)
color table like e.g. Celsius, avoiding that new "celsius10" or
"celsius100" tables must be hardcoded.

(description edited and separated into ticket #3077)

--

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/3076#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3076: r.colors: parameter for scaling of values
--------------------------+--------------------------------
  Reporter: neteler | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.2.0
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.colors, gsoc2016
       CPU: All | Platform: All
--------------------------+--------------------------------

Comment (by neteler):

Replying to [comment:1 annakrat]:
> I suggest to put those first 2 points in a separate ticket and add more
information to it,

Done so in ticket #3077

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3076#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#3076: r.colors: parameter for scaling of values
--------------------------+--------------------------------
  Reporter: neteler | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.4.1
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.colors, gsoc2016
       CPU: All | Platform: All
--------------------------+--------------------------------

Comment (by martinl):

What is status of this issue?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3076#comment:8&gt;
GRASS GIS <https://grass.osgeo.org>

#3076: r.colors: parameter for scaling of values
--------------------------+--------------------------------
  Reporter: neteler | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.4.1
Component: Raster | Version: svn-trunk
Resolution: | Keywords: r.colors, gsoc2016
       CPU: All | Platform: All
--------------------------+--------------------------------

Comment (by neteler):

A scale parameter for scaling of values (e.g. °C * 100) is still desired.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3076#comment:9&gt;
GRASS GIS <https://grass.osgeo.org>