OTB Plugin installation
Line 51: | Line 51: | ||
right click on {{button|text=Linux}}. {{mitem|text=Save as..}}. Choose a folder where files are stored permanently e.g. /home/username/ | right click on {{button|text=Linux}}. {{mitem|text=Save as..}}. Choose a folder where files are stored permanently e.g. /home/username/ | ||
Open a terminal: {{button|text=Ctrl + alt + t}} | Open a terminal: {{button|text=Ctrl + alt + t}} | ||
− | Uncompress the archive: | + | Uncompress the archive to a folder where you have full permissions (e.g. in your homes: ~/otb): |
<pre> | <pre> | ||
chmod +x OTB-7.0.0-Linux64.run | chmod +x OTB-7.0.0-Linux64.run | ||
Line 58: | Line 58: | ||
The applications can be launched from the Mapla launcher. If you want to use the otbcli and otbgui launchers, you can initialize your environment with | The applications can be launched from the Mapla launcher. If you want to use the otbcli and otbgui launchers, you can initialize your environment with | ||
<pre> | <pre> | ||
− | source otbenv.profile | + | source OTB-7.0.0-Linux/otbenv.profile |
</pre> | </pre> | ||
Revision as of 15:48, 12 November 2019
- Download latest Orfeo toolbox standalone Binary packages. They are available for Windows 7 or higher, Linux, Mac OS and can be downloaded from the OTB download page.
Contents |
Windows
Pick the correct version (32 bit or 64 bit) depending on your system from the otb download page. Unzip the downloaded OTB binary archive to a local folder (e.g. C:\opt). The folder contains both command line and native otb graphical launchers. The applications can be launched from the Mapla launcher. If you want to use the otbcli and otbgui launchers, you can initialize a command prompt with otbenv.bat.
Configure OTB plugin
Since QGIS 3.8 "Zanzibar" a Processing OTB plugin ist already included in the default QGIS distribution. No need to install an additional plugin.
- Open processing settings from the main menu:
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-7.0.0-Win64)
- Set OTB application folder. This is location of your OTB applications. (e.g. C:\opt\OTB-7.0.0-Win64\lib\otb\applications).
- Click OK to save settings and close dialog. If settings are correct, you will have OTB algorithms loaded in QGIS Processing toolbox.
Mac OS
On the [otb download page] right click on MacOS. Save as...
- Move OTB-6.6.1-Darwin64.run to the Applications folder
- Open Terminal and change direction to Applications
cd /Applications
- Make sure the xcrun is installed
xcode-select --install
- Install the OTB-6.6.1-Darwin64.run
chmod +x OTB-6.6.1-Darwin64.run
./OTB-6.6.1-Darwin64.run
Configure OTB plugin
- Open processing settings from the main menu:
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. /Applications/OTB-6.6.1-Darwin64)
- Set OTB application folder. This is location of your OTB applications. (e.g. /Applications/OTB-6.6.1-Darwin64/lib/otb/applications).
- Click OK to save settings and close dialog. If settings are correct, you will have OTB algorithms loaded in QGIS Processing toolbox.
Linux
On the otb download page right click on Linux. Save as... Choose a folder where files are stored permanently e.g. /home/username/ Open a terminal: Ctrl + alt + t Uncompress the archive to a folder where you have full permissions (e.g. in your homes: ~/otb):
chmod +x OTB-7.0.0-Linux64.run ./OTB-7.0.0-Linux64.run
The applications can be launched from the Mapla launcher. If you want to use the otbcli and otbgui launchers, you can initialize your environment with
source OTB-7.0.0-Linux/otbenv.profile
Configure OTB plugin
- Open processing settings from the main menu:
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. /home/[username]/OTB-7.0.0-Linux64)
- Set OTB application folder. This is location of your OTB applications. (e.g. /home/username/OTB-7.0.0-Linux64/lib/otb/applications).
- Click OK to save settings and close dialog. If settings are correct, you will have OTB algorithms loaded in QGIS Processing toolbox.