Skip to content

Commit 1205fbf

Browse files
havatvnyalldawson
authored andcommitted
[processing] Add missing RasterLayer input parameter
1 parent 0f3f0dd commit 1205fbf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/processing/algfactory.py

+3
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,
@@ -425,6 +426,7 @@ def input(self, type, *args, **kwargs):
425426
alg.SOURCE: QgsProcessingParameterFeatureSource
426427
alg.FILE_DEST: QgsProcessingParameterFileDestination
427428
alg.FOLDER_DEST: QgsProcessingParameterFolderDestination
429+
alg.RASTER_LAYER: QgsProcessingParameterRasterLayer
428430
alg.RASTER_LAYER_DEST: QgsProcessingParameterRasterDestination
429431
alg.VECTOR_LAYER_DEST: QgsProcessingParameterVectorDestination
430432
alg.BAND: QgsProcessingParameterBand
@@ -472,6 +474,7 @@ def dec(f):
472474
ProcessingAlgFactory.SOURCE: QgsProcessingParameterFeatureSource,
473475
ProcessingAlgFactory.FILE_DEST: QgsProcessingParameterFileDestination,
474476
ProcessingAlgFactory.FOLDER_DEST: QgsProcessingParameterFolderDestination,
477+
ProcessingAlgFactory.RASTER_LAYER: QgsProcessingParameterRasterLayer,
475478
ProcessingAlgFactory.RASTER_LAYER_DEST: QgsProcessingParameterRasterDestination,
476479
ProcessingAlgFactory.VECTOR_LAYER_DEST: QgsProcessingParameterVectorDestination,
477480
ProcessingAlgFactory.BAND: QgsProcessingParameterBand,

0 commit comments

Comments
 (0)