Opened 4 years ago

Last modified 14 months ago

#2963 new enhancement

r.external should preserve raster labels

Reported by: medspx Owned by: grass-dev@…
Priority: normal Milestone: 7.6.2
Component: Raster Version: unspecified
Keywords: r.external Cc:
CPU: Unspecified Platform: Unspecified

Description

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.

Change History (9)

comment:1 Changed 4 years ago by martinl

Component: DefaultRaster
Keywords: r.external added

comment:2 Changed 4 years ago by martinl

Milestone: 7.0.47.0.5

comment:3 Changed 4 years ago by martinl

Milestone: 7.0.57.3.0

comment:4 Changed 4 years ago by martinl

Milestone: 7.3.07.4.0

Milestone renamed

comment:5 Changed 2 years ago by neteler

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:6 Changed 2 years ago by neteler

Milestone: 7.4.17.4.2

comment:7 Changed 21 months ago by martinl

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:8 Changed 17 months ago by martinl

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:9 Changed 14 months ago by martinl

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.