QGIS can't detect negative values?How do I create a negative to positive value raster with neutral 0?QGIS...

Why didn't Snape ask Dumbledore why he let "Moody" search his office?

how do you value what your leisure time is worth?

Can a Creature at 0 HP Take Damage?

Postman Delivery

Was Wayne Brady considered a guest star on "Whose Line Is It Anyway?"

How to make "acts of patience" exciting?

Shuffling multiple iterators in order

Can you add a collaborator to a Glyph of Warding?

Is there such thing as plasma (from reentry) creating lift?

How to copy the path of current directory in ubuntu 18.04

How to find out which object is taking space?

Comparison of values in dictionary

How are steel imports supposed to threaten US national security?

How do lasers measure short distances (<1cm) when electronics are too slow for time-of-flight to work?

Getting priority after putting a spell on the stack

Meaning of A-infinity relations

Why does transition from one electron shell to another shell always produce massless photon?

How can I adjust the sequential numbering scheme when exporting Photos?

Can I use I2C over 2m cables?

How could "aggressor" pilots fly foreign aircraft without speaking the language?

In Men at Arms, why announce Edward was caught?

How to make a gift without seeming creepy?

Is having your hand in your pocket during a presentation bad?

What can I do to avoid potential charges for bribery?



QGIS can't detect negative values?


How do I create a negative to positive value raster with neutral 0?QGIS style polylines with alternate coloursCreating a symbology value for “all other values” in QGIS 3.0 - clarifying questionQGIS raster rule-based coloringForcing color ramps to center around zero in QGISQGIS 3 - Polygon symbology RGB based on different columns






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{
margin-bottom:0;
}








3















I'm working with the last version of QGIS (3.8.3-Zanzibar), and I'm trying to represent a Rule-Based Symbology from a CSV file with the following rules:



Figure 1



And the data from the prcptot column is this:



Figure 2



As you can see, all the prcptot values are negative (smaller than 0), but the output that QGIS is giving to me is the next:



Figure 3



All the red triangles should be inverted blue triangles... I think that QGIS is taking all the values as positive numbers, but I don't know why or what to do.










share|improve this question









