Request for changes-111: SuperBuild dependencies additions for GDAL
From OTBWiki
Contents
[Request for Changes - 111] SuperBuild dependencies additions for GDAL
Status
- Author: Guillaume
- Submitted on 01.09.2017
- Proposed target release : 6.2
- Adopted : +2 from Guillaume, Victor
- Merged : 7d6a4af72e3166c06cf9c974d277c04d32c32b93
Summary
This RFC improves the list of GDAL drivers in SuperBuild, in particular with HDF support.
Rationale
Some image formats were not supported in GDAL built from SuperBuild, which is then packaged and released.
Implementation details
SuperBuild
M SuperBuild/CMake/External_gdal.cmake A SuperBuild/CMake/External_hdf4.cmake A SuperBuild/CMake/External_hdf5.cmake M SuperBuild/CMake/External_jpeg.cmake A SuperBuild/CMake/External_netcdf.cmake M SuperBuild/CMake/External_openjpeg.cmake M SuperBuild/CMakeLists.txt A SuperBuild/patches/GDAL/gdal-4-fixhdf5-win.diff A SuperBuild/patches/GDAL/gdal-5-fixOpenJPEG22_rev39821-all.diff M SuperBuild/patches/GDAL/gdal-fix-rpath-for-macx.diff M SuperBuild/patches/GDAL/nmake_gdal_extra.opt.in A SuperBuild/patches/HDF4/hdf4-1-alternative-all.diff D SuperBuild/patches/OPENJPEG/openjpeg-1-pr786-all.diff M SuperBuild/patches/OPENJPEG/openjpeg-2-fixes-macx.diff
In a nutshell:
- Added support of HDF4
- Added support of HDF5
- Added support of NetCDF (built with HDF 4 & 5 support)
- Enable hdf4, hdf5 and netcdf drivers in GDAL
- Upgrade OpenJPEG to 2.2 (lots of performance improvements)