[gdal-dev] hdf5 data to geotiff(the coordinates)

maven apache apachemaven0 at gmail.com
Mon Jan 11 21:50:04 EST 2010


2010/1/12 Frank Warmerdam <warmerdam at pobox.com>

> maven apache wrote:
> > the gdal.tif is :
> > ----------------
> > Corner Coordinates:
> > Upper Left  (    0.0,    0.0)
> > Lower Left  (    0.0,  720.0)
> > Upper Right ( 1440.0,    0.0)
> > Lower Right ( 1440.0,  720.0)
> > Center      (  720.0,  360.0)
> > ------------------------
> > It seems that the bbox is defined by different manner , the arcgis.tif
> > is by Degrees minutes and seconds and the gdal.tif is by grid of some
> other?
> >
> > I wonder how to solve this problem?
>
> Hi,
>
> It appears that the gdal.tif file is not georeferenced.  The
> values you see are just pixel/line coordinates.  Did the
> subdataset appear to have reasonable georeferencing in
> the HDF file?  I presume there is some problem with the hdf
> driver extracting the georeferencing properly for this
> particular dataset.
>
> :(.
I just check the hdf5 file and I found that the  Corner Coordinates of one
subdataset is not the same as that of the hdf5 file.

I use "gdalinfo aa.he5" and the coordinate is :
----------------------------
 Upper Left  (    0.0,    0.0)
Lower Left  (    0.0,  512.0)
Upper Right (  512.0,    0.0)
Lower Right (  512.0,  512.0)
Center      (  256.0,  256.0)
--------------------------------
and one of the subdatasets if named
[HDF5:"d24.he5"://HDFEOS/GRIDS/ColumnAmountO3/Data_Fields/GhostColumnAmountO3].
Then I got its coordinate is :
---------------------------
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0,  720.0)
Upper Right ( 1440.0,    0.0)
Lower Right ( 1440.0,  720.0)
Center      (  720.0,  360.0)
---------------------------
 Does that mean the gdal can not handle the hdf5 data?

> Bestregards,
> --
>
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam<http://pobox.com/%7Ewarmerdam>
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100112/c0ed0b27/attachment-0001.html


More information about the gdal-dev mailing list