New contributor



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




























    3















    I'm working with the last version of QGIS (3.8.3-Zanzibar), and I'm trying to represent a Rule-Based Symbology from a CSV file with the following rules:



    Figure 1



    And the data from the prcptot column is this:



    Figure 2



    As you can see, all the prcptot values are negative (smaller than 0), but the output that QGIS is giving to me is the next:



    Figure 3



    All the red triangles should be inverted blue triangles... I think that QGIS is taking all the values as positive numbers, but I don't know why or what to do.










    share|improve this question









    New contributor



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
























      3












      3








      3








      I'm working with the last version of QGIS (3.8.3-Zanzibar), and I'm trying to represent a Rule-Based Symbology from a CSV file with the following rules:



      Figure 1



      And the data from the prcptot column is this:



      Figure 2



      As you can see, all the prcptot values are negative (smaller than 0), but the output that QGIS is giving to me is the next:



      Figure 3



      All the red triangles should be inverted blue triangles... I think that QGIS is taking all the values as positive numbers, but I don't know why or what to do.










      share|improve this question









      New contributor



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











      I'm working with the last version of QGIS (3.8.3-Zanzibar), and I'm trying to represent a Rule-Based Symbology from a CSV file with the following rules:



      Figure 1



      And the data from the prcptot column is this:



      Figure 2



      As you can see, all the prcptot values are negative (smaller than 0), but the output that QGIS is giving to me is the next:



      Figure 3



      All the red triangles should be inverted blue triangles... I think that QGIS is taking all the values as positive numbers, but I don't know why or what to do.







      qgis qgis-3 symbology rule-based






      share|improve this question









      New contributor



      DobriDobrev 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



      DobriDobrev 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 9 hours ago









      MrXsquared

      3,8991 gold badge12 silver badges26 bronze badges




      3,8991 gold badge12 silver badges26 bronze badges






      New contributor



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








      asked 10 hours ago









      DobriDobrevDobriDobrev

      182 bronze badges




      182 bronze badges




      New contributor



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




      New contributor




      DobriDobrev 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


















          6
















          The rules seem not to be correct.
          The first rule of your example is:



          "prcptot" = "prcptot" > 0 AND "p.prcptot" <=0.09


          while I guess it should read:



          "prcptot" > 0 AND "p.prcptot" <=0.09


          Stating "prcptot" = "prcptot"is a tautology, i.e. it gets always evaluated as true.
          The fact that it is chained with a > 0 before the AND operator might confuse the parser, and that could be the reason why not all triangles are red.



          So the full rule set would be:



          "prcptot" > 0 AND "p.prcptot" <=0.09
          "prcptot" > 0 AND "p.prcptot" > 0.09
          "prcptot" < 0 AND "p.prcptot" <= 0.09
          "prcptot" < 0 AND "p.prcptot" > 0.09
          "prcptot" = 0 OR "p.prcptot" IS NULL





          share|improve this answer























          • 1





            I think the last one should be IS NULL

            – MrXsquared
            9 hours ago






          • 1





            Thank you both! It worked perfectly!

            – DobriDobrev
            9 hours ago











          • @MrXsquared thanks: edited

            – RafDouglas
            9 hours ago






          • 1





            @DobriDobrev feel free to accept this answer if it solved your question

            – MrXsquared
            9 hours 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/4.0/"u003ecc by-sa 4.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
          });


          }
          });







          DobriDobrev 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%2f337445%2fqgis-cant-detect-negative-values%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          6
















          The rules seem not to be correct.
          The first rule of your example is:



          "prcptot" = "prcptot" > 0 AND "p.prcptot" <=0.09


          while I guess it should read:



          "prcptot" > 0 AND "p.prcptot" <=0.09


          Stating "prcptot" = "prcptot"is a tautology, i.e. it gets always evaluated as true.
          The fact that it is chained with a > 0 before the AND operator might confuse the parser, and that could be the reason why not all triangles are red.



          So the full rule set would be:



          "prcptot" > 0 AND "p.prcptot" <=0.09
          "prcptot" > 0 AND "p.prcptot" > 0.09
          "prcptot" < 0 AND "p.prcptot" <= 0.09
          "prcptot" < 0 AND "p.prcptot" > 0.09
          "prcptot" = 0 OR "p.prcptot" IS NULL





          share|improve this answer























          • 1





            I think the last one should be IS NULL

            – MrXsquared
            9 hours ago






          • 1





            Thank you both! It worked perfectly!

            – DobriDobrev
            9 hours ago











          • @MrXsquared thanks: edited

            – RafDouglas
            9 hours ago






          • 1





            @DobriDobrev feel free to accept this answer if it solved your question

            – MrXsquared
            9 hours ago
















          6
















          The rules seem not to be correct.
          The first rule of your example is:



          "prcptot" = "prcptot" > 0 AND "p.prcptot" <=0.09


          while I guess it should read:



          "prcptot" > 0 AND "p.prcptot" <=0.09


          Stating "prcptot" = "prcptot"is a tautology, i.e. it gets always evaluated as true.
          The fact that it is chained with a > 0 before the AND operator might confuse the parser, and that could be the reason why not all triangles are red.



          So the full rule set would be:



          "prcptot" > 0 AND "p.prcptot" <=0.09
          "prcptot" > 0 AND "p.prcptot" > 0.09
          "prcptot" < 0 AND "p.prcptot" <= 0.09
          "prcptot" < 0 AND "p.prcptot" > 0.09
          "prcptot" = 0 OR "p.prcptot" IS NULL





          share|improve this answer























          • 1





            I think the last one should be IS NULL

            – MrXsquared
            9 hours ago






          • 1





            Thank you both! It worked perfectly!

            – DobriDobrev
            9 hours ago











          • @MrXsquared thanks: edited

            – RafDouglas
            9 hours ago






          • 1





            @DobriDobrev feel free to accept this answer if it solved your question

            – MrXsquared
            9 hours ago














          6














          6










          6









          The rules seem not to be correct.
          The first rule of your example is:



          "prcptot" = "prcptot" > 0 AND "p.prcptot" <=0.09


          while I guess it should read:



          "prcptot" > 0 AND "p.prcptot" <=0.09


          Stating "prcptot" = "prcptot"is a tautology, i.e. it gets always evaluated as true.
          The fact that it is chained with a > 0 before the AND operator might confuse the parser, and that could be the reason why not all triangles are red.



          So the full rule set would be:



          "prcptot" > 0 AND "p.prcptot" <=0.09
          "prcptot" > 0 AND "p.prcptot" > 0.09
          "prcptot" < 0 AND "p.prcptot" <= 0.09
          "prcptot" < 0 AND "p.prcptot" > 0.09
          "prcptot" = 0 OR "p.prcptot" IS NULL





          share|improve this answer















          The rules seem not to be correct.
          The first rule of your example is:



          "prcptot" = "prcptot" > 0 AND "p.prcptot" <=0.09


          while I guess it should read:



          "prcptot" > 0 AND "p.prcptot" <=0.09


          Stating "prcptot" = "prcptot"is a tautology, i.e. it gets always evaluated as true.
          The fact that it is chained with a > 0 before the AND operator might confuse the parser, and that could be the reason why not all triangles are red.



          So the full rule set would be:



          "prcptot" > 0 AND "p.prcptot" <=0.09
          "prcptot" > 0 AND "p.prcptot" > 0.09
          "prcptot" < 0 AND "p.prcptot" <= 0.09
          "prcptot" < 0 AND "p.prcptot" > 0.09
          "prcptot" = 0 OR "p.prcptot" IS NULL






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 9 hours ago

























          answered 9 hours ago









          RafDouglasRafDouglas

          1,6881 silver badge17 bronze badges




          1,6881 silver badge17 bronze badges











          • 1





            I think the last one should be IS NULL

            – MrXsquared
            9 hours ago






          • 1





            Thank you both! It worked perfectly!

            – DobriDobrev
            9 hours ago











          • @MrXsquared thanks: edited

            – RafDouglas
            9 hours ago






          • 1





            @DobriDobrev feel free to accept this answer if it solved your question

            – MrXsquared
            9 hours ago














          • 1





            I think the last one should be IS NULL

            – MrXsquared
            9 hours ago






          • 1





            Thank you both! It worked perfectly!

            – DobriDobrev
            9 hours ago











          • @MrXsquared thanks: edited

            – RafDouglas
            9 hours ago






          • 1





            @DobriDobrev feel free to accept this answer if it solved your question

            – MrXsquared
            9 hours ago








          1




          1





          I think the last one should be IS NULL

          – MrXsquared
          9 hours ago





          I think the last one should be IS NULL

          – MrXsquared
          9 hours ago




          1




          1





          Thank you both! It worked perfectly!

          – DobriDobrev
          9 hours ago





          Thank you both! It worked perfectly!

          – DobriDobrev
          9 hours ago













          @MrXsquared thanks: edited

          – RafDouglas
          9 hours ago





          @MrXsquared thanks: edited

          – RafDouglas
          9 hours ago




          1




          1





          @DobriDobrev feel free to accept this answer if it solved your question

          – MrXsquared
          9 hours ago





          @DobriDobrev feel free to accept this answer if it solved your question

          – MrXsquared
          9 hours ago











          DobriDobrev is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded

















          DobriDobrev is a new contributor. Be nice, and check out our Code of Conduct.













          DobriDobrev is a new contributor. Be nice, and check out our Code of Conduct.












          DobriDobrev is a new contributor. Be nice, and check out our Code of Conduct.
















          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%2f337445%2fqgis-cant-detect-negative-values%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

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...