[gdal-dev] reprojecting SRTM data

Zoltan Szecsei zoltans at geograph.co.za
Thu Aug 16 02:14:22 PDT 2012


Hi,
I've downloaded srtm_41_19 both in tiff and ASCII formats.

I reproject the tiif image such:
gdalwarp -t_srs '+proj=tmerc +lat_0=0 +lon_0=21 +k=1 +x_0=0 +y_0=0
+ellps=WGS84 +datum=WGS84 +units=m +no_defs' srtm_41_19.tif srtm_lo21.tif

and gdalinfo produces realistic values.

But the software I want to use this tif-DEM in complains:
Error encountered while reading GeoTIFF file:  Elevation data must
be specified as 32-bit floating point samples.

The software however does read the ASCII version, but I need to
re-project the ASCII file to Lo19 (see above proj string).

How can I do this?


Thanks & regards,
Zoltan



-- 

===========================================
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
P.O. Box 7, Muizenberg 7950, South Africa.

65 Main Road, Muizenberg 7945
Western Cape, South Africa.

34° 6'16.35"S 18°28'5.62"E

Tel: +27-21-7884897  Mobile: +27-83-6004028
Fax: +27-86-6115323     www.geograph.co.za
===========================================



More information about the gdal-dev mailing list