Hi,

There is a question about HDF4 in 
https://gis.stackexchange.com/questions/424204/convert-geotiff-to-hdf-using-gdal.
I tried the same with GDAL 3.4.0. With a single band image conversion from 
GeoTIFF into HDF4Image succeeds but with a 3 band image not. I am not sure if 
it is even supposed to work and the driver test in 
https://github.com/OSGeo/gdal/blob/master/autotest/gcore/hdf4_write.py is 
rather simplistic.
So, should "gdal_translate -of HDF4Image 3band.tif out3band.h4" work?

-Jukka Rahkonen-

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to