[gdal-dev] Convert Gray scale large multiband geotiff file to multiband RGBA with Python
I'm new to GIS/GDAL. I'm working with 33-band geotiff files, with each band
representing data from 1 year. Currently, our application accesses a local
color map, which isn't efficient enough, so I'm trying to find a quick way
(Shell or Python) to apply color and categories to the tiff files. I have
tried 2 approaches:
First, I tried editing the vrt file with a python script, then converting it
back to tiff, but received the error "Unable to export color table to
GeoTIFF file. Color tables can only be written to 1 band or 2 bands Byte or
UInt16 GeoTIFF files.".
Then, I tried separating each band, then merging them together, but the
categories disappeared from the output file.
Is there any way to do that conversion?