ankitrao22 / ankityadav

0 stars 0 forks source link

'HDF4' unsupported format in GDAL #1

Open ankitrao22 opened 4 years ago

ankitrao22 commented 4 years ago

I am currently working on MODIS land cover product MCD12Q1 to understand the land cover changes in the past 10 years. The retrieved files from the MODIS are in hdf4 format with sinusoidal grid system. In order to convert the projection to wgs84 (equidistant cylindrical) , I installed GDAL with the help of homebrew. I have all the other raster drivers installed including netcdf, Geotiff, hdf5 and others.

I want to have hdf4 raster driver compiled to my installed gdal.

My work will be paced up if anyone can help me out with this problem.

Thank you

Ankit IISER Mohali

alazarolop commented 4 years ago

Hi Ankit,

That should be very straightforward, last version of GDAL in the tap lost this functionality by mistake. I'll let you know when the tap is updated with the fix.

Just for you information, issues should be raised in the repository of origin, in this case OSGeo4Mac.

ankitrao22 commented 4 years ago

Hello Alberto Sorry for cross posting same issue to the 'https://github.com/OSGeo/homebrew-osgeo4mac/issues'. I have raise the issue in the same repository and looking forward to the solution. I followed the issue where nick robinson clarified that the hdf4 driver is supported with gdal. Below is the link to issue. https://github.com/OSGeo/homebrew-osgeo4mac/issues/1370#issue-589772076

Thank you

Ankit IISER Mohali