[FWTools] hdf4 driver is not support creation?

Frank Warmerdam warmerdam at pobox.com
Thu Nov 26 13:13:47 EST 2009


josn wrote:
> Hi,
>  
> I create a HDF4 Driver like this:
>  
> _driver = Gdal.GetDriverByName("HDF4");
>  
> and find the _driver does not have the "DCAP_CREATE=YES" metadata.
> why?

JoSn,

For reasons related to the subdataset oriented nature of HDF4 support,
you actually have to use the HDF4Image driver to create new HDF images.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the FWTools mailing list