Setup python to get the orfeo toolbox work properly together with pyqgis from a pycharm ide or a standalone python script

Hi,

  1. To use QGIS processing API, I think that you must tell QGIS where is installed OTB.
  2. To use OTB python API (which is not the same thing as the QGIS API), you could define the following environment variables:
  • PATH <-- otb bin directory
  • LD_LIBRARY_PATH (PATH on windows?) <-- otb lib directory
  • OTB_APPLICATION_PATH <-- otb lib/otb/applications directory
  • PYTHONPATH <-- otb lib/otb/python directory

Hope that helps you!