On 6 September 2013 11:33, Eloi <[email protected]> wrote: > Assigning EPSG:4326 nothing comes up when loading the image with > others data in EPSG:4326. >
You are right, the data is missing georeference information: $ gdalinfo 'HDF4_EOS:EOS_GRID:"MOD13C2.A2000032.005.2006272104028.hdf":MOD_Grid_monthly_CMG_VI:CMG 0.05 Deg Monthly NDVI' [snip snip snip] Corner Coordinates: Upper Left ( -1.0000000, -1.0000000) Lower Left ( -1.0000000, -1.0000000) Upper Right ( -1.0000000, -1.0000000) Lower Right ( -1.0000000, -1.0000000) Center ( -1.0000000, -1.0000000) So you are right, you need to specify it. This works $ gdal_translate -of GTiff -a_srs "EPSG:4326" -a_ullr -180 90 180 -90 \ 'HDF4_EOS:EOS_GRID:"MOD13C2.A2000032.005.2006272104028.hdf":MOD_Grid_monthly_CMG_VI:CMG 0.05 Deg Monthly NDVI' ndvi.tif Cheers, Jose
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
