[GIS] Orfeo tool box (OTB) in Ubuntu 14.04 and SAGA incompatibility (gdal versions)

gdalorfeo-toolboxqgissagaUbuntu

I need to test segmentation of a 12000 x 12000 pixels scene.
I successfully compiled OTB in Ubuntu 14.04 and ran the process.
But when I tried to start SAGA, I got a startup error.

I found that gdal library in SAGA is version 1.10, but in OTB is 1.11.
After reinstalling Ubuntu 14.04 and SAGA with Qgis, system is running, but no segmentation in any one. SAGA exits without error message and Qgis present errors regarding image geographic extension, but is a pancromatic band.

As I see, only OTB runs very well segmentation but I need to see results and extract some polygon statistics with SAGA.
How can I install both gdal versions in parallel?

Best Answer

I've work with both OTB and SAGA but I would advise on Ubuntu to install both libraries using the ubuntugis-unstable PPA:

https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable/

It should allow you to install last stable release of both otb and saga and also qgis using the same gdal version.

Take care to uninstall previous versions on your system before doing that to avoid package conflicts.