Le dimanche 23 décembre 2012 14:40:59, Agustin Lobo a écrit :
> I have some 1-band raster layers that I  would like to write as
> pseudocolor files. Is it
> possible to use gdal_traslate or another gdal utility to write the
> raster using the color palette
> of another file?
> I've seen the procedure described in
> http://trac.osgeo.org/gdal/wiki/FAQRaster#Howtocreateormodifyanimagecolorta
> ble but I  would like no having to edit the vrt file manually.

You can use the following GDAL Python script :

http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/samples/attachpct.py

> 
> Thanks
> 
> Agus
> _______________________________________________
> gdal-dev mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to