Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1e26e9b

Browse files
authoredMar 15, 2019
Update algfactory.py
I am wondering if RasterLayer is missing from the input parameters
1 parent 37faa0d commit 1e26e9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎python/processing/algfactory.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
QgsProcessingParameterMultipleLayers,
5454
QgsProcessingParameterPoint,
5555
QgsProcessingParameterRange,
56+
QgsProcessingParameterRasterLayer,
5657
QgsProcessingParameterVectorLayer,
5758
QgsProcessingParameterMeshLayer,
5859
QgsProcessingOutputString,
@@ -472,6 +473,7 @@ def dec(f):
472473
ProcessingAlgFactory.SOURCE: QgsProcessingParameterFeatureSource,
473474
ProcessingAlgFactory.FILE_DEST: QgsProcessingParameterFileDestination,
474475
ProcessingAlgFactory.FOLDER_DEST: QgsProcessingParameterFolderDestination,
476+
ProcessingAlgFactory.RASTER_LAYER: QgsProcessingParameterRasterLayer,
475477
ProcessingAlgFactory.RASTER_LAYER_DEST: QgsProcessingParameterRasterDestination,
476478
ProcessingAlgFactory.VECTOR_LAYER_DEST: QgsProcessingParameterVectorDestination,
477479
ProcessingAlgFactory.BAND: QgsProcessingParameterBand,

0 commit comments

Comments
 (0)
Please sign in to comment.