I am trying to convert a geoTIFF to a kml with gdal_translate -of KMLSUPEROVERLAY, however I don't know how to do so with a color gradient.
My geotiff is an 8bit raster with valid values ranging from 0-100. I'd like a simple output where 0-10 is gray, and 11-100 has a one-color gradient from light to dark (say, purple). This could be in classes of 11-20, 21-30, etc. or whatever, as long as it goes from light to dark.
Is this possible?
Is there a way to supply a color table with values and their corresponding RGB values? I see some options on gdal_translate but don't know where to start.