[gdal-dev] Problem with gdal_translate

Chris Emberson chrisemberson at hotmail.com
Fri Sep 11 11:26:52 EDT 2009


I am having trouble converting a single band raster (.asc) when using the GDAL utility gdal_translate (version 1.6) 

This is the command...
gdal_translate -of GTiff -co "TILES=YES" -expand rgb FILEA.asc FILEB.tif

I get this message....




Error : band 1 has no color table

I want to be able to tile this raster using Mapnik - therefore it needs to be a 3 band tiff - Can anyone help with this problem?

Thanks in advance

Chris







_________________________________________________________________
Save time by using Hotmail to access your other email accounts.
http://clk.atdmt.com/UKM/go/167688463/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090911/30237923/attachment.html


More information about the gdal-dev mailing list