[Gdal-dev] 1-band TIFF FILE color ramp NEEDED
Frank Warmerdam
warmerdam at pobox.com
Fri Apr 10 10:59:59 EDT 2009
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, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the gdal-dev
mailing list