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]. For more options, visit https://groups.google.com/d/optout.
