QGIS Gratuated Symbology gives differents results on every classification with Natural Breaks (Jenks)

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












5















When styling a polygon layer using the Graduated styling and the Natural Breaks (Jenks) mode, QGIS is classifying the data with different values.



So every time I click on "Classify" the values are different.



Why?



EDIT 1:



Using QGIS 3.4.4 on Windows 10










share|improve this question
























  • I can't reproduce this on Ubuntu 18.04, 3.4.4-Madeira - can you add operating system and qgis version

    – Ian Turton
    Feb 11 at 16:54











  • See Edit 1 for the info

    – Gob Tron
    Feb 11 at 16:57











  • Using the same dataset, ArcMap complained that the number of features was too big and that I could increase the sample size if I want to. So maybe QGIS is taking a different sample of the data everytime I click on "Classify"?

    – Gob Tron
    Feb 11 at 17:02












  • I can reproduce with QGIS 2.18 if there are "many" features. In my test, it occurred when more than 3001 features were to be classified in 5 classes.

    – JGH
    Feb 11 at 17:03












  • Testing with 21426 polygon I got the same behavior (different value after each classification), the number of classes didn't matter. QGIS 3.4.1 on window 7

    – J.R
    Feb 11 at 17:11















5















When styling a polygon layer using the Graduated styling and the Natural Breaks (Jenks) mode, QGIS is classifying the data with different values.



So every time I click on "Classify" the values are different.



Why?



EDIT 1:



Using QGIS 3.4.4 on Windows 10










share|improve this question
























  • I can't reproduce this on Ubuntu 18.04, 3.4.4-Madeira - can you add operating system and qgis version

    – Ian Turton
    Feb 11 at 16:54











  • See Edit 1 for the info

    – Gob Tron
    Feb 11 at 16:57











  • Using the same dataset, ArcMap complained that the number of features was too big and that I could increase the sample size if I want to. So maybe QGIS is taking a different sample of the data everytime I click on "Classify"?

    – Gob Tron
    Feb 11 at 17:02












  • I can reproduce with QGIS 2.18 if there are "many" features. In my test, it occurred when more than 3001 features were to be classified in 5 classes.

    – JGH
    Feb 11 at 17:03












  • Testing with 21426 polygon I got the same behavior (different value after each classification), the number of classes didn't matter. QGIS 3.4.1 on window 7

    – J.R
    Feb 11 at 17:11













5












5








5








When styling a polygon layer using the Graduated styling and the Natural Breaks (Jenks) mode, QGIS is classifying the data with different values.



So every time I click on "Classify" the values are different.



Why?



EDIT 1:



Using QGIS 3.4.4 on Windows 10










share|improve this question
















When styling a polygon layer using the Graduated styling and the Natural Breaks (Jenks) mode, QGIS is classifying the data with different values.



So every time I click on "Classify" the values are different.



Why?



EDIT 1:



Using QGIS 3.4.4 on Windows 10







qgis symbology classification






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 11 at 16:56







Gob Tron

















asked Feb 11 at 16:50









Gob TronGob Tron

989313




989313












  • I can't reproduce this on Ubuntu 18.04, 3.4.4-Madeira - can you add operating system and qgis version

    – Ian Turton
    Feb 11 at 16:54











  • See Edit 1 for the info

    – Gob Tron
    Feb 11 at 16:57











  • Using the same dataset, ArcMap complained that the number of features was too big and that I could increase the sample size if I want to. So maybe QGIS is taking a different sample of the data everytime I click on "Classify"?

    – Gob Tron
    Feb 11 at 17:02












  • I can reproduce with QGIS 2.18 if there are "many" features. In my test, it occurred when more than 3001 features were to be classified in 5 classes.

    – JGH
    Feb 11 at 17:03












  • Testing with 21426 polygon I got the same behavior (different value after each classification), the number of classes didn't matter. QGIS 3.4.1 on window 7

    – J.R
    Feb 11 at 17:11

















  • I can't reproduce this on Ubuntu 18.04, 3.4.4-Madeira - can you add operating system and qgis version

    – Ian Turton
    Feb 11 at 16:54











  • See Edit 1 for the info

    – Gob Tron
    Feb 11 at 16:57











  • Using the same dataset, ArcMap complained that the number of features was too big and that I could increase the sample size if I want to. So maybe QGIS is taking a different sample of the data everytime I click on "Classify"?

    – Gob Tron
    Feb 11 at 17:02












  • I can reproduce with QGIS 2.18 if there are "many" features. In my test, it occurred when more than 3001 features were to be classified in 5 classes.

    – JGH
    Feb 11 at 17:03












  • Testing with 21426 polygon I got the same behavior (different value after each classification), the number of classes didn't matter. QGIS 3.4.1 on window 7

    – J.R
    Feb 11 at 17:11
















I can't reproduce this on Ubuntu 18.04, 3.4.4-Madeira - can you add operating system and qgis version

– Ian Turton
Feb 11 at 16:54





I can't reproduce this on Ubuntu 18.04, 3.4.4-Madeira - can you add operating system and qgis version

– Ian Turton
Feb 11 at 16:54













See Edit 1 for the info

– Gob Tron
Feb 11 at 16:57





See Edit 1 for the info

– Gob Tron
Feb 11 at 16:57













Using the same dataset, ArcMap complained that the number of features was too big and that I could increase the sample size if I want to. So maybe QGIS is taking a different sample of the data everytime I click on "Classify"?

– Gob Tron
Feb 11 at 17:02






