[gdal-dev] Compiling GDAL with HDF5 Support

elliott elliott at cpi.com
Thu Aug 30 08:10:56 PDT 2012


Hello,

I have configured gdal 1.9.1 as follows:

./configure --with-python --with-hdf4=/home/hdf-4.2.6/hdf4 
--with-hdf5=/home/hdf5-1.8.9/hdf5

It looks like everything builds successfully.  However, when I try to 
use gdalinfo on a MODIS Land Cover HDF-EOS version 5 file, I get the 
following error:

 > gdalinfo MCD12Q1.A2009001.h28v05.005.2011059194456.hdf
  ERROR 4: 'MCD12Q1.A2009001.h28v05.005.2011059194456.hdf' not 
recognized as a supported file format.

gdalinfo failed - unable to open 
'MCD12Q1.A2009001.h28v05.005.2011059194456.hdf'.

Any ideas on what I am doing wrong?

Thanks



More information about the gdal-dev mailing list