<DIV><BR><BR><B><I>Frank Warmerdam <warmerdam@pobox.com></I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<P>On 11/6/05, Billy Jordan <BILLULSTER@YAHOO.COM>wrote:<BR>><BR>> Hi,<BR>><BR>> I have downloded a DEM image from USGS site in geotiff format. The data type<BR>> is in floating point(32 bits/ sample) or IEEE floating point. I could read<BR>> this image using ERDAS but I need to read it using Matlab. Matlab gives<BR>> error that couldnt read more than 16 bits per sample!!!!<BR>> It is so important and I would appreciate any comments<BR><BR>Bill,<BR><BR>As you can imagine, it is hard for any of us to "fix" Matlab.<BR>What you could do is use some other tool to convert the<BR>data into 16bit integer format. For instance, at the FWTools<BR>command shell you could enter a command like:<BR><BR>gdal_translate -ot Int16 in.tif out.tif<BR><BR>You can download FWTools for linux or win32 from:<BR><BR>http://fwtools.maptools.org/<BR><BR>Best regards,<BR>--</P>
<P> </P>
<P>Dear Frank</P>
<P> </P>
<P>Thank you so much for your reply. This tool has solved my problem completely...</P>
<P> </P>
<P>I really appreciate that, well..I think I owe you a dinner....!!!</P>
<P> </P>
<P>All the best</P>
<P> </P>
<P>Bill<BR>---------------------------------------+--------------------------------------<BR>I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com<BR>light and sound - activate the windows | http://pobox.com/~warmerdam<BR>and watch the world go round - Rush | Geospatial Programmer for Rent<BR></P></BLOCKQUOTE></DIV><p>
                <hr size=1> <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFqODRtdXQ4BF9TAzMyOTc1MDIEX3MDOTY2ODgxNjkEcG9zAzEEc2VjA21haWwtZm9vdGVyBHNsawNmYw--/SIG=110oav78o/**http%3a//farechase.yahoo.com/">Yahoo! FareChase - Search multiple travel sites in one click.</a>