Skip to content
Permalink
Browse files

Extend documentation

  • Loading branch information
elpaso committed Nov 29, 2018
1 parent 18854dc commit 80c12b590ad554375f1d5daa2926f41af4e02b31
@@ -25,9 +25,15 @@ Represents an individual raster layer/band number entry within a raster calculat

static QList<QgsRasterCalculatorEntry> rasterEntries();
%Docstring
Creates a list of raster entries from the current project
Creates a list of raster entries from the current project.

If there are more than one layers with the same data source
only one of them is added to the list, duplicate names are
also handled by appending an _n integer to the base name.

:return: the list of raster entries form the current project

.. versionadded:: 3.6
%End

QString ref;
@@ -41,8 +41,14 @@ class ANALYSIS_EXPORT QgsRasterCalculatorEntry
public:

/**
* Creates a list of raster entries from the current project
* Creates a list of raster entries from the current project.
*
* If there are more than one layers with the same data source
* only one of them is added to the list, duplicate names are
* also handled by appending an _n integer to the base name.
*
* \return the list of raster entries form the current project
* \since QGIS 3.6
*/
static QList<QgsRasterCalculatorEntry> rasterEntries();

0 comments on commit 80c12b5

Please sign in to comment.
You can’t perform that action at this time.