Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd OTB provider to qgis processing plugin [processing] #8814
Conversation
rkanavath
force-pushed the
orfeotoolbox:master
branch
from
97a9496
to
c674faf
Jan 9, 2019
luipir
reviewed
Jan 9, 2019
rkanavath
force-pushed the
orfeotoolbox:master
branch
from
8b4f28a
to
2bbb911
Jan 10, 2019
rkanavath
changed the title
Add OTB provider to qgis processing plugin
[processing] Add OTB provider to qgis processing plugin
Jan 10, 2019
This comment has been minimized.
This comment has been minimized.
@luipir , could you have a look at changes. travis tests are fixed now |
This comment has been minimized.
This comment has been minimized.
I'll give a try... but I'm busy on many front (userconf) in this moment. No problem if someone else is able to review before me |
nyalldawson
added
the
Feature
label
Jan 10, 2019
This comment has been minimized.
This comment has been minimized.
I'd like to review before merge too, thanks! But upfront: Thanks @rkanavath --- looks like great work from a preliminary read over |
This comment has been minimized.
This comment has been minimized.
of course, thanks @rkanavath :) |
nyalldawson
reviewed
Jan 14, 2019
rkanavath
force-pushed the
orfeotoolbox:master
branch
from
2334407
to
c47c7e9
Jan 14, 2019
m-kuhn
changed the title
[processing] Add OTB provider to qgis processing plugin
Add OTB provider to qgis processing plugin [processing]
Jan 16, 2019
nyalldawson
added this to the 3.8 milestone
Jan 18, 2019
This comment has been minimized.
This comment has been minimized.
@nyalldawson , given that last commits are okay is it possible to move this to 3.6 milestone? |
This comment has been minimized.
This comment has been minimized.
so the plugin is not trying to install, the use can do it in his usual way. thanks. |
This comment has been minimized.
This comment has been minimized.
@pcav , yes plugin know nothing of how or if otb is installed. The change in travis docker is for testing in travis-ci. |
This comment has been minimized.
This comment has been minimized.
This looks good to me now. There's going to be some issues with interoperability with other algorithms in models due to the layer handling (i.e. not supporting memory layers), but that can always be addressed later and further refined. @alexbruy did you want to review too? There's still the outstanding question about the docker image changes too, which either @3nids or @elpaso will need to review |
This comment has been minimized.
This comment has been minimized.
Wasn't it decided that except for GRASS and SAGA all the other providers would stay outside the Core, installed as plugins? |
This comment has been minimized.
This comment has been minimized.
Thanks @nyalldawson and others for your help during review process. I really appreciate your inputs. Plus lot of great changes in processing which made code for provider much simpler! I agree with you that in memory provider support can be added later. I will add this as a todo in otb bug tracker. Regarding docker image changes, I don't have an alternative for testing otb. So will wait for inputs from @elpaso or @3nids. |
rkanavath
added some commits
Jan 8, 2019
rkanavath
added some commits
Jan 21, 2019
rkanavath
force-pushed the
orfeotoolbox:master
branch
from
6c58195
to
ba3d9f5
Jan 24, 2019
This comment has been minimized.
This comment has been minimized.
@nyalldawson, sorry I won't review it. My position did not changed, this should be a 3rd party plugin like all other Processing providers. I don't see any reasons for exceptions, we had agreements "no more python plugins in the core" and "move processing providers outside core". |
This comment has been minimized.
This comment has been minimized.
@alexbruy I can't find it back right now, but we have been discussing this case rather extensively, and the final decision was to include OTB |
This comment has been minimized.
This comment has been minimized.
@pcav I perfectly remember what and how was decided |
This comment has been minimized.
This comment has been minimized.
That's fine -- I totally get where you are coming from. If there's no objection to the docker changes I'll merge after thaw. |
nyalldawson
added
Bugfix
Merge After Thaw
and removed
Bugfix
labels
Jan 25, 2019
This comment has been minimized.
This comment has been minimized.
@nyalldawson, @pcav is it possible for someone else to review changes to docker file in travis to complete it. If @elpaso (I tried to contact him by mail) and @3nids too are not agreeing (don't want to understand why is that) to include otb provider and thereby refusing to even review changes what will be remaning option left.? Even though docker changes aren't essential for functioning of provider itself but it allows for easy testing and helps improve integration and communication between two projects. Thanks in advance. |
This comment has been minimized.
This comment has been minimized.
I agree. Unfortunately, I don't know the docker infrastructure, so I cannot be of direct help here. |
This comment has been minimized.
This comment has been minimized.
It's ok, it's tagged as "merge after thaw", so we are just waiting on feature freeze to lift and I'll merge |
This comment has been minimized.
This comment has been minimized.
Great news, I'll test soon after merge. |
This comment has been minimized.
This comment has been minimized.
Hi all, It's great to see that this PR is going to be merged. Thanks for all the work! I'm a developer and PSC member of the OTB project, just a quick note: Reading this thread I see that there is a bit of friction about where this code belongs. IIRC, the main reason we pushed for the OTB provider to be part of QGIS core is that we had a few issues with API breakage. When it was outside of core the plugin suddenly stopped working for users who upgraded their QGIS version. If you can find another reference to a discution about this please let me know. On our side, integration with QGIS is an important feature. We see a lot of users relying on both of these osgeo projects and we just want what's best for them. For this we are willing to spend ressources and work on QGIS integration in the years to come (i.e. assign dev time to make QGIS PRs, or whatever else is the best technical solution). There's also the issue of documentation, and installation of the plugin. Both of these are a complete mess from a UX perspective given the state of QGIS/OTB/plugin version compatibility matrix. Ultimately I feel like the question is about who should maintain this code. I'm not well versed in the technical details of this (@rkanavath did all the work), but I just want to make clear that we are not dumping this code in the QGIS repo hoping that it will just keep working. We are open for any discussion necessary (both technical and political) about how to make the best OTB-QGIS plugin for users. We have a gitlab issue tracker and a new discourse forum, both with github SSO, or feel free to reply here. Thanks a lot |
This comment has been minimized.
This comment has been minimized.
Hi Victor, |
nyalldawson
merged commit 9983961
into
qgis:master
Feb 22, 2019
1 check passed
This comment has been minimized.
This comment has been minimized.
Compiled and tested: it requires to add manually the paths to OTB folder and OTB application folder. Tried /usr nd /usr/bin, but I still get errors. |
This comment has been minimized.
This comment has been minimized.
No OTB algorithms found in '/usr/bin'. OTB will be disabled |
This comment has been minimized.
This comment has been minimized.
ls /usr/bin/otbcli* |
rkanavath commentedJan 8, 2019
•
edited
Description
This adds otb provider to qgis processing plugin. Here are some highlights.
Checklist
fixes #11111
in the commit message next to the description[FEATURE]
in the commit message[needs-docs]
in the commit message and contain sufficient information in the commit message to be documentedscripts/prepare-commit.sh
script before each commit