Hello all,<br><br>My current problem is one of reprojecting an HDF4 image dataset onto a specific CRS. <br>The data I have represent China, for this reason (ie: huge world area extent) I will be reprojecting directly onto WGS84 latidute and longitude system.. <br>
<br>My first question is: Can I achieve this reprojection from a Tiff file obtained from the HDF by gdal_translate (eg: an RGB image using 3 bands)? Or can I solely do this by using the HDF4 dataset?<br><br>Note: the output from gdalinfo on the HDF file reveals the two datasets "Latitude" and "Longitude" (subsets 11 & 12, I attach in this email gdalinfo.out which shows the whole output of the command)<br clear="all">
<br>The metadata also contains the corner coordinates of the image in lat/long degrees:<br> EASTBOUNDINGCOORDINATE=134.930768655651<br> WESTBOUNDINGCOORDINATE=88.3307203917252<br> NORTHBOUNDINGCOORDINATE=64.7989342568829<br>
SOUTHBOUNDINGCOORDINATE=20.7060304288409<br><br><br>Before I start trying with gdalwarp (and any suggestions would be well appreciated on how I should compose the command) I would just like to clear up on a few confusions that I have.<br>
<br>The main one is that I dont know whether I need to somehow extract GCPs out of the geo metadata in order to do the reprojection and how these would come into play anyhow.. <br><br>Another important thing is also that when I use gdal_translate to convert to a GTiff format, if I add in the creation option -co "TFW=YES", I will never get a World file with the georeferencing information.. Any idea why this could be? I guess it could be because the data is still in raw/swath format and cannot allow creation of a georeferencing TFW file... but I am not sure about this yet..<br>
<br>Thanks for your time again <br><br><br>-- <br>Mattia