Feature request #6757

[Patch] Abort classification upon high number of classes

Added by Simon Legner about 12 years ago. Updated about 12 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:GUI
Pull Request or Patch supplied:No Resolution:fixed
Easy fix?:No Copied to github as #:15913

Description

Accidentally classifying a vector layer (categorized style) on an id column (with >99k unique entries) resulted in high CPU load and QGIS frozen.
I suggest to present a warning dialog when more than 1000 unique values are present and ask the user whether to continue. Patch attached – please check for usage of correct terminology.

too_many_classes.patch Magnifier (1008 Bytes) Simon Legner, 2012-11-25 03:12 AM

History

#1 Updated by Simon Legner about 12 years ago

I opened a pull request on GitHub https://github.com/qgis/Quantum-GIS/pull/338

#2 Updated by Nathan Woodrow about 12 years ago

  • Resolution set to fixed

Merged in 9f71d9f

#3 Updated by Giuseppe Sucameli about 12 years ago

  • Status changed from Open to Closed

You forgot to close the ticket :)

Also available in: Atom PDF