You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Jenks is n^2 complexity, warn for big dataset (more than 50k records)
487
+
// and give the user the chance to cancel
488
+
if ( QgsGraduatedSymbolRendererV2::Jenks == mode
489
+
&& mLayer->featureCount() > 50000 )
490
+
{
491
+
if ( QMessageBox::Cancel == QMessageBox::question( this, tr( "Warning" ), tr( "Natural break classification (Jenks) is O(n2) complexity, your classification may take a long time." ), QMessageBox::Cancel, QMessageBox::Ok ) ) return;
0 commit comments