enmapbox package


enmapbox.algorithmprovider module

enmapbox.dependencycheck module

enmapbox.enmapboxplugin module

Date : August 2017 Copyright : (C) 2017 by Benjamin Jakimow Email : benjamin.jakimow@geo.hu-berlin.de
  • 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. *

class enmapbox.enmapboxplugin.EnMAPBoxPlugin(iface)[source]

Bases: object


Runs a check for availability of package dependencies and give an readible error message :return: :return:


enmapbox.resources module

enmapbox.testing module

Module contents

begin : Jan 2016 copyright : (C) 2016 by Benjamin Jakimow email : benjamin.jakimow@geo.hu-berlin.de

the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software. If not, see <http://www.gnu.org/licenses/>.

class enmapbox.Qgis[source]

Bases: object

Collection of some static methodes to programmatically interact with QGIS inside the QGIS console.

classmethod activeBand(index)[source]
classmethod activeData(index=None)[source]
classmethod activeDataset()[source]
classmethod activeRaster()[source]
classmethod activeVector()[source]
enmapbox.collectEnMAPBoxAlgorithms() → List[<Mock name='mock.QgsProcessingAlgorithm' id='140153656789256'>][source]

Safely collects all QgsProcessingalgorithms from enmapboxgeoalgorithms.algorithms Missing dependencies or import errors will not stop the EnMAP-Box from being loaded :return: [QgsProcessingAlgorithms] :rtype: list

enmapbox.debugLog(msg: str)[source]
enmapbox.enmapboxSettings() → <Mock name='mock.QSettings' id='140153503128208'>[source]

Returns the QSettings object for EnMAP-Box Settings :return: QSettings

enmapbox.icon() → <Mock name='mock.QIcon' id='140153656789424'>[source]

Returns the EnMAP icon. (Requires that the EnMAP resources have been loaded before) :return: QIcon


Calls other init routines required to run the EnMAP-Box properly


Initialises QgsEditorWidgets


Initializes the EnMAPBoxProcessingProvider


Loads (or reloads) all Qt resource files

enmapbox.messageLog(msg, level=<Mock name='mock.Qgis.Info' id='140153493626776'>)[source]

Writes a log message to the QGIS EnMAP-Box Log :param msg: log message string :param level: Qgis.MessageLevel=[Qgis.Info|Qgis.Warning|Qgis.Critical|Qgis.Success|Qgis.NONE]


Removes the EnMAPBoxProcessingProvider


Call to start the EnMAP-Box :return:

enmapbox.scantree(path, ending: str = '') → pathlib.Path[source]

Recursively returns file paths in directory

enmapbox.tr(text: str) → str[source]

to be implemented: string translation :param text: :return: str