Salve a tutti

vorrei che l'output del processing, che in questo caso รจ un layer raster
fosse salvato in memoria, in modo da poterlo aggiungere in una lista

    bandList = []

    parametersCalc = {
        "EXPRESSION": operation,
        "LAYERS": pathFileIn,
        "CELLSIZE": None,
        "EXTENT": None,
        "CRS": None,
        "OUTPUT": None}

    outRas = processing.run('qgis:rastercalculator', parametersCalc)

    rasterBand = processing.getObject(outRas["OUTPUT"])

    bandList.append(rasterBand)

purtroppo ottengo l'errore
"Valore del parametro non corretto per OUTPUT"

Grazie per l'aiuto
_______________________________________________
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user

Rispondere a