How to create a polygon from hole in QGIS 2.18.1?












2















I work with this polygon and try to find a way to create a new polygon from the empty gap in the middle of the polygon.



I succeed to do it with a "difference" tool- but used with another layer on the polygon and then using the difference tool.



I can also digitize the shape of the hole and create a new layer- i seeking an automated way to do it and not doing in manually.



I read




  • "Clip" hole into Shapefile

  • Create Polygon from holes in polygon ArcGIS


Is it possible to do it with a direct tool in QGIS 2.18.1, without aid of another layer?



enter image description here










share|improve this question

























  • Manually for this one hole? Or for a whole layer with holes?

    – Erik
    2 hours ago











  • for the whole layer

    – newGIS
    2 hours ago











  • Possible duplicate of How to fill in a ring polygon in QGIS 2.2?

    – Taras
    1 hour ago
















2















I work with this polygon and try to find a way to create a new polygon from the empty gap in the middle of the polygon.



I succeed to do it with a "difference" tool- but used with another layer on the polygon and then using the difference tool.



I can also digitize the shape of the hole and create a new layer- i seeking an automated way to do it and not doing in manually.



I read




  • "Clip" hole into Shapefile

  • Create Polygon from holes in polygon ArcGIS


Is it possible to do it with a direct tool in QGIS 2.18.1, without aid of another layer?



enter image description here










share|improve this question

























  • Manually for this one hole? Or for a whole layer with holes?

    – Erik
    2 hours ago











  • for the whole layer

    – newGIS
    2 hours ago











  • Possible duplicate of How to fill in a ring polygon in QGIS 2.2?

    – Taras
    1 hour ago














2












2








2








I work with this polygon and try to find a way to create a new polygon from the empty gap in the middle of the polygon.



I succeed to do it with a "difference" tool- but used with another layer on the polygon and then using the difference tool.



I can also digitize the shape of the hole and create a new layer- i seeking an automated way to do it and not doing in manually.



I read




  • "Clip" hole into Shapefile

  • Create Polygon from holes in polygon ArcGIS


Is it possible to do it with a direct tool in QGIS 2.18.1, without aid of another layer?



enter image description here










share|improve this question
















I work with this polygon and try to find a way to create a new polygon from the empty gap in the middle of the polygon.



I succeed to do it with a "difference" tool- but used with another layer on the polygon and then using the difference tool.



I can also digitize the shape of the hole and create a new layer- i seeking an automated way to do it and not doing in manually.



I read




  • "Clip" hole into Shapefile

  • Create Polygon from holes in polygon ArcGIS


Is it possible to do it with a direct tool in QGIS 2.18.1, without aid of another layer?



enter image description here







polygon qgis-2.18 create holes






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago







newGIS

















asked 3 hours ago









newGISnewGIS

1,83321246




1,83321246













  • Manually for this one hole? Or for a whole layer with holes?

    – Erik
    2 hours ago











  • for the whole layer

    – newGIS
    2 hours ago











  • Possible duplicate of How to fill in a ring polygon in QGIS 2.2?

    – Taras
    1 hour ago



















  • Manually for this one hole? Or for a whole layer with holes?

    – Erik
    2 hours ago











  • for the whole layer

    – newGIS
    2 hours ago











  • Possible duplicate of How to fill in a ring polygon in QGIS 2.2?

    – Taras
    1 hour ago

















Manually for this one hole? Or for a whole layer with holes?

– Erik
2 hours ago





Manually for this one hole? Or for a whole layer with holes?

– Erik
2 hours ago













for the whole layer

– newGIS
2 hours ago





for the whole layer

– newGIS
2 hours ago













Possible duplicate of How to fill in a ring polygon in QGIS 2.2?

– Taras
1 hour ago





Possible duplicate of How to fill in a ring polygon in QGIS 2.2?

– Taras
1 hour ago










2 Answers
2






active

oldest

votes


















2














I recommend Digitizing Tools plugin.



enter image description here



Once installed, you will find a new toolbar. The eighth from the left of this toolbar, there is an icon called Fill ring with a new feature (interactive).



For you to fill all rings at once;




  1. Switch to Fill all rings in selected polygons with new feature mode by clicking on a small triangle (right-hand-side).

  2. Start editing mode and select polygons you want to work on (you can select all polygons).

  3. Click on the tool icon.

  4. A small dialog box will appear and asks you to give a new attribute value. This value will be given all fillings, so that it helps you to identify these new features in the attribute table. Hit [OK] to close.






