[gdal-dev] get different result when use different parameters

weixj2003ld weixj2003ld at 163.com
Mon May 10 23:16:55 EDT 2010


I download a elevation data (SRTM,GTOPO30) from http://glcfapp.glcf.umd.edu:8080/esdi/index.jsp
 
 use 
gdal_translate -b 1 -of PNG -ot Byte source.tif des.png
and 
gdal_translate -b 1 -of PNG -ot UInt16 source.tif des.png
differently,
with parameter 'UInt16',I get a black picture,with Byte,get a different one,why?
BTW,I want to get a png file from elevation data(.tif),must I use command gdal_translate?
Thk u in advance.
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100511/473b907e/attachment.html


More information about the gdal-dev mailing list