Opened 9 years ago

Last modified 6 years 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 by martinl, 9 years ago

Component: DefaultRaster
Keywords: r.external added

comment:2 by martinl, 9 years ago

Milestone: 7.0.47.0.5

comment:3 by martinl, 8 years ago

Milestone: 7.0.57.3.0

comment:4 by martinl, 8 years ago

Milestone: 7.3.07.4.0

Milestone renamed

comment:5 by neteler, 7 years ago

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:6 by neteler, 7 years ago

Milestone: 7.4.17.4.2

comment:7 by martinl, 6 years ago

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:8 by martinl, 6 years ago

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:9 by martinl, 6 years ago

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.