[gdal-dev] Are all Files of HDF5 Formats supported by Gdal with libhdf5?

atubar atubar at 126.com
Sat Sep 5 12:11:25 EDT 2009


Hi, I'm working with HDF4 and HDF5 using gdal in VS2008, and I get lots of troubles which make me confused.
As all the guides said, I modified the nmake.opt like this;
MSVC_VER=1500
GDAL_HOME = "C:\GDAL\gdal-1.6.2\bld-162"

# Uncomment the following and update to enable NCSA HDF Release 4 support.
HDF4_PLUGIN = Yes
HDF4_DIR = C:\GDAL\win42r4-VS2005-IVF101
HDF4_LIB = $(HDF4_DIR)\dll\hd424m.lib $(HDF4_DIR)\dll\hm424m.lib $(HDF4_DIR)\lib\hd424.lib $(HDF4_DIR)\lib\hm424.lib Ws2_32.lib
 
# Uncomment the following and update to enable NCSA HDF Release 5 support.
HDF5_PLUGIN = Yes
HDF5_DIR = C:\GDAL\hdf5_183_xp32_vs2005_ivf91
HDF5_LIB = $(HDF5_DIR)\dll\hdf5dll.lib
 
At last ,I get all dlls even  gdal_HDF5.dll, gdal_HDF5Image.dll. Then I copy them under my project folder.And it seems that not all h5 files are supported.
 
I have two copy of sample data, one is from Envi 4.3, and the other is from HDFview 2.5. The Envi's h5 file will take an erro of stack overflow while using GDALOpen method, and the other won't.
 
What's the materr? Data or lib? 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090906/3f846e84/attachment.html


More information about the gdal-dev mailing list