[Gdal-dev] projection lost when translating HDF to GTiff

Brent Fraser bfraser at geoanalytic.com
Tue Jul 12 15:42:14 EDT 2005


Thom,

  Do you get a coord sys defined when you do a "gdalinfo" on the hdf file?

Brent


----- Original Message ----- 
From: "Thom DeCarlo" <t.r.decarlo at larc.nasa.gov>
To: <gdal-dev at xserve.flids.com>
Sent: Tuesday, July 12, 2005 11:52 AM
Subject: [Gdal-dev] projection lost when translating HDF to GTiff


Hi,
I gave up on compiling the HDF4 code myself and found that the binary bundle
will work with a couple of tweaks.

Anyway, I've got a bunch of ASTER DEM files that I need to convert to
geotiff and I'm losing the geographic projection info when I do the simple
"gdal_translate -of GTiff input.hdf output.tif"

I looked at the online docs and didn't see anything special needed to do
this translate. Can someone tell me what I'm missing?

Thanks,
Thom
--
Thom DeCarlo
-------------------------------------------------------
          It is ok to celebrate diversity...
As long as you don't point out that people are different.
                                - Colin Quinn


_______________________________________________
Gdal-dev mailing list
Gdal-dev at xserve.flids.com
http://xserve.flids.com/mailman/listinfo/gdal-dev




More information about the Gdal-dev mailing list