Current situation:
If I add a raster with a colormap it displays all possible values, even if no colors are defined in the color map. E.g. I've got a raster with 8bit unsigned char and thus possible values 0 to 255 in my color map. the color map only contains the values 1 to 72, because only these values exist in the raster. 0 is used for no data. nonetheless, the legend in contents contains a colormap from 0 to 255, where 0 has the same color as 1 (because the color of 0 is not defined, as it is no data) and 73 to 255 is displayed with the color of 72, even if there are no pixels with the values 73 to 255.
I know, there is the gp tool "Add Colormap", however this is cumbersome for rasters (e.g. tiff), if the colormap is already in the raster present (e.g. added using gdal) and/or not as a separate file readily available.
Idea:
Thus, please add an option to raster with colormap to display only used colors and/or a given colormap (not all possible values).
This enhancement would faciliate the raster management for gdi and the usage of rasters with colormaps. Furthermore it would lead to a neater legend reprensation in contents.