alvarez00 wrote:
I'm trying to make a color ramp for a 1-band tiff file or a jpeg. I have a 1-band tiff file and I converted that tiff file into VRT. I was reading some of the posts and some suggest to modify the VRT file and add a ColorTable tag but that doesn't work. My objective is to show the tiff(or)jpeg on google earth. I'm running version 1.4.1.0 of gdal. Below is the VRT file without any modifications. What I modify was the '<ColorInterp>Gray</ColorInterp>' to '<ColorInterp>Palette</ColorInterp>' and added a ColorTable.
Hi, After modifying the VRT file to include a color table (why didn't you show us that VRT file!) what did you do? Did you try to open the VRT in GE? Did you gdal_translate that VRT back to a new geotiff and try to view that? Can you expand on "but that doesn't work"? Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmer...@pobox.com light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev