Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Classes in Natural Braeks (Jenks) Symbology #15809

Closed
qgib opened this issue Nov 5, 2012 · 5 comments
Closed

Classes in Natural Braeks (Jenks) Symbology #15809

qgib opened this issue Nov 5, 2012 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers

Comments

@qgib
Copy link
Contributor

qgib commented Nov 5, 2012

Author Name: Diego Mo (Diego Mo)
Original Redmine Issue: 6625
Affected QGIS version: 1.8.0
Redmine category:symbology


Symbology of a vector layer (shapefile in the test case)--> Graduated Renderer --> Natural Breaks (Jenks) mode.
It seems that Quantum GIS (version 1.8 on WIN XP, using new simbology) propose different intervals (using the same column and number of classes) each time you classify features.

@qgib
Copy link
Contributor Author

qgib commented Feb 22, 2013

Author Name: Regis Haubourg (@haubourg)


Yes, confirmed here, and it looks like a n / n-1 array bounds error.
Needs to be confirmed again in 1.9 when classification regression will be solved (#16237)

@qgib
Copy link
Contributor Author

qgib commented Mar 4, 2013

Author Name: Nyall Dawson (@nyalldawson)


I can't replicate this in current master -- do you have a test dataset which shows the issue?

@qgib
Copy link
Contributor Author

qgib commented Mar 5, 2013

Author Name: Diego Mo (Diego Mo)


As test case you can use toponomastica_10000_geo.shp (field ROTAZIONE) that you can download from
http://www.comune.torino.it/geoportale/dati/carta_sintesi_shp.zip
The pubblication page is http://www.comune.torino.it/geoportale/ser_professionali_2.htm
The problem seems to happen both in Qgis 1.8 and Master(release 2a4d79d)

@qgib
Copy link
Contributor Author

qgib commented Mar 5, 2013

Author Name: Nyall Dawson (@nyalldawson)


Actually after looking into it this is the intended behaviour -- in order to speed up the calculation the natural breaks classifier takes a random sample from a layer which has a large number of rows (> 1000 rows). When a layer has more than 1000 rows, a random sample of either 1000 values or 10% of the dataset (whichever is larger) is used to calculate the breaks.

@qgib
Copy link
Contributor Author

qgib commented Mar 11, 2013

Author Name: Nyall Dawson (@nyalldawson)


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

No branches or pull requests

1 participant