[Gdal-dev] processing SRTM-3?

Thom DeCarlo t.r.decarlo at LARC.NASA.GOV
Wed Jul 28 14:54:13 EDT 2004


Oops, found another... issue. The SRTM documentation states that the NODATA
value is -32768 and the shell script accommodates that by setting the
appropriate value in the header file. However, it appears that the rest of
the gdal software assumes that the NODATA value is -9999. Is there any way
to tell the gdal_translate program to change any NODATA values it encounters
to be -9999?

Thanks,
Thom


> -----Original Message-----
> From: Thom DeCarlo
> Sent: Wednesday, July 28, 2004 11:56 AM
> To: gdal-dev at xserve.flids.com
> Subject: RE: [Gdal-dev] processing SRTM-3?
> 
> Thanks Maciek! That was exactly what I needed. Well, almost... (drat that
> WinXP!) Fortunately, I have the fsf bash shell available on my computer
> and
> was able to make it work.
> 
> Thanks again,
> Thom
> 
> 
> > -----Original Message-----
> > From: Maciek Sieczka
> > Sent: Wednesday, July 28, 2004 11:01 AM
> > To: gdal-dev at xserve.flids.com
> > Subject: Re: [Gdal-dev] processing SRTM-3?
> >
> > From: "Thom DeCarlo" <t.r.decarlo at larc.nasa.gov>
> >
> > > As there are more than 2000 files, I'd rather not hand-edit the
> headers.
> > > Has anyone made a script to generate these files? And maybe the .prj
> > > files, too? Or is there another way to do this mass translate?
> >
> > try Markus Neteler's "srtm_generate_hdr.sh" from
> > http://mpa.itc.it/rs/srtm/
> >
> > Maciek





More information about the Gdal-dev mailing list