share|improve this answer































    1














    You can use the trace tool (on the Snapping Toolbar) and simply trace around the hole in the polygon while creating a new feature in a new layer (or your existing layer).



    enter image description here






    share|improve this answer
























    • i don't want to digitize by manual- i search for automatic action.

      – newGIS
      2 hours ago











    • where the trace tool location?

      – newGIS
      52 mins ago











    • on the Snapping toolbar - look at the one I have ringed in red

      – Ian Turton
      50 mins ago











    • your image is too small

      – newGIS
      47 mins ago











    • if you click on it it will get bigger

      – Ian Turton
      42 mins 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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f308659%2fhow-to-create-a-polygon-from-hole-in-qgis-2-18-1%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    I recommend Digitizing Tools plugin.



    enter image description here



    Once installed, you will find a new toolbar. The eighth from the left of this toolbar, there is an icon called Fill ring with a new feature (interactive).



    For you to fill all rings at once;




    1. Switch to Fill all rings in selected polygons with new feature mode by clicking on a small triangle (right-hand-side).

    2. Start editing mode and select polygons you want to work on (you can select all polygons).

    3. Click on the tool icon.

    4. A small dialog box will appear and asks you to give a new attribute value. This value will be given all fillings, so that it helps you to identify these new features in the attribute table. Hit [OK] to close.






    share|improve this answer




























      2














      I recommend Digitizing Tools plugin.



      enter image description here



      Once installed, you will find a new toolbar. The eighth from the left of this toolbar, there is an icon called Fill ring with a new feature (interactive).



      For you to fill all rings at once;




      1. Switch to Fill all rings in selected polygons with new feature mode by clicking on a small triangle (right-hand-side).

      2. Start editing mode and select polygons you want to work on (you can select all polygons).

      3. Click on the tool icon.

      4. A small dialog box will appear and asks you to give a new attribute value. This value will be given all fillings, so that it helps you to identify these new features in the attribute table. Hit [OK] to close.






      share|improve this answer


























        2












        2








        2







        I recommend Digitizing Tools plugin.



        enter image description here



        Once installed, you will find a new toolbar. The eighth from the left of this toolbar, there is an icon called Fill ring with a new feature (interactive).



        For you to fill all rings at once;




        1. Switch to Fill all rings in selected polygons with new feature mode by clicking on a small triangle (right-hand-side).

        2. Start editing mode and select polygons you want to work on (you can select all polygons).

        3. Click on the tool icon.

        4. A small dialog box will appear and asks you to give a new attribute value. This value will be given all fillings, so that it helps you to identify these new features in the attribute table. Hit [OK] to close.






        share|improve this answer













        I recommend Digitizing Tools plugin.



        enter image description here



        Once installed, you will find a new toolbar. The eighth from the left of this toolbar, there is an icon called Fill ring with a new feature (interactive).



        For you to fill all rings at once;




        1. Switch to Fill all rings in selected polygons with new feature mode by clicking on a small triangle (right-hand-side).

        2. Start editing mode and select polygons you want to work on (you can select all polygons).

        3. Click on the tool icon.

        4. A small dialog box will appear and asks you to give a new attribute value. This value will be given all fillings, so that it helps you to identify these new features in the attribute table. Hit [OK] to close.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 hours ago









        KazuhitoKazuhito

        14.5k31576




        14.5k31576

























            1














            You can use the trace tool (on the Snapping Toolbar) and simply trace around the hole in the polygon while creating a new feature in a new layer (or your existing layer).



            enter image description here






            share|improve this answer
























            • i don't want to digitize by manual- i search for automatic action.

              – newGIS
              2 hours ago











            • where the trace tool location?

              – newGIS
              52 mins ago











            • on the Snapping toolbar - look at the one I have ringed in red

              – Ian Turton
              50 mins ago











            • your image is too small

              – newGIS
              47 mins ago











            • if you click on it it will get bigger

              – Ian Turton
              42 mins ago
















            1














            You can use the trace tool (on the Snapping Toolbar) and simply trace around the hole in the polygon while creating a new feature in a new layer (or your existing layer).



            enter image description here






            share|improve this answer
























            • i don't want to digitize by manual- i search for automatic action.

              – newGIS
              2 hours ago











            • where the trace tool location?

              – newGIS
              52 mins ago











            • on the Snapping toolbar - look at the one I have ringed in red

              – Ian Turton
              50 mins ago











            • your image is too small

              – newGIS
              47 mins ago











            • if you click on it it will get bigger

              – Ian Turton
              42 mins ago














            1












            1








            1







            You can use the trace tool (on the Snapping Toolbar) and simply trace around the hole in the polygon while creating a new feature in a new layer (or your existing layer).



            enter image description here






            share|improve this answer













            You can use the trace tool (on the Snapping Toolbar) and simply trace around the hole in the polygon while creating a new feature in a new layer (or your existing layer).



            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 2 hours ago









            Ian TurtonIan Turton

            48k546111




            48k546111













            • i don't want to digitize by manual- i search for automatic action.

              – newGIS
              2 hours ago











            • where the trace tool location?

              – newGIS
              52 mins ago











            • on the Snapping toolbar - look at the one I have ringed in red

              – Ian Turton
              50 mins ago











            • your image is too small

              – newGIS
              47 mins ago











            • if you click on it it will get bigger

              – Ian Turton
              42 mins ago



















            • i don't want to digitize by manual- i search for automatic action.

              – newGIS
              2 hours ago











            • where the trace tool location?

              – newGIS
              52 mins ago











            • on the Snapping toolbar - look at the one I have ringed in red

              – Ian Turton
              50 mins ago











            • your image is too small

              – newGIS
              47 mins ago











            • if you click on it it will get bigger

              – Ian Turton
              42 mins ago

















            i don't want to digitize by manual- i search for automatic action.

            – newGIS
            2 hours ago





            i don't want to digitize by manual- i search for automatic action.

            – newGIS
            2 hours ago













            where the trace tool location?

            – newGIS
            52 mins ago





            where the trace tool location?

            – newGIS
            52 mins ago













            on the Snapping toolbar - look at the one I have ringed in red

            – Ian Turton
            50 mins ago





            on the Snapping toolbar - look at the one I have ringed in red

            – Ian Turton
            50 mins ago













            your image is too small

            – newGIS
            47 mins ago





            your image is too small

            – newGIS
            47 mins ago













            if you click on it it will get bigger

            – Ian Turton
            42 mins ago





            if you click on it it will get bigger

            – Ian Turton
            42 mins ago


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f308659%2fhow-to-create-a-polygon-from-hole-in-qgis-2-18-1%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Polycentropodidae

            Magento 2 Error message: Invalid state change requested

            Paulmy