[FWTools] Generate GTiff from DTED
Frank Warmerdam
warmerdam at pobox.com
Tue Jul 15 08:43:02 EDT 2008
theunsgis wrote:
> HI
> I am trying to generate GTiff from a DTED file , but all i get is a black
> image.
>
> I use gdal_translate.exe -of Gtiff sample.dt1 out.tif
>
> What am i doing wrong? and is it possible to add colours to the Gtiff when
> the Gtiff is compiled?
> I am working on a windowsXP machine Sp2 , FWTools 1.3.5
Theuns,
How are you inspecting the Geotiff to determine that it is black? It will
presumably be a 16bit raster file which many tiff viewers will not display
in any convenient way. Try viewing the GeoTIFF with OpenEV.
In answer to your second question - no - there is not convenient way to
apply a color table to the elevation data with GDAL commandline utilities.
This might be better done in another environment like GRASS.
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 | President OSGeo, http://osgeo.org
More information about the FWTools
mailing list