I've written a couple of custom scripts for vector shapefiles by following the template provided in QGIS. I am now trying to write a script which will use gdal algorithms to process layers. I have found a great guide here on how to adapt the template for raster layers. My question is if I use a gdal algorithm, how do I pass it to the output to be returned by the script?
For example, if I have rasterized = processing.run("gdal:rasterize", ...
in the calculations part, how do I then pass that to the output_path_raster_a = self.parameterAsOutputLayer...
-
Could you add a full minimal example?bugmenot123– bugmenot1232023年03月13日 18:19:49 +00:00Commented Mar 13, 2023 at 18:19