Turning vector grid into individual shapefiles using QGIS?
Turning vector grid into individual shapefiles using QGIS?
I am using QGIS and I created a vector grid on a crop field in order to cut it into plots. I want to save each grid cell into individual polygon shapefiles automatically.
Here is an example of a vector grid I would like to split into 117 shapefiles:
Eventually, I did it manually with the selection tool and "Save as" but it is really time-consuming when there are more than 100 plots to save.
Is there any way to do it faster and more automatically?
Each plot as an attribute named "Plot" that can discriminate against them (basically being id + 1). It's the attribute used here to label them.
1 Answer
1
You need to use Split Vector Layer
from processing toolbox. You can find the tool from Processing toolbox -> QGIS geoalgorithms -> Vector general tools -> Split Vector Layer
Split Vector Layer
Processing toolbox -> QGIS geoalgorithms -> Vector general tools -> Split Vector Layer
Select the input shapefile and use a unique ID field to save each grid block into separate file. You need to specify the output folder to save all the polygons in it.
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.