QGIS interface

OTB Applications can be used with QGis:

  • Since QGis 3.8 and until 3.34, OTB provider is fully integrated

  • Since QGis 3.36, OTB provider is available in QGis plugin’s catalog

Warning

Since QGIS 3.22 and until 3.34: the plugin is not activated by default. It should be activated in the plugins settings (Plugins/Manage and Install Plugins... toolbar). The plugin should then be configured as detailed in the QGIS documentation (see the links provided above).

Plugin installation

Note

Instructions only valid since QGis 3.36

The easiest method is to install OTB provider plugin from QGis catalog:

  • Plugin ‣ Manage and Install Plugins…

  • Go to Not installed list and search for otb

  • Install plugin, it should be available in Installed list

If you need the plugin on a terminal disconnected from public network, use the following instructions. You need at least one terminal connected to network and a way to transfer plugin from one terminal to another:

  • Download plugin from https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb-qgis-plugin ( Code button on right then zip in download source code section)

  • Transfer you files from one terminal to another and unzip it somewhere

  • copy only orfeoToolbox_provider folder to ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins

  • Plugin should be available

_images/plugins.png

Plugin configuration

When installed, to use OTB in QGIS you need to setup the provider plugin:

  • Open the processing settings: Settings ‣ Options ‣ Processing

  • You can see OTB under Providers menu (see following picture):

    • Expand the OTB entry

    • Set the OTB folder. This is the location of your OTB installation.

    • Set the OTB application folder. This is the location of your OTB applications ( <PATH_TO_OTB_INSTALLATION>/lib/otb/applications)

    • Click OK to save the settings and close the dialog.

_images/plugins_config.png

Compatibility between QGIS and OTB versions

There are compatibility issues between the different versions of OTB and QGIS. Any version of OTB compiled with GDAL 3.X is not compatible with QGIS 3.12 or below. This is the case for the binary packages of OTB 7.1 and above. In this case QGIS 3.14 or more should be used.

The table below summarizes which version of OTB can be used with which version of QGIS.

QGIS 3.8 - 3.12

QGIS 3.14

QGIS 3.16

QGIS >= 3.18

OTB 6.6.1

Compatible

Compatible

Compatible

Compatible

OTB 7.0.0

Compatible

Compatible

Compatible

Compatible

OTB 7.1.0

Not Compatible

Compatible

Compatible

Compatible

OTB 7.2.0

Not Compatible

Compatible

Compatible

Compatible

OTB 8.x.0

Not Compatible

Not Compatible

Not Compatible

Compatible

OTB 9.x.0

Not Compatible

Not Compatible

Not Compatible

Compatible

Issue tracking

If you encounter issues with integration of OTB application into QGIS, please fill an issue in otb-qgis-plugin board .