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

GRASS GIS trac at osgeo.org
Sun Mar 13 08:49:28 PDT 2016

#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:

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

More information about the grass-dev mailing list