[Qgis-user] Different font styles for different label classes

Jonathan Moules jonathanmoules at warwickshire.gov.uk
Thu Aug 16 10:31:13 PDT 2012


Hi List,
I have a single layer I'd like to label in such a way that different
attributes will get different font styles. For example, a water based label
would have the Style attribute "waterText", and would be styled as blue
italics. Another label might have a Style attribute of "heritigateText" and
be in bold black. (For reference: ArcGIS calls these "classes")
I've looked at both of the labelling engines that come as default with QGIS
but can't see any obvious way to do this in either.
The closest I can find is copying the dataset as many new layers and using
the "subset" query builder for each layer before then labelling the entire
layer. But that's obviouslly quite cludgy.

Can QGIS do this?
Thanks,
Jonathan


This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us,  including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120816/40e736b5/attachment.html>


More information about the Qgis-user mailing list