[Qgis-developer] Geometry modifiers for labeling

Andreas Neumann a.neumann at carto.net
Wed Jan 13 05:09:53 PST 2016

Hi Mathieu,

That's cool - I haven't thought about the font markers. I thought they 
can only display a single character - but apparently, with data-defined 
characters you can also have more than one character and expressions. 
Quite powerful!

I tested it with start and end markers and it works fine!

The only drawback is that labels appear up-side-down - something that 
the label engine takes care of.


On 13.01.2016 13:59, Mathieu Pellerin wrote:
> Andreas,
> As an useful alternative to labels for short strings (ie a few 
> characters), you can use the font marker with a data-defined character(s).
> M
> On 13 Jan 2016 19:07, "Andreas Neumann" <a.neumann at carto.net 
> <mailto:a.neumann at carto.net>> wrote:
>     Hi,
>     I wonder if the recently added geometry modifiers could be
>     introduced also for labeling in a future QGIS release?
>     Use case:
>     Label a linear feature multiple times with different label text.
>     E.g. a label at the beginning of the line, a label somewhere along
>     the feature, and a different label at the end of the line.
>     @Matthias: this would be for the waste-water management
>     application where we need a main label and two minor levels at
>     certain map scales numbering the pipes/reaches flowing into a
>     manhole or special structure.
>     Andreas
>     _______________________________________________
>     Qgis-developer mailing list
>     Qgis-developer at lists.osgeo.org <mailto:Qgis-developer at lists.osgeo.org>
>     List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>     Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160113/4cbe1e33/attachment.html>

More information about the Qgis-developer mailing list