[Qgis-developer] Remaining work to get rid of old labeling?

Sandro Santilli strk at keybit.net
Sun Nov 18 15:09:08 PST 2012


On Sun, Nov 18, 2012 at 03:22:59PM -0700, Larry Shaffer wrote:

> -------------------->8====
> About 5): Once the old engine's gui is gone, what about users who open
> a project still using the old labeling? Should the app just prompt
> them that there are affected layers and to re-label them using the new
> engine, or should there be a function/dialog added that offers to
> attempt to automatically port those layers over to the new engine?
> 
> The latter might not be too hard since the old engine basically just
> labeled points; and, I believe, all of those old settings should port
> over to the new Offset settings. The only similar placement missing is
> how line layers were labeled in old engine is not present in new
> engine. The 'Horizontal' placement in new engine for line labels does
> not work the same, and does not support the quadrant/x/y offsets. I
> can add the proposed 'Midpoint' placement (see previously noted [1]
> list) which would essentially be identical to old engine, or better,
> add such functionality to the existing Horizontal placement.
> 
> Then, auto-porting of old to new engine layers would be possible.
> Whether the old-to-new labels will look identical and be placed the
> same is another issue. Though, I don't think very much development
> effort should be expended on making them look exactly the same.
> 
> ====8<----------------------------

I think auto-porting should be the aim here, so welcome any addition 
to the new labeling framework that makes this possible. Ideally with
as close as possible look & performance.

--strk; 

 http://www.cartodb.com - Map, analyze and build applications with your data

                                       ~~ http://strk.keybit.net 



More information about the Qgis-developer mailing list