Tuesday, 12 May 2015

qgis-processing: possible to specify variable number of output layers?


Qgis-processing advises that output layers are specified with syntax such as


##foo=output vector


The manual advises against manually loading output layers (in your script code) as QGIS will do this automatically based on the above code.


What if the number of output layers is not known until runtime? Is there a way to do this besides loading them manually and specifying ##nomodeler?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...