Hi Alex, I'm very sorry this is so hard. You should not be loosing sleep over OTB :(
There's a lot of information in your post. First of all you should know that we have very few mac users, so mac support is less tested than other OS. Second, QGIS integration with OTB is quite unstable. We are actively working on improving it, but it takes time. The most up to date documentation is here: https://www.orfeo-toolbox.org/packages/nightly/latest/CookBook-6.7/QGIS-interface.html Please try to follow this guide, and if it fails or if something is unclear we will try to help you from there. Finally, know that if you have a successful installation of OTB an QGIS, you can still use OTB outside of QGIS without the plugin. The only downside is that you have to manually enter filenames but otherwise, all formats and algorithms are compatible, even without the plugin. Best, Victor Poughon ________________________________ De : [email protected] [[email protected]] de la part de Alexander G. Haaland [[email protected]] Envoyé : mercredi 16 janvier 2019 10:07 À : otb-users Objet : [otb-users] Failing to install OTB as plugin to QGIS After yesterday's 11 hours try to install OTB as plugin to QGIS, of which 4h was when I was supposed to sleep, I'm turning to you guys for a last desperate cry of help. Background: Mac OS High Sierra QGIS 3.4 Phyton 3.6 OTB 6.6.1 Darwin 64 I have done this: Downloaded the binary package for Mac and installed OTB 6.6.1-Darwin64.run by this command: chmod +x OTB-6.6.1-Darwin64.run ./OTB-6.6.1-Darwin64.run I am able to start and run Monteverdi and Mapla (so I assume installation was successful). Then I went here: https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb and download the "OTB-develop". I extracted the files. Then I wrote this in terminal: mkdir $HOME/projects; cd $HOME/projects git clone https://gitlab.orfeo-toolbox.org/orfeotoolbox/qgis-otb-plugin export QGIS_PLUGINPATH=$HOME/projects/qgis-otb-plugin When I wrote "ls" there was something called qgis-otb-plugin amongst the content in this $HOME/projects-folder. Should this be exported somewhere else than projects-folder? When I restart QGIS and click on Plugin --> manage and install plugin I go to "Installed". There I see "OTB release 6.6" red marked and when clicking on it it says it is Broken "Lacking metadata file". I then tried to add https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb (named it Git) in the repository along with QGIS official repository but that didn't work. After not being able to open OTB in QGIS I then tried to installed OSGeo Live 12.0 on Virtual Machine and that went well, but uses an older QGIS version. And then I tried to do my job in Monteverdi without QGIS but the image I opened went grayscale although it is colored (which it also indicates by showing values on the R, G, B band when moving around with the mouse). Does anyone know why it turned out grayscale by the way? Couldn't click on the RGB-bands. I can't remember if I have done this part earlier in life though: "You must have Python numpy bindings installed in your system. They can be installed locally without admin rights as follows: “pip install –user numpy”. " Where and how do I write this line? It just returns "pip: command not found" when I try. Do I need it? Have I done something in the wrong order? Does OTB 6.6.1-Darwin 64 and OTB-develop need to be in the same folder or have any other relation? Shall I do anything after extracting OTB-develop besides the export of QGIS_PLUGINPATH-command? Is that exported to the wrong folder? I created the "$HOME/projects"-folder for this purpose. Is it the numpy bindings that is failing? Where and how do I write this? I How on earth can I get OTB to work in my QGIS? Please help! BR, Desperate Swede -- This mailing will be abandoned soon in favor of a more friendly forum: https://forum.orfeo-toolbox.org Thanks to visit it for any question related to Orfeo Toolbox (OTB) usage, or to check the OTB FAQ: http://www.orfeo-toolbox.org/FAQ.html --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. For more options, visit https://groups.google.com/d/optout. -- This mailing will be abandoned soon in favor of a more friendly forum: https://forum.orfeo-toolbox.org Thanks to visit it for any question related to Orfeo Toolbox (OTB) usage, or to check the OTB FAQ: http://www.orfeo-toolbox.org/FAQ.html --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
