OSGeo / homebrew-osgeo4mac

Mac homebrew tap for maintaining a stable work environment for the OSGeo.org geospatial toolset
https://git.io/fhh3X
BSD 3-Clause "New" or "Revised" License
364 stars 112 forks source link

'HDF4' unsupported format in GDAL #1370

Closed ankitrao22 closed 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,

The issue have been fixed in this commit https://github.com/OSGeo/homebrew-osgeo4mac/commit/7af89e6c756cc74f136945cbc21ac78060dcc078. However, because of a dependency from core, some formulas need to be rebuild in order to release the upgrade. It shouldn't take much time.

alazarolop commented 4 years ago

@ankitrao22 Done https://github.com/OSGeo/homebrew-osgeo4mac/commit/7af89e6c756cc74f136945cbc21ac78060dcc078

ankitrao22 commented 4 years ago

thank you @alazarolop I am working on this. Will inform if all goes good.

Thank you very much for the assistance

ankitrao22 commented 4 years ago

@alazarolop Gdal is working with hdf4 files Thank you for your efforts and suggestions.

Ankit IISER Mohali