[Qgis-developer] Geometry modifiers for labeling

Matthias Kuhn matthias at opengis.ch
Wed Jan 13 06:01:58 PST 2016


Good to know.

So that should work find with my previous recommendation of using
"Placement" -> "Data Defined"?

On 01/13/2016 02:59 PM, Andreas Neumann wrote:
> Hi Matthias,
>
> You can just add several rules that all apply at the same time (e.g.
> two times an empty rule only bound by map scale ranges).
>
> In the placement options use one time "above line", and the other time
> " below line".
>
> This works fine. See screenshot at
> http://www.carto.net/neumann/temp/label_multiple_times.png
>
> The workaround with font-markers from Matthieu works fine, but it is
> ugly that the labels can be up-side-down.
>
> Andreas
>
> On 13.01.2016 14:45, Matthias Kuhn wrote:
>> Hi Andreas
>>
>> On 01/13/2016 01:59 PM, Andreas Neumann wrote:
>>> Hi Matthias,
>>>
>>> Yes - with the new rule-based renderer we can label a line several
>>> times
>>> - e.g. have one label above the line and another with another label
>>> text
>>> below the line.
>> I can't find the possibility to label the same feature twice, only
>> different labeling rules for different features.
>> But I guess you can use "data defined placement" instead of "above" or
>> "below"?
>>
>> Matthias
>> _______________________________________________
>> Qgis-developer mailing list
>> 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
>
> _______________________________________________
> Qgis-developer mailing list
> 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

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160113/e20bbae3/attachment-0001.sig>


More information about the Qgis-developer mailing list