[Gdal-dev] GMT to Geotiff, transform and recolor

Andrea Aime andrea.aime at aliceposta.it
Wed Mar 1 02:19:47 EST 2006


Andrea,
>
> I don't see any way you can do this with just gdal_translate.  As you
> note it doesn't have any support for recoloring.  You could do it by
> creating an XML VRT file with the color table in it, and then use
> gdal_translate to produce a GeoTIFF with palette from the VRT file and
> the GMT file it points to.
>
> Alternatively you could accomplish it from VB6 using the VB6 bindings
> of GDAL.
>
> Let me know if you need details on how to construct the VRT.
>
I see there is a tutorial. Cool, I'll have a look at it.
Thank you :-)

Andrea





More information about the Gdal-dev mailing list