Importing HDF4

View: New views
2 Messages — Rating Filter:   Alert me  

Importing HDF4

by Meek, Allan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When I try to import an HDF4 image into the OpenEV application, I get
the following error dialog:

Unable to translate <image>.hdf to <image>.tif

where <image> is the image's filename.

Also, the console shows the following error message:

ERROR 1: Unable to export GeoTIFF files with zero bands.

Can anything be done to allow for importing HDF products?

Thanks,
Allan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openev-discuss mailing list
Openev-discuss@...
https://lists.sourceforge.net/lists/listinfo/openev-discuss

Re: Importing HDF4

by Frank Warmerdam-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Meek, Allan (Contractor) wrote:

> When I try to import an HDF4 image into the OpenEV application, I get
> the following error dialog:
>
> Unable to translate <image>.hdf to <image>.tif
>
> where <image> is the image's filename.
>
> Also, the console shows the following error message:
>
> ERROR 1: Unable to export GeoTIFF files with zero bands.
>
> Can anything be done to allow for importing HDF products?

Allan,

If you open the HDF file using the normal File->Open first, it will ask
you to select a subdataset from the HDF file.  After doing this, if you
select File->*Export* it will be operating on the last opened subdataset
and you can export to GeoTIFF.

If you hit advanced options, turn on overviews, and add TILED=YES in the
Creation Options this should be equivelent to the import operation.

The problem you are running into is that the import dialog does not use
a subdialog for selecting amoung subdatasets as it ought to.

Best regards,

--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@...
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Openev-discuss mailing list
Openev-discuss@...
https://lists.sourceforge.net/lists/listinfo/openev-discuss