[GRASS-dev] [GRASS GIS] #2963: r.external should preserve raster labels

#2963: r.external should preserve raster labels
-------------------------+-------------------------
Reporter: medspx | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.4
Component: Default | Version: unspecified
Keywords: | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
I am working on the GRASS part of QGIS Processing and I have found a
problem with raster labels. r.external is not able to retrieve (and
preserve) raster labels (the labels are stored into .aux.xml files for
GDAL formats).

When working on QGIS Processing GRASS7 algorithms like r.category or
r.reclass, we need to use r.in.gdal to import rasters with their labels
(which duplicates the data) instead of using r.external. This is a problem
for performances and disk space.

r.out.gdal has got a '-t' option to preserve raster labels and it works
really well.

I believe that there should be the same option for r.external. It would be
very useful and efficient.

PS: here is a link to the feature request in QGIS bug tracker:
https://hub.qgis.org/issues/5742.

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

#2963: r.external should preserve raster labels
--------------------------+-------------------------
  Reporter: medspx | Owner: grass-dev@…
      Type: enhancement | Status: new
  Priority: normal | Milestone: 7.0.4
Component: Raster | Version: unspecified
Resolution: | Keywords: r.external
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by martinl):

* keywords: => r.external
* component: Default => Raster

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