[gdal-dev] Problems with HDF4

Jonathan Greenberg jgrn at illinois.edu
Tue Oct 14 11:12:00 PDT 2014


Gdallers:

I'm having some issues with a source-built GDAL's support of HDF4 on a
Linux box.  I've repeated this with both GDAL 1.10.1 and 1.11.1.  The
HDF is a landsat HDF:

@server> gdalinfo "/pathro/lndsr.LT51950531990333ESA00.hdf"
ERROR 4: Failed to open HDF4 file
"/pathto/lndsr.LT51950531990333ESA00.hdf" for SDS reading.

gdalinfo failed - unable to open '/pathto/lndsr.LT51950531990333ESA00.hdf'.

What is weird is that the install of both HDF4 and GDAL appeared to
work correctly.  Certainly gdalinfo --formats lists HDF4 as one of the
working formats.  The configure script I used for HDF4 was:

./configure --prefix=/usr/apps/oa --with-pic
--with-jpeg=/usr/apps/oa/lib --with-zlib=/usr/apps/oa/lib
--disable-fortran --disable-netcdf

And for GDAL:
./configure --prefix=/usr/apps/oa/ --with-python --without-sqlite3

Any ideas?

--j

-- 
Jonathan A. Greenberg, PhD
Assistant Professor
Global Environmental Analysis and Remote Sensing (GEARS) Laboratory
Department of Geography and Geographic Information Science
University of Illinois at Urbana-Champaign
259 Computing Applications Building, MC-150
605 East Springfield Avenue
Champaign, IL  61820-6371
Phone: 217-300-1924
http://www.geog.illinois.edu/~jgrn/
AIM: jgrn307, MSN: jgrn307 at hotmail.com, Gchat: jgrn307, Skype: jgrn3007


More information about the gdal-dev mailing list