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 list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev
-- http://www.spatialys.com My software is free, but my time generally not.
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev