[gdal-dev] Is it possible to have an external Color Table definition for GeoTIFF rasters?

Denis Rykov rykovd at gmail.com
Wed Nov 24 03:14:13 PST 2021


Thanks, Even! I've filed an issue: https://github.com/OSGeo/gdal/issues/4897

On Wed, Nov 24, 2021 at 11:57 AM Even Rouault <even.rouault at spatialys.com>
wrote:

> Denis,
>
> But the same approach (having a color table in external .aux.xml PAM file)
> doesn't work for GeoTIFF rasters. According to the output of gdal_translate
> we can see that GDAL doesn't take into account the color table defined in
> the external file.
>
> Please file an issue about that, or even better, propose a pull request.
> This should mostly be a matter of having GTiffRasterBand::GetColorTable()
> call the base implementation of GDALPamRasterBand
>
> Even
>
>
> _______________________________________________
> gdal-dev mailing listgdal-dev at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> -- http://www.spatialys.com
> My software is free, but my time generally not.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211124/b1dfa20b/attachment.html>


More information about the gdal-dev mailing list