QGIS Selecting all features except one

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











up vote
2
down vote

favorite












Using QGIS 2.18. I have 346 polygons on a layer and I want to all but one.



In this instance I wish to run a query using field ONSCode but show all except 17UB.



I have been trying to use NOT but in the wrong context and get errors.



enter image description here










share|improve this question

























    up vote
    2
    down vote

    favorite












    Using QGIS 2.18. I have 346 polygons on a layer and I want to all but one.



    In this instance I wish to run a query using field ONSCode but show all except 17UB.



    I have been trying to use NOT but in the wrong context and get errors.



    enter image description here










    share|improve this question























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      Using QGIS 2.18. I have 346 polygons on a layer and I want to all but one.



      In this instance I wish to run a query using field ONSCode but show all except 17UB.



      I have been trying to use NOT but in the wrong context and get errors.



      enter image description here










      share|improve this question













      Using QGIS 2.18. I have 346 polygons on a layer and I want to all but one.



      In this instance I wish to run a query using field ONSCode but show all except 17UB.



      I have been trying to use NOT but in the wrong context and get errors.



      enter image description here







      qgis query






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 34 mins ago









      Paul G

      1014




      1014




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          3
          down vote













          How about "ONScode" != '17UB'



          != means "not equal to".






          share|improve this answer




















          • That works thanks you,
            – Paul G
            29 mins ago

















          up vote
          2
          down vote













          Easy way: Select '17UB' manually, then invert the selected features.



          By code: "ONScode" NOT LIKE '17UB'






          share|improve this answer




















            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: 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%2f301676%2fqgis-selecting-all-features-except-one%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            3
            down vote













            How about "ONScode" != '17UB'



            != means "not equal to".






            share|improve this answer




















            • That works thanks you,
              – Paul G
              29 mins ago














            up vote
            3
            down vote













            How about "ONScode" != '17UB'



            != means "not equal to".






            share|improve this answer




















            • That works thanks you,
              – Paul G
              29 mins ago












            up vote
            3
            down vote










            up vote
            3
            down vote









            How about "ONScode" != '17UB'



            != means "not equal to".






            share|improve this answer












            How about "ONScode" != '17UB'



            != means "not equal to".







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 31 mins ago









            Alex Hajnal

            28816




            28816











            • That works thanks you,
              – Paul G
              29 mins ago
















            • That works thanks you,
              – Paul G
              29 mins ago















            That works thanks you,
            – Paul G
            29 mins ago




            That works thanks you,
            – Paul G
            29 mins ago












            up vote
            2
            down vote













            Easy way: Select '17UB' manually, then invert the selected features.



            By code: "ONScode" NOT LIKE '17UB'






            share|improve this answer
























              up vote
              2
              down vote













              Easy way: Select '17UB' manually, then invert the selected features.



              By code: "ONScode" NOT LIKE '17UB'






              share|improve this answer






















                up vote
                2
                down vote










                up vote
                2
                down vote









                Easy way: Select '17UB' manually, then invert the selected features.



                By code: "ONScode" NOT LIKE '17UB'






                share|improve this answer












                Easy way: Select '17UB' manually, then invert the selected features.



                By code: "ONScode" NOT LIKE '17UB'







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 30 mins ago









                Erik

                2,20417




                2,20417



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f301676%2fqgis-selecting-all-features-except-one%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    What does second last employer means? [closed]

                    List of Gilmore Girls characters

                    Confectionery