[Gdal-dev] convert HDF to TIF - georeferencing problems
Pedro Oliveira
poliveira at esri-portugal.pt
Thu Sep 7 10:57:47 EDT 2006
Good Morning LIST
I'm trying to import HDF-SMI from MODIS to TiF, and i'm using the GDAL
FWTools application.
I'm using the following sintax for importing the hdf image in a batch
file that uses some variables to lock the file name:
GDAL_TRANSLATE -OF GTIFF %DIRIN%\%%X %DIROUT%\%%~nX.TIF
Everything work's fine. The problem is the this:
The outpu image is a GeoTiff but it dosn't have lat/long georeferencing,
but has row/column info. Ive tried to use some paramenter like -t_srs or
-s_srs in gdalwarp but didn't work.
When i use gdalinfo i cn see that the HDF file dosn't have a explicit
geographical information, but the information has lat/long data.
Is there a way to import image and have the output file as lat/long
(wgs84) georefernced
I've download the image in the following URL
HDF-SMI:
http://oceancolor.gsfc.nasa.gov/cgi/level3.pl?DAY=08Aug2005&PER=&TYP=mac
hl&RRW=16
i've used a Chlorophyll (Aqua-MODIS) monthy 4km HDF file.
Tanks in advance by you help
Best regards
Pedro Oliveira
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060907/99ddff64/attachment.html
More information about the Gdal-dev
mailing list