2012-10-05 23:28:47 +02:00
|
|
|
"""
|
|
|
|
***************************************************************************
|
|
|
|
__init__.py
|
|
|
|
---------------------
|
|
|
|
Date : August 2012
|
|
|
|
Copyright : (C) 2012 by Victor Olaya
|
|
|
|
Email : volayaf 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__ = 'Victor Olaya'
|
|
|
|
__date__ = 'August 2012'
|
|
|
|
__copyright__ = '(C) 2012, Victor Olaya'
|
2013-10-01 20:52:22 +03:00
|
|
|
|
2020-05-11 08:10:20 +10:00
|
|
|
from processing.tools.dataobjects import * # NOQA
|
2020-05-06 11:35:02 +02:00
|
|
|
from processing.tools.dataobjects import createContext
|
2020-05-11 08:10:20 +10:00
|
|
|
from processing.tools.general import * # NOQA
|
2020-05-05 23:36:06 +02:00
|
|
|
from processing.tools.general import (
|
|
|
|
algorithmHelp,
|
|
|
|
run,
|
|
|
|
runAndLoadResults,
|
|
|
|
createAlgorithmDialog,
|
2020-05-06 11:35:02 +02:00
|
|
|
execAlgorithmDialog
|
2020-05-05 23:36:06 +02:00
|
|
|
)
|
2020-05-11 08:10:20 +10:00
|
|
|
from processing.tools.vector import * # NOQA
|
|
|
|
from processing.tools.raster import * # NOQA
|
|
|
|
from processing.tools.system import * # NOQA
|
2015-02-07 11:09:20 +01:00
|
|
|
|
2019-03-27 09:04:51 +10:00
|
|
|
# monkey patch Python specific Processing API into stable qgis.processing module
|
|
|
|
import qgis.processing
|
2020-05-11 08:10:20 +10:00
|
|
|
|
2019-03-27 09:04:51 +10:00
|
|
|
qgis.processing.algorithmHelp = algorithmHelp
|
|
|
|
qgis.processing.run = run
|
|
|
|
qgis.processing.runAndLoadResults = runAndLoadResults
|
|
|
|
qgis.processing.createAlgorithmDialog = createAlgorithmDialog
|
|
|
|
qgis.processing.execAlgorithmDialog = execAlgorithmDialog
|
|
|
|
qgis.processing.createContext = createContext
|
|
|
|
|
2015-02-07 11:09:20 +01:00
|
|
|
|
2012-09-15 18:25:25 +03:00
|
|
|
def classFactory(iface):
|
2013-08-12 20:44:27 +02:00
|
|
|
from processing.ProcessingPlugin import ProcessingPlugin
|
|
|
|
return ProcessingPlugin(iface)
|