File tree 2 files changed +14
-2
lines changed
python/analysis/auto_generated/raster
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,15 @@ Represents an individual raster layer/band number entry within a raster calculat
25
25
26
26
static QList<QgsRasterCalculatorEntry> rasterEntries();
27
27
%Docstring
28
- Creates a list of raster entries from the current project
28
+ Creates a list of raster entries from the current project.
29
+
30
+ If there are more than one layers with the same data source
31
+ only one of them is added to the list, duplicate names are
32
+ also handled by appending an _n integer to the base name.
29
33
30
34
:return: the list of raster entries form the current project
35
+
36
+ .. versionadded:: 3.6
31
37
%End
32
38
33
39
QString ref;
Original file line number Diff line number Diff line change @@ -41,8 +41,14 @@ class ANALYSIS_EXPORT QgsRasterCalculatorEntry
41
41
public:
42
42
43
43
/* *
44
- * Creates a list of raster entries from the current project
44
+ * Creates a list of raster entries from the current project.
45
+ *
46
+ * If there are more than one layers with the same data source
47
+ * only one of them is added to the list, duplicate names are
48
+ * also handled by appending an _n integer to the base name.
49
+ *
45
50
* \return the list of raster entries form the current project
51
+ * \since QGIS 3.6
46
52
*/
47
53
static QList<QgsRasterCalculatorEntry> rasterEntries ();
48
54
You can’t perform that action at this time.
0 commit comments