2

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...

strythe
  • 587
  • 3
  • 12

0 Answers0