Bug report #13556

Discourage other labels from covering feature in this layer slow

Added by Jeremy Palmer about 9 years ago. Updated about 9 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:-
Affected QGIS version:master Regression?:No
Operating System:MacOSX Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:21598

Description

I've just been playing with the "Discourage other labels from covering feature in this layer" feature and noticed it's really slow when the using country polygons as the obstacle layer for the labels. Is there a potential optimisation for this? I have an example project here which demos what I'm talking about:

https://dl.dropboxusercontent.com/u/30623980/qgis_label_test.zip

Associated revisions

Revision b384f18a
Added by Nyall Dawson about 9 years ago

Followup f9fa9793, avoid expensive intersection calculation when
testing label candidates against polygon obstacles

Fix #13556

Revision b9326a5b
Added by Nyall Dawson about 9 years ago

Followup f9fa9793, avoid expensive intersection calculation when
testing label candidates against polygon obstacles

Fix #13556

(cherry-picked from b384f18a3dc38305dcfe4673f9c5353e80104053)

History

#1 Updated by Saber Razmjooei about 9 years ago

It is very slow on debian too. I also turned off the option for "Discourage other labels from covering feature in this layer" and the rendering is still slow compared with 2.8

#2 Updated by Giovanni Manghi about 9 years ago

  • Target version deleted (Version 2.12)

#3 Updated by Nyall Dawson about 9 years ago

  • Assignee deleted (Nyall Dawson)

#4 Updated by Nyall Dawson about 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF