I would like the user to select a folder via the interface in which all the vector shapefiles inside that folder would be merged.
I have been using the Model Builder and looking at example scripts and tried to incorporate simple commands into my own script. The following code is incorrect but any guidance would be appreciative:
##Test=name ##input=folder ##merge=output vector outputs_0=processing.runalg("qgis:mergevectorlayers", input, None)
I have looked at Merge scripts from the Processing and SAGA plugins, but I was wondering if it's possible to do something similar in just one or two lines of code?