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;
}
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:
And the data from the prcptot column is this:
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:
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
New contributor
add a comment
|
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:
And the data from the prcptot column is this:
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:
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
New contributor
add a comment
|
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:
And the data from the prcptot column is this:
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:
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
New contributor
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:
And the data from the prcptot column is this:
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:
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
qgis qgis-3 symbology rule-based
New contributor
New contributor
edited 9 hours ago
MrXsquared
3,8991 gold badge12 silver badges26 bronze badges
3,8991 gold badge12 silver badges26 bronze badges
New contributor
asked 10 hours ago
DobriDobrevDobriDobrev
182 bronze badges
182 bronze badges
New contributor
New contributor
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
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
1
I think the last one should beIS 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
add a comment
|
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
1
I think the last one should beIS 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
add a comment
|
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
1
I think the last one should beIS 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
add a comment
|
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
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
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 beIS 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
add a comment
|
1
I think the last one should beIS 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
add a comment
|
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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