OTB Plugin installation

From AWF-Wiki
(Difference between revisions)
Jump to: navigation, search
Line 15: Line 15:
  
 
[[File:qgis_otb_plugin_install.png|600px]]
 
[[File:qgis_otb_plugin_install.png|600px]]
 +
 +
* Open plugin manager {{mitem|text=Plugins -> Manage and Install Plugins}}. Click on Installed tab on left and make sure box next to Processing OTB provider is checked.
 
   
 
   
and download as zip file. Unzip to a folder of your choice e.g. ''C:\opt\qgis-otb-plugin-master''.
 
* Set a new user environment variable '''QGIS_PLUGINPATH''':
 
On the the lower-left start screen type in the search tab ''Edit environment variables for your account''.
 
Add or Edit the variable '''QGIS_PLUGINPATH''' and set value to the path where you extracted the qgis plugin, e.g. ''C:\opt\qgis-otb-plugin-master''
 
 
 
==Configure plugin in QGIS==
 
==Configure plugin in QGIS==
*Start QGIS
 
If you already have QGIS opened, you must restart it.
 
 
*Install otb plugin
 
{{mitem|text=Plugins --> Manage and Install Plugins}}
 
Click on Installed tab on left and make sure box next to OrfeoToolBox(OTB) is checked.
 
 
*Open processing settings
 
{{mitem|text=Processing --> Toolbox --> Options}}. You can see OTB under "Providers".
 
  
 +
*Open processing settings from the main menu:
 +
{{mitem|text=Settings -> Options -> Processing (left panel)
 +
You can see OTB under "Providers".
 
* Expand OTB tab
 
* Expand OTB tab
Tick the Activate option.
+
* Tick Activate box
 
+
* Set OTB folder. This is location of your OTB installation (e.g. {{typed|text=C:\opt\OTB-6.6.1-Win64}})
Set OTB folder. This is location of your OTB installation.
+
* Set OTB application folder. This is location of your OTB applications. (e.g. {{typed|text=C:\opt\OTB-6.6.1-Win64\lib\otb\applications}}. Click {{typed|buttont=OK}} to save settings and close dialog. If settings are correct, you will have OTB algorithms loaded in QGIS Processing toolbox.
 
+
Set OTB application folder. This is location of your OTB applications: <OTB_FOLDER>/lib/otb/applications.
+
 
+
[[File:qgis-otb-plugin_settings.png|200px]]
+
  
Click "OK" to save settings and close dialog. If settings are correct, you will have OTB algorithms loaded  in Processing toolbox
+
[[File:qgis-otb-plugin_settings.png|600px]]
  
 
[[Category:Installation Guide]]
 
[[Category:Installation Guide]]

Revision as of 11:19, 23 April 2019

  • Download latest Orfeo toolbox standalone Binary packages. They are available for Windows 7 or higher. They can be downloaded from otb download page.

Pick the correct version (32 bit or 64 bit) depending on your system. Extract the archive to a local Folder (e.g. C:\opt). It contains command line and native otb graphical launchers.

  • Start QGIS
  • Open plugin manager Plugins -> Manage and Install Plugins
  • Select Settings on left pane and then click Add.. button to add a new plugin repository.
  • Write Name for repository. eg: CNES plugin repository
  • Write URL as http://orfeo-toolbox.org/qgis/plugins.xml and click OK. The repository will be added to the list and status shown as connected. Click Reload all Repositories.

Qgis otb plugin manager.png

  • Select All on the left pane and type otb into the search field.
  • Select Processing OTB provider and click Install Plugin. Close.

Qgis otb plugin install.png

  • Open plugin manager Plugins -> Manage and Install Plugins. Click on Installed tab on left and make sure box next to Processing OTB provider is checked.

Configure plugin in QGIS

  • Open processing settings from the main menu:

{{mitem|text=Settings -> Options -> Processing (left panel) You can see OTB under "Providers".

  • Expand OTB tab
  • Tick Activate box
  • Set OTB folder. This is location of your OTB installation (e.g. C:\opt\OTB-6.6.1-Win64)
  • Set OTB application folder. This is location of your OTB applications. (e.g. C:\opt\OTB-6.6.1-Win64\lib\otb\applications. Click {{{text}}} to save settings and close dialog. If settings are correct, you will have OTB algorithms loaded in QGIS Processing toolbox.

Qgis-otb-plugin settings.png

Personal tools
Namespaces

Variants
Actions
Navigation
Development
Toolbox
Print/export