[gdal-dev] export Srtm data to float32 raw

Even Rouault even.rouault at mines-paris.org
Sat Nov 12 15:57:37 EST 2011


Le samedi 12 novembre 2011 21:54:18, amigoface a écrit :
> Hi,
> 
> is it possible to export srtm UInt16 to a raw file (float32)?
> 
> if yes how please

You can translate into ESRI Hdr format for example

gdal_translate -of EHdr srcdataset out.flt -ot Float32

The out.flt file will contain raw float32.

> 
> i need this to use with a terrain engine that take this type of files as
> heightmap
> 
> thanks and good day
> 
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/export-Srtm-data-to-float32-raw-tp6
> 988690p6988690.html Sent from the GDAL - Dev mailing list archive at
> Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list