QGIS interface¶
OTB Applications are fully integrated in QGIS since QGIS 3.8. You can configure OTB for QGIS according to the:
Warning
Since QGIS 3.22: 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).
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.0.0 | Not Compatible | Not Compatible | Not Compatible | Compatible |
Troubleshooting¶
Use OTB in old QGIS version (3.6 and less)¶
Warning
This method is deprecated. Please consider upgrading your QGIS version.
Since QGIS 3.8 and with 3.10 LTR version, the configuration of OTB Application is directly done in QGIS Provider (see above).
If you use an older version of QGIS (from 3.2 to 3.6), you need to install an additional plugin in order to use OTB applications. This plugin is available here with specific installation instructions.
Don’t use this plugin with QGIS 3.8 or higher. It might get messy if you upgrade your QGIS version and still have a previously installed plugin. Try to remove the old plugin before launching QGIS.
Issue tracking¶
If you encounter issues with integration of OTB application into QGIS, please fill an issue into the OTB issue tracker with qgis label.