[Gdal-dev] SRTM file format

Frank Warmerdam warmerdam at pobox.com
Wed Jan 21 11:51:23 EST 2004


mathieu_gdal wrote:
> Dear all,
> 
> Is GDAL compatible with the STRM file format?
> This format is used to encode DEMs, and it is in binary. The extension is
> hgt.
> I have made a try, it looks like it is not recognize by GDAL, but maybe
> there is a trick?
> 
> In advance, thank you
> Mathieu

Mathieu,

My understanding is that the .hgt file is a raw binary file.  It can be read
with GDAL using an appropriately written ESRI BIL .hdr file or some other
mechanism that desribes raw data files (such as PCI .aux).  I was under
the impression the data was distributed with an ESRI BIL .hdr file but that
some sort of renaming was required to get things working properly.

There was some sort of past discussion of this on the gdal-dev, grass or
VTP list.  Not sure which.

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





More information about the Gdal-dev mailing list