[GRASS-dev] [GRASS GIS] #3130: r.out.gdal: add alpha channel support

GRASS GIS trac at osgeo.org
Sat Aug 13 00:10:20 PDT 2016


#3130: r.out.gdal: add alpha channel support
--------------------------+---------------------------------
  Reporter:  neteler      |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.2.0
 Component:  Raster       |    Version:  svn-releasebranch72
Resolution:               |   Keywords:  r.out.gdal
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+---------------------------------

Comment (by neteler):

 The example works nicely, thanks! If no objections, I'll add it to the
 manual.

 Yet a question:

 With Sentinel-2, also 0 is used as a data value (eg `Computed
 Min/Max=0.000,13668.000`). The black border mask can be retrieved from an
 auxiliary JP2000 file and applied as MASK in GRASS GIS. So far so nice.

 Still I am not sure if it now better to use `r.rescale` or the `#`
 operator of `r.mapcalc` with some formula in order to "free up" the 0
 value for paving the way of exporting with alpha as above?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3130#comment:4>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list