Creating polygon from hole in QGIS?












3















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

  • How to fill in a ring polygon in QGIS 2.2?


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
    Jan 15 at 11:53











  • for the whole layer

    – newGIS
    Jan 15 at 11:54






  • 1





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

    – Taras
    Jan 15 at 12:26
















3















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

  • How to fill in a ring polygon in QGIS 2.2?


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
    Jan 15 at 11:53











  • for the whole layer

    – newGIS
    Jan 15 at 11:54






  • 1





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

    – Taras
    Jan 15 at 12:26














3












3








3








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

  • How to fill in a ring polygon in QGIS 2.2?


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

  • How to fill in a ring polygon in QGIS 2.2?


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 Jan 15 at 22:54









PolyGeo

53.3k1779238




53.3k1779238










asked Jan 15 at 11:19









newGISnewGIS

1,83821246




1,83821246













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

    – Erik
    Jan 15 at 11:53











  • for the whole layer

    – newGIS
    Jan 15 at 11:54






  • 1





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

    – Taras
    Jan 15 at 12:26



















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

    – Erik
    Jan 15 at 11:53











  • for the whole layer

    – newGIS
    Jan 15 at 11:54






  • 1





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

    – Taras
    Jan 15 at 12:26

















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

– Erik
Jan 15 at 11:53





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

– Erik
Jan 15 at 11:53













for the whole layer

– newGIS
Jan 15 at 11:54





for the whole layer

– newGIS
Jan 15 at 11:54




1




1





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

– Taras
Jan 15 at 12:26





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

– Taras
Jan 15 at 12:26










2 Answers
2






active

oldest

votes


















5














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
      Jan 15 at 11:27











    • where the trace tool location?

      – newGIS
      Jan 15 at 13:31











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

      – Ian Turton
      Jan 15 at 13:32











    • your image is too small

      – newGIS
      Jan 15 at 13:35






    • 1





      it is a tool bar - so no not in plugins. Right click on a grey area and select it

      – Ian Turton
      Jan 15 at 15:30











    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%2fcreating-polygon-from-hole-in-qgis%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









    5














    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




























      5














      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


























        5












        5








        5







        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 Jan 15 at 12:21









        KazuhitoKazuhito

        14.6k31576




        14.6k31576

























            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
              Jan 15 at 11:27











            • where the trace tool location?

              – newGIS
              Jan 15 at 13:31











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

              – Ian Turton
              Jan 15 at 13:32











            • your image is too small

              – newGIS
              Jan 15 at 13:35






            • 1





              it is a tool bar - so no not in plugins. Right click on a grey area and select it

              – Ian Turton
              Jan 15 at 15:30
















            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
              Jan 15 at 11:27











            • where the trace tool location?

              – newGIS
              Jan 15 at 13:31











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

              – Ian Turton
              Jan 15 at 13:32











            • your image is too small

              – newGIS
              Jan 15 at 13:35






            • 1





              it is a tool bar - so no not in plugins. Right click on a grey area and select it

              – Ian Turton
              Jan 15 at 15:30














            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 Jan 15 at 11:25









            Ian TurtonIan Turton

            48.1k546111




            48.1k546111













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

              – newGIS
              Jan 15 at 11:27











            • where the trace tool location?

              – newGIS
              Jan 15 at 13:31











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

              – Ian Turton
              Jan 15 at 13:32











            • your image is too small

              – newGIS
              Jan 15 at 13:35






            • 1





              it is a tool bar - so no not in plugins. Right click on a grey area and select it

              – Ian Turton
              Jan 15 at 15:30



















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

              – newGIS
              Jan 15 at 11:27











            • where the trace tool location?

              – newGIS
              Jan 15 at 13:31











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

              – Ian Turton
              Jan 15 at 13:32











            • your image is too small

              – newGIS
              Jan 15 at 13:35






            • 1





              it is a tool bar - so no not in plugins. Right click on a grey area and select it

              – Ian Turton
              Jan 15 at 15:30

















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

            – newGIS
            Jan 15 at 11:27





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

            – newGIS
            Jan 15 at 11:27













            where the trace tool location?

            – newGIS
            Jan 15 at 13:31





            where the trace tool location?

            – newGIS
            Jan 15 at 13:31













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

            – Ian Turton
            Jan 15 at 13:32





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

            – Ian Turton
            Jan 15 at 13:32













            your image is too small

            – newGIS
            Jan 15 at 13:35





            your image is too small

            – newGIS
            Jan 15 at 13:35




            1




            1





            it is a tool bar - so no not in plugins. Right click on a grey area and select it

            – Ian Turton
            Jan 15 at 15:30





            it is a tool bar - so no not in plugins. Right click on a grey area and select it

            – Ian Turton
            Jan 15 at 15:30


















            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%2fcreating-polygon-from-hole-in-qgis%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

            An IMO inspired problem

            Management

            Investment