Turning a grid into individual shapefiles

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
4
down vote

favorite












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:



Example of a 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.










share|improve this question









New contributor




anamée is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    up vote
    4
    down vote

    favorite












    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:



    Example of a 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.










    share|improve this question









    New contributor




    anamée is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      4
      down vote

      favorite









      up vote
      4
      down vote

      favorite











      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:



      Example of a 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.










      share|improve this question









      New contributor




      anamée is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      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:



      Example of a 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.







      qgis shapefile vector-grid






      share|improve this question









      New contributor




      anamée is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      anamée is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited yesterday









      nmtoken

      7,55642762




      7,55642762






      New contributor




      anamée is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 days ago









      anamée

      233




      233




      New contributor




      anamée is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      anamée is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      anamée is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          9
          down vote



          accepted










          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



          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.



          enter image description here






          share|improve this answer




















          • All of this for this ! Thank you very much for your answer.
            – anamée
            2 days ago










          • You are welcome. Glad it worked :)
            – ahmadhanb
            2 days ago










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "79"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          anamée is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f295503%2fturning-a-grid-into-individual-shapefiles%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          9
          down vote



          accepted










          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



          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.



          enter image description here






          share|improve this answer




















          • All of this for this ! Thank you very much for your answer.
            – anamée
            2 days ago










          • You are welcome. Glad it worked :)
            – ahmadhanb
            2 days ago














          up vote
          9
          down vote



          accepted










          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



          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.



          enter image description here






          share|improve this answer




















          • All of this for this ! Thank you very much for your answer.
            – anamée
            2 days ago










          • You are welcome. Glad it worked :)
            – ahmadhanb
            2 days ago












          up vote
          9
          down vote



          accepted







          up vote
          9
          down vote



          accepted






          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



          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.



          enter image description here






          share|improve this answer












          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



          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.



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 2 days ago









          ahmadhanb

          18.8k21543




          18.8k21543











          • All of this for this ! Thank you very much for your answer.
            – anamée
            2 days ago










          • You are welcome. Glad it worked :)
            – ahmadhanb
            2 days ago
















          • All of this for this ! Thank you very much for your answer.
            – anamée
            2 days ago










          • You are welcome. Glad it worked :)
            – ahmadhanb
            2 days ago















          All of this for this ! Thank you very much for your answer.
          – anamée
          2 days ago




          All of this for this ! Thank you very much for your answer.
          – anamée
          2 days ago












          You are welcome. Glad it worked :)
          – ahmadhanb
          2 days ago




          You are welcome. Glad it worked :)
          – ahmadhanb
          2 days ago










          anamée is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          anamée is a new contributor. Be nice, and check out our Code of Conduct.












          anamée is a new contributor. Be nice, and check out our Code of Conduct.











          anamée is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f295503%2fturning-a-grid-into-individual-shapefiles%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          Long meetings (6-7 hours a day): Being “babysat” by supervisor

          Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

          Confectionery