[Geotiff] reading 32 bits geotif elevation

Billy Jordan billulster at yahoo.com
Mon Nov 7 06:03:24 EST 2005



Frank Warmerdam <warmerdam at pobox.com> wrote:
On 11/6/05, Billy Jordan wrote:
>
> Hi,
>
> I have downloded a DEM image from USGS site in geotiff format. The data type
> is in floating point(32 bits/ sample) or IEEE floating point. I could read
> this image using ERDAS but I need to read it using Matlab. Matlab gives
> error that couldnt read more than 16 bits per sample!!!!
> It is so important and I would appreciate any comments

Bill,

As you can imagine, it is hard for any of us to "fix" Matlab.
What you could do is use some other tool to convert the
data into 16bit integer format. For instance, at the FWTools
command shell you could enter a command like:

gdal_translate -ot Int16 in.tif out.tif

You can download FWTools for linux or win32 from:

http://fwtools.maptools.org/

Best regards,
--

 

Dear Frank

 

Thank you so much for your reply. This tool has solved my problem completely...

 

I really appreciate that, well..I think I owe you a dinner....!!!

 

All the best

 

Bill
---------------------------------------+--------------------------------------
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 | Geospatial Programmer for Rent



		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/geotiff/attachments/20051107/700064e5/attachment.html


More information about the Geotiff mailing list