Wednesday 25 March 2015

installation - Configure Orfeo Toolbox to work with QGIS v2 Windows 7 from standalone installer


I have asked this question on the QGIS mailing list, but have not yet had a satisfactory result.


The QGIS manual at http://www.qgis.org/en/docs/user_manual/processing/3rdParty.html is confusing about how OTB and QGIS work together and how to install them.


On the one hand, it indicates that the OTB files are installed as part of the standalone installation package. But then goes on to tell us what the file paths (in the Options and Configuration area) for the OSGEO4 installer.


My installation, on a Win 7 64 bit machine, was done via the standalone installer. I can see the various algorithms under Processing, but none of the OTB ones work. They all render an error that says that OTB is not configured correctly.



Because I haven't installed via the OSGEO4 installer, I can't use the file paths that are outlined on the above page.


All I can tell is that 'it should work' out of the box, but that's not my experience. Can anyone help?



Answer



Installing QGIS Dufour standalone, I have not found any path with orfeotoolbox files. Just because you see the menu entries in the plugin, it does not mean they are already installed.


The otb website recommends to install it via OSGEO4W installer. So even if you want to use QGIS standalone, you are encouraged to install otb with the OSGeo4W system, and add the paths


C:\OSGeo4W\apps\orfeotoolbox\applications
C:\OSGeo4W\bin

in your standalone version of QGIS as mentioned in https://groups.google.com/forum/#!topic/otb-users/pfu4CQsHv18.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...