11

I already tried this http://hg.orfeo-toolbox.org/OTB-Qgis-plugins/ repository and couldn't get it... This guy seems to have it: http://www.elance.com/samples/orfeo-toolbox-qgis/24111664/

Help, please. :=)

4

Figured I'd leave this answer in case someone sees it now. It seems like they've cleaned this up since it was asked, and that old wiki doesn't link well to the current website:

https://www.orfeo-toolbox.org/download/

There are full installation instructions as well here https://www.orfeo-toolbox.org/CookBook/Installation.html where they have downloadable install scripts to run.

If you are using ubuntu, you can also do

sudo apt install aptitude
sudo aptitude install add-apt-repository
sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
sudo aptitude install otb-bin otb-bin-qt python-otb

This was the thing that worked for me after 30 minutes of trying a full build from source.

3

I did it following this: http://wiki.orfeo-toolbox.org/index.php/Quantum_GIS_access_to_OTB_applications

1

The right way is to install the new analysis framework and then the (new) plugins for Orfeo (and SAGA).

Announcement and instructions:

http://lists.osgeo.org/pipermail/qgis-user/2011-October/013923.html

1

This is how I installed it on Windows 8.1 running QGIS 2.18.16:

  • Download zip file for Windows 64bit version from https://www.orfeo-toolbox.org/download/
  • Unzipped it to a sensible location (i.e. not a temporary location)
  • Start QGIS
  • Go to menu option Processing > Options
  • Expand Providers > Orfeo Toolbox
  • For OTB application folder set the value to be the folder path to the bin folder, for example if you have unzipped the download to c:\scratch then the bin folder would be C:\Scratch\OTB-6.4.0-Win64\bin
  • Set the OTB command line tools folder to the same bin folder
  • Press OK
  • If you get a Wrong value error message about a msys folder you then need to go to Providers > Grass Commands and clear the value in Msys folder, this is some sort of bug in QGIS.
  • Restart QGIS

IMPORTANT: Folder path must not have spaces, so c:\Program Files will not work!

This approach got it working but I have not fully tested all the functionality. The reason is that I was interested in a specific function that it had.

1

Since QGIS 3.8, the OTB provider plugin is part of QGIS core but disabled by default (enable it under Options->Processing->Providers). Install OTB (download from https://www.orfeo-toolbox.org/download/) before enabling the plugin.

Prior to QGIS 3.8, install OTB and add the plugin repository http://orfeo-toolbox.org/qgis/plugins.xml (detailed steps at https://gitlab.orfeo-toolbox.org/orfeotoolbox/qgis-otb-plugin) for the OTB provider plugin.

Example plugin settings on Windows:

Activate: (check the box)
OTB application folder: C:/OTB-6.6.1-Win64/lib/otb/applications
OTB folder: C:/OTB-6.6.1-Win64

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.