I have a polygon shapefile that has several attributes.
I would like to know how can I create automatically a vector file for each one.
I already find split vector layer in QGIS (like picture):
but I want to use python.
I found a way through the web site at the following site, but this caused an error in QGIS.
>>> import processing >>> processing.runalg('qgis:splitvectorlayer') ERROR: Algorithm not found
So I need another way to split..
'Split vector layer-->qgis:splitvectorlayer'when you type
>>>processing.alglist()on the console?