Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
92 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
file(GLOB PY_FILES *.py) | ||
file(GLOB OTHER_FILES metadata.txt) | ||
|
||
PLUGIN_INSTALL(otbprovider . ${PY_FILES} ${OTHER_FILES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
*************************************************************************** | ||
OtbProviderPlugin.py | ||
--------------------- | ||
Date : June 2021 | ||
Copyright : (C) 2021 by Alexander Bruy | ||
Email : alexander dot bruy at gmail dot com | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
*************************************************************************** | ||
""" | ||
|
||
__author__ = 'Alexander Bruy' | ||
__date__ = 'June 2021' | ||
__copyright__ = '(C) 2021, Alexander Bruy' | ||
|
||
|
||
from qgis.core import QgsApplication | ||
|
||
from otbprovider.OtbAlgorithmProvider import OtbAlgorithmProvider | ||
|
||
|
||
class OtbProviderPlugin: | ||
|
||
def __init__(self): | ||
self.provider = OtbAlgorithmProvider() | ||
|
||
def initGui(self): | ||
QgsApplication.processingRegistry().addProvider(self.provider) | ||
|
||
def unload(self): | ||
QgsApplication.processingRegistry().removeProvider(self.provider) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
*************************************************************************** | ||
__init__.py | ||
--------------------- | ||
Date : June 2021 | ||
Copyright : (C) 2021 by Alexander Bruy | ||
Email : alexander dot bruy at gmail dot com | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
*************************************************************************** | ||
""" | ||
|
||
__author__ = 'Alexander Bruy' | ||
__date__ = 'June 2021' | ||
__copyright__ = '(C) 2021, Alexander Bruy' | ||
|
||
|
||
def classFactory(iface): | ||
from otbprovider.OtbProviderPlugin import OtbProviderPlugin | ||
return OtbProviderPlugin() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[general] | ||
name=OrfeoToolbox provider | ||
description=OrfeoToolbox Processing provider | ||
about=OrfeoToolbox Processing provider | ||
category=Analysis | ||
version=2.12.99 | ||
qgisMinimumVersion=3.0 | ||
|
||
author=Victor Olaya | ||
|
||
icon=:/images/themes/default/providerOtb.svg | ||
|
||
homepage=https://qgis.org | ||
tracker=https://github.com/qgis/QGIS/issues | ||
repository=https://github.com/qgis/QGIS | ||
|
||
hasProcessingProvider=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters