[Gdal-dev] SRTM file format
Markus Neteler
neteler at itc.it
Wed Jan 21 12:10:34 EST 2004
On Wed, Jan 21, 2004 at 11:51:23AM -0500, Frank Warmerdam wrote:
> 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.
Here is a script I have written to generate the BIL header:
http://mpa.itc.it/markus/tmp/srtm_generate_hdr.sh
Please tell me that I got it right :-)
Best regards,
Markus
--
Markus Neteler <neteler itc it> http://mpa.itc.it
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy
More information about the Gdal-dev
mailing list