[gdal-dev] How to use gdalinfo for HDF

Luisa Peña luisapena1979 at gmail.com
Fri Aug 5 06:32:47 EDT 2011


Greetings
I have read This webpage: http://www.gdal.org/frmt_hdf4.html
But I'm having one difficulty

If I have my HDF in my current folder I'm able to do gdalinfo over my file
and then over my layer

gdalinfo HDF4_EOS:EOS_GRID"filename.hdf":POSTEL:data1
and I get all the information
But, if I have my data in other folder (like C:\data)
I do:
gdalinfo C:\data\filename.hdf
and I get a list of layers
and then:
gdalinfo HDF4_EOS:EOS_GRID"C:\filename.hdf":POSTEL:data1
I get:
Open GDAL datasets:
1 N DriverIsNull 512x512x0

How can I apply gdalinfo (or gdalwarp) for cases like this?
THanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110805/ea53c59d/attachment-0001.html


More information about the gdal-dev mailing list