Update geospatial libraries versions in Superbuild
Summary
Update the version of several OTB dependencies in the Superbuild for Linux and Macos:
-
SQLITE: 3.8 to 3.36. SQLITE > 3.11 is required to build PROJ > 7.0.0. See https://github.com/OSGeo/PROJ/issues/1718 -
PROJ: 6.2.1 to 8.1.1 : proj-1-cmakefixes-all.diff
is not required anymore with https://github.com/OSGeo/PROJ/issues/1479. PROJ now have TIFF and CURL as (optional) dependencies. As these libraries are already built by the Superbuild they can be used in PROJ. See RFC4. -
GEOS: 3.6.5 to 3.6.9 -
GEOTIFF: Already up to date -
GDAL: 3.2.2 to 3.4.0 : baselines should be updated (see notes)
Rationale
We noted some differences in baseline tests when compiling OTB with more recent versions of the dependencies (in a conda environment), in particular slight difference in the extent of the output polygons of some tests have been noticed. This might be caused by changes in the dependencies (maybe in geos)
Notes
Some tests were broken because the baselines were generated before the fixes of this GDAL issue. These baselines have been updated
GDAL 3.2.2 is still used on Windows because of bugs when using SQLITE > 3.11. At the moment we don't know the cause of these error (SQLITE ? PROJ ? OTB ?). For release 8.0-rc1 GDAL 3.2.2 will be used
Copyright
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging:
- All discussions are resolved
- At least 2
👍 votes from core developers, no👎 vote. - The feature branch is (reasonably) up-to-date with the base branch
- Dashboard is green
- Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
- Optionally, run
git diff develop... -U0 --no-color | clang-format-diff.py -p1 -i
on latest changes and commit