Hi Borys

I need to FAST put ANY labels to see what is in polygons.

Couldn't you just use 'around center' then? Afaik the old labeling engine also does placement just on polygon centroid.

If the label has to be inside the polygon (horizontal and free placement mode): The problem here is not the collision detection. It is the calculation of cost for the candiated positions that takes most of the time. I have an open pull request that simplifies the approach and increases speed (https://github.com/qgis/Quantum-GIS/pull/640). Still it is of course slower than centroid placement, but the middle point of the label position is guaranteed to be inside the polygon.

To improve the speed of label drawing (especially with buffer), I'm working on a label cache (characters cached as images). But that one is too risky for 2.0 and I still need to do various bugfixes before publishing it.

Regards,
Marco

Am 09.06.2013 12:47, schrieb Borys Jurgiel:
The only thing I *REALLY* miss in the new labelling is an optional FAST method
to put labels just in poligon centroids with ommiting any expensive collision
algorithms. When just browsing data the speed is priority, I don't need
beautiful map, I need to FAST put ANY labels to see what is in polygons.

Unless it's not available in the new labelling, we make a regression, removing
one of the most fundamental features. Please correct me if I'm missed some PAL
option that I can disable to achieve a significant boost.


Dnia niedziela, 9 czerwca 2013 o 12:13:01 MORREALE Jean Roc napisał(a):
What is the status ? Are we going to keep a deprecated label tab for the
next 3 years ?

Le 26/05/2013 14:37, Nathan Woodrow a écrit :
Can we finally remove the old label UI from the layer properties dialog?

   Could we remove it by default and just enable it for old project that

have old labels defined.

- Nathan
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer


--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
[email protected] http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee

_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to