Using the same dataset, ArcMap complained that the number of features was too big and that I could increase the sample size if I want to. So maybe QGIS is taking a different sample of the data everytime I click on "Classify"?

– Gob Tron
Feb 11 at 17:02














I can reproduce with QGIS 2.18 if there are "many" features. In my test, it occurred when more than 3001 features were to be classified in 5 classes.

– JGH
Feb 11 at 17:03






I can reproduce with QGIS 2.18 if there are "many" features. In my test, it occurred when more than 3001 features were to be classified in 5 classes.

– JGH
Feb 11 at 17:03














Testing with 21426 polygon I got the same behavior (different value after each classification), the number of classes didn't matter. QGIS 3.4.1 on window 7

– J.R
Feb 11 at 17:11





Testing with 21426 polygon I got the same behavior (different value after each classification), the number of classes didn't matter. QGIS 3.4.1 on window 7

– J.R
Feb 11 at 17:11










1 Answer
1






active

oldest

votes


















9














Looking at the code, QGIS will take the exact values if there are up to 3000 features.
Otherwise, it will take the largest between 3000 random features or a random 10% of the data.






share|improve this answer

























  • And if you have for example 4000 features, does QGIS uses 10% of 4000 features (so 400) or it uses up to 3000 features?

    – Gob Tron
    Feb 11 at 17:17






  • 1





    it will take the largest between 3000 features or a random 10% of the data

    – J.R
    Feb 11 at 17:19











  • Ah! I read it wrong the first time.

    – Gob Tron
    Feb 11 at 17:20











  • @GobTron I have clarified it. It will take 3000 random features

    – JGH
    Feb 11 at 17:25










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%2f311785%2fqgis-gratuated-symbology-gives-differents-results-on-every-classification-with-n%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









9














Looking at the code, QGIS will take the exact values if there are up to 3000 features.
Otherwise, it will take the largest between 3000 random features or a random 10% of the data.






share|improve this answer

























  • And if you have for example 4000 features, does QGIS uses 10% of 4000 features (so 400) or it uses up to 3000 features?

    – Gob Tron
    Feb 11 at 17:17






  • 1





    it will take the largest between 3000 features or a random 10% of the data

    – J.R
    Feb 11 at 17:19











  • Ah! I read it wrong the first time.

    – Gob Tron
    Feb 11 at 17:20











  • @GobTron I have clarified it. It will take 3000 random features

    – JGH
    Feb 11 at 17:25















9














Looking at the code, QGIS will take the exact values if there are up to 3000 features.
Otherwise, it will take the largest between 3000 random features or a random 10% of the data.






share|improve this answer

























  • And if you have for example 4000 features, does QGIS uses 10% of 4000 features (so 400) or it uses up to 3000 features?

    – Gob Tron
    Feb 11 at 17:17






  • 1





    it will take the largest between 3000 features or a random 10% of the data

    – J.R
    Feb 11 at 17:19











  • Ah! I read it wrong the first time.

    – Gob Tron
    Feb 11 at 17:20











  • @GobTron I have clarified it. It will take 3000 random features

    – JGH
    Feb 11 at 17:25













9












9








9







Looking at the code, QGIS will take the exact values if there are up to 3000 features.
Otherwise, it will take the largest between 3000 random features or a random 10% of the data.






share|improve this answer















Looking at the code, QGIS will take the exact values if there are up to 3000 features.
Otherwise, it will take the largest between 3000 random features or a random 10% of the data.







share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 11 at 17:24

























answered Feb 11 at 17:12









JGHJGH

12.9k21139




12.9k21139












  • And if you have for example 4000 features, does QGIS uses 10% of 4000 features (so 400) or it uses up to 3000 features?

    – Gob Tron
    Feb 11 at 17:17






  • 1





    it will take the largest between 3000 features or a random 10% of the data

    – J.R
    Feb 11 at 17:19











  • Ah! I read it wrong the first time.

    – Gob Tron
    Feb 11 at 17:20











  • @GobTron I have clarified it. It will take 3000 random features

    – JGH
    Feb 11 at 17:25

















  • And if you have for example 4000 features, does QGIS uses 10% of 4000 features (so 400) or it uses up to 3000 features?

    – Gob Tron
    Feb 11 at 17:17






  • 1





    it will take the largest between 3000 features or a random 10% of the data

    – J.R
    Feb 11 at 17:19











  • Ah! I read it wrong the first time.

    – Gob Tron
    Feb 11 at 17:20











  • @GobTron I have clarified it. It will take 3000 random features

    – JGH
    Feb 11 at 17:25
















And if you have for example 4000 features, does QGIS uses 10% of 4000 features (so 400) or it uses up to 3000 features?

– Gob Tron
Feb 11 at 17:17





And if you have for example 4000 features, does QGIS uses 10% of 4000 features (so 400) or it uses up to 3000 features?

– Gob Tron
Feb 11 at 17:17




1




1





it will take the largest between 3000 features or a random 10% of the data

– J.R
Feb 11 at 17:19





it will take the largest between 3000 features or a random 10% of the data

– J.R
Feb 11 at 17:19













Ah! I read it wrong the first time.

– Gob Tron
Feb 11 at 17:20





Ah! I read it wrong the first time.

– Gob Tron
Feb 11 at 17:20













@GobTron I have clarified it. It will take 3000 random features

– JGH
Feb 11 at 17:25





@GobTron I have clarified it. It will take 3000 random features

– JGH
Feb 11 at 17:25

















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%2f311785%2fqgis-gratuated-symbology-gives-differents-results-on-every-classification-with-n%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

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay