<div dir="ltr"><div><div><div>Hi,<br><br></div><div>Ok, I'm going to do what I can in the next week, then put it up for review for inclusion in 2.0.<br></div><div><br></div>Note that these changes to the labeling engine will also work well when moving to styles and rule-based labeling. When that happens (I think a definite main goal for 2.1) then pretty much most of the current labeling gui and supporting gui logic will be tossed out (all except for small widget groupings), in favor of the symbology-ng gui approach. So, while some of the work I'm doing is redundant, it will be good to have the background features in use and to garner user feedback. Hard telling how long it will be until 2.1. :^)<br>
<br></div>Also, thanks to Tim for starting this with his commits a while back for road shields [0], which I used for reference.<br><br>[0] <a href="https://github.com/timlinux/Quantum-GIS/commits/shield-labels">https://github.com/timlinux/Quantum-GIS/commits/shield-labels</a><br>
<br></div><div>Regards,<br></div><div><br></div>Larry<br><div><div><div><div><br><div class="gmail_extra"><div class="gmail_quote">On Sat, Mar 30, 2013 at 12:18 PM, Andreas Neumann <span dir="ltr"><<a href="mailto:a.neumann@carto.net" target="_blank">a.neumann@carto.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I'd love to have these label backgrounds and drop shadows in QGIS 2.0.<br>
Makes sense to me to include this work despite feature freeze since a<br>
major effort was made already to improve labeling in QGIS 2.0.<br>
<br>
so +1 from my side.<br>
<br>
Thank you for your work, Larry.<br>
<br>
Andreas<br>
<br>
Am 30.03.2013 12:32, schrieb Larry Shaffer:<br>
> Hi,<br>
><br>
> In an effort to bring a basic label background feature into 2.0 before for<br>
> the freeze, I figured out a good approach that makes adding label<br>
> backgrounds much easier (better late than never, I suppose) [0]. This means<br>
> that adding SVGs and drop shadows for label backgrounds is only an extra<br>
> couple of days of work.<br>
><br>
> Here's a preliminary gui setup [1] (not all may be implemented, but most<br>
> can easily be).<br>
><br>
> An example of generic rounded-corner rectangles (a la web mapping and many<br>
> road shields) with a bit of x/y offset to nicely center the text [2].<br>
><br>
> And, an example of the 'centering' of the background relative to the label<br>
> contents (background rotated 90 deg relative to text) [3], regardless of<br>
> label's offset placement (see pink-text label next to point feature). This<br>
> is a crucial feature for integrating many types of backgrounds.<br>
><br>
> Both examples also show one issue: while labels don't overlap due to<br>
> collision management, their backgrounds might overlap each other or<br>
> previously drawn label text. I believe this is fixable, though I don't know<br>
> how long it will take, off hand.<br>
><br>
> So... basically, I'm asking those who make decisions whether I can work for<br>
> another week on this feature, for inclusion in 2.0.<br>
><br>
> [0] <a href="https://github.com/dakcarto/Quantum-GIS/commits/labeling_bkgrd-symbols_3" target="_blank">https://github.com/dakcarto/Quantum-GIS/commits/labeling_bkgrd-symbols_3</a><br>
> [1] <a href="http://drive.dakotacarto.com/qgis/labeling_background-gui.png" target="_blank">http://drive.dakotacarto.com/qgis/labeling_background-gui.png</a><br>
> [2] <a href="http://drive.dakotacarto.com/qgis/labeling_background-rounded.png" target="_blank">http://drive.dakotacarto.com/qgis/labeling_background-rounded.png</a><br>
> [3] <a href="http://drive.dakotacarto.com/qgis/labeling_background-rotation.png" target="_blank">http://drive.dakotacarto.com/qgis/labeling_background-rotation.png</a><br>
><br>
> Regards,<br>
><br>
> Larry Shaffer<br>
> Dakota Cartography<br>
> Black Hills, South Dakota<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Qgis-developer mailing list<br>
> <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
><br>
<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br></div></div></div></div></div></div>