Commit 63aca790 authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

Changed inputs to QGIS script as Raster Layer

parent 0f2cc2f4
......@@ -178,11 +178,13 @@ class LandscapeStratificationMetric(QgsProcessingAlgorithm):
def processAlgorithm(self, parameters, context, feedback):
Smooth_TS = self.parameterAsString(
Smooth_TS_ly = self.parameterAsRasterLayer(
parameters,
self.INPUT,
context
)
Smooth_TS = Smooth_TS_ly.dataProvider().dataSourceUri()
datefile = self.parameterAsString(
parameters